浏览代码

Revert "extract string"

This reverts commit aa126cdba4630896a8312e062d9453a5f6326549.
ashilkn 1 年之前
父节点
当前提交
57dc3742ca

+ 0 - 10
lib/generated/l10n.dart

@@ -8307,16 +8307,6 @@ class S {
       args: [],
       args: [],
     );
     );
   }
   }
-
-  /// `Memories`
-  String get memories {
-    return Intl.message(
-      'Memories',
-      name: 'memories',
-      desc: '',
-      args: [],
-    );
-  }
 }
 }
 
 
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {

+ 1 - 2
lib/l10n/intl_cs.arb

@@ -10,6 +10,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_de.arb

@@ -1178,6 +1178,5 @@
   "selectALocationFirst": "Wähle zuerst einen Standort",
   "selectALocationFirst": "Wähle zuerst einen Standort",
   "changeLocationOfSelectedItems": "Standort der gewählten Elemente ändern?",
   "changeLocationOfSelectedItems": "Standort der gewählten Elemente ändern?",
   "editsToLocationWillOnlyBeSeenWithinEnte": "Änderungen des Standorts werden nur in ente sichtbar sein",
   "editsToLocationWillOnlyBeSeenWithinEnte": "Änderungen des Standorts werden nur in ente sichtbar sein",
-  "cleanUncategorized": "Unkategorisiert leeren",
-  "memories": "Memories"
+  "cleanUncategorized": "Unkategorisiert leeren"
 }
 }

+ 2 - 3
lib/l10n/intl_en.arb

@@ -1187,6 +1187,5 @@
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
   "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "cleanUncategorized": "Clean Uncategorized",
-  "memories": "Memories"
-}
+  "cleanUncategorized": "Clean Uncategorized"
+}

+ 1 - 2
lib/l10n/intl_es.arb

@@ -973,6 +973,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_fr.arb

@@ -1154,6 +1154,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_it.arb

@@ -1116,6 +1116,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_ko.arb

@@ -10,6 +10,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_nl.arb

@@ -1163,6 +1163,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_no.arb

@@ -24,6 +24,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_pl.arb

@@ -111,6 +111,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_pt.arb

@@ -277,6 +277,5 @@
   "selectALocation": "Select a location",
   "selectALocation": "Select a location",
   "selectALocationFirst": "Select a location first",
   "selectALocationFirst": "Select a location first",
   "changeLocationOfSelectedItems": "Change location of selected items?",
   "changeLocationOfSelectedItems": "Change location of selected items?",
-  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
-  "memories": "Memories"
+  "editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
 }
 }

+ 1 - 2
lib/l10n/intl_zh.arb

@@ -1186,6 +1186,5 @@
   "selectALocationFirst": "首先选择一个位置",
   "selectALocationFirst": "首先选择一个位置",
   "changeLocationOfSelectedItems": "确定要更改所选项目的位置吗?",
   "changeLocationOfSelectedItems": "确定要更改所选项目的位置吗?",
   "editsToLocationWillOnlyBeSeenWithinEnte": "对位置的编辑只能在 Ente 内看到",
   "editsToLocationWillOnlyBeSeenWithinEnte": "对位置的编辑只能在 Ente 内看到",
-  "cleanUncategorized": "清除未分类的",
-  "memories": "Memories"
+  "cleanUncategorized": "清除未分类的"
 }
 }

+ 1 - 2
lib/ui/home/memories/memories_widget.dart

@@ -3,7 +3,6 @@ import "dart:async";
 import 'package:flutter/material.dart';
 import 'package:flutter/material.dart';
 import "package:photos/core/event_bus.dart";
 import "package:photos/core/event_bus.dart";
 import "package:photos/events/memories_setting_changed.dart";
 import "package:photos/events/memories_setting_changed.dart";
-import "package:photos/generated/l10n.dart";
 import 'package:photos/models/memory.dart';
 import 'package:photos/models/memory.dart';
 import 'package:photos/services/memories_service.dart';
 import 'package:photos/services/memories_service.dart';
 import "package:photos/theme/ente_theme.dart";
 import "package:photos/theme/ente_theme.dart";
@@ -69,7 +68,7 @@ class _MemoriesWidgetState extends State<MemoriesWidget> {
                     Padding(
                     Padding(
                       padding: const EdgeInsets.only(right: 16),
                       padding: const EdgeInsets.only(right: 16),
                       child: Text(
                       child: Text(
-                        S.of(context).memories,
+                        "Memories",
                         style: getEnteTextTheme(context).body,
                         style: getEnteTextTheme(context).body,
                       ),
                       ),
                     ),
                     ),