Browse Source

l10n: Extract strings

Neeraj Gupta 2 years ago
parent
commit
c6b0c28a3e

+ 2 - 0
lib/generated/intl/messages_en.dart

@@ -513,6 +513,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "dropSupportEmail": m6,
         "dropSupportEmail": m6,
         "duplicateFileCountWithStorageSaved": m7,
         "duplicateFileCountWithStorageSaved": m7,
         "edit": MessageLookupByLibrary.simpleMessage("Edit"),
         "edit": MessageLookupByLibrary.simpleMessage("Edit"),
+        "editLocationTagTitle":
+            MessageLookupByLibrary.simpleMessage("Edit location"),
         "editsSaved": MessageLookupByLibrary.simpleMessage("Edits saved"),
         "editsSaved": MessageLookupByLibrary.simpleMessage("Edits saved"),
         "eligible": MessageLookupByLibrary.simpleMessage("eligible"),
         "eligible": MessageLookupByLibrary.simpleMessage("eligible"),
         "email": MessageLookupByLibrary.simpleMessage("Email"),
         "email": MessageLookupByLibrary.simpleMessage("Email"),

+ 10 - 0
lib/generated/l10n.dart

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

+ 2 - 1
lib/l10n/intl_en.arb

@@ -969,5 +969,6 @@
   "freeStorageSpace" : "{freeAmount} {storageUnit} free",
   "freeStorageSpace" : "{freeAmount} {storageUnit} free",
   "appVersion": "Version: {versionValue}",
   "appVersion": "Version: {versionValue}",
   "verifyIDLabel" : "Verify",
   "verifyIDLabel" : "Verify",
-  "fileInfoAddDescHint": "Add a description..."
+  "fileInfoAddDescHint": "Add a description...",
+  "editLocationTagTitle": "Edit location"
 }
 }

+ 9 - 4
lib/ui/viewer/location/edit_location_sheet.dart

@@ -95,10 +95,12 @@ class _EditLocationSheetState extends State<EditLocationSheet> {
       padding: const EdgeInsets.fromLTRB(0, 32, 0, 8),
       padding: const EdgeInsets.fromLTRB(0, 32, 0, 8),
       child: Column(
       child: Column(
         children: [
         children: [
-          const Padding(
-            padding: EdgeInsets.only(bottom: 16),
+          Padding(
+            padding: const EdgeInsets.only(bottom: 16),
             child: BottomOfTitleBarWidget(
             child: BottomOfTitleBarWidget(
-              title: TitleBarTitleWidget(title: "Edit location"),
+              title: TitleBarTitleWidget(
+                title: S.of(context).editLocationTagTitle,
+              ),
             ),
             ),
           ),
           ),
           Expanded(
           Expanded(
@@ -196,7 +198,10 @@ class _EditLocationSheetState extends State<EditLocationSheet> {
                               crossAxisAlignment: CrossAxisAlignment.start,
                               crossAxisAlignment: CrossAxisAlignment.start,
                               children: [
                               children: [
                                 Text(
                                 Text(
-                                  S.of(context).memoryCount(value,  NumberFormat().format(value)),
+                                  S.of(context).memoryCount(
+                                        value,
+                                        NumberFormat().format(value),
+                                      ),
                                   style: textTheme.body,
                                   style: textTheme.body,
                                 ),
                                 ),
                                 if (value > 1000)
                                 if (value > 1000)