فهرست منبع

Extract strings

Neeraj Gupta 1 سال پیش
والد
کامیت
e64bfafa8f
4فایلهای تغییر یافته به همراه15 افزوده شده و 2 حذف شده
  1. 2 0
      lib/generated/intl/messages_en.dart
  2. 10 0
      lib/generated/l10n.dart
  3. 2 1
      lib/l10n/intl_en.arb
  4. 1 1
      lib/ui/viewer/gallery/gallery_app_bar_widget.dart

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

@@ -554,6 +554,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "details": MessageLookupByLibrary.simpleMessage("Details"),
         "devAccountChanged": MessageLookupByLibrary.simpleMessage(
             "The developer account we use to publish ente on App Store has changed. Because of this, you will need to login again.\n\nOur apologies for the inconvenience, but this was unavoidable."),
+        "deviceCodeHint":
+            MessageLookupByLibrary.simpleMessage("Enter the code"),
         "deviceFilesAutoUploading": MessageLookupByLibrary.simpleMessage(
             "Files added to this device album will automatically get uploaded to ente."),
         "deviceLockExplanation": MessageLookupByLibrary.simpleMessage(

+ 10 - 0
lib/generated/l10n.dart

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

+ 2 - 1
lib/l10n/intl_en.arb

@@ -1191,5 +1191,6 @@
   "playOnTv": "Play album on TV",
   "pair": "Pair",
   "deviceNotFound": "Device not found",
-  "castInstruction": "Visit cast.ente.io on the device you want to pair.\n\nEnter the code below to play the album on your TV."
+  "castInstruction": "Visit cast.ente.io on the device you want to pair.\n\nEnter the code below to play the album on your TV.",
+  "deviceCodeHint": "Enter the code"
 }

+ 1 - 1
lib/ui/viewer/gallery/gallery_app_bar_widget.dart

@@ -832,7 +832,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
       body: S.of(context).castInstruction,
       submitButtonLabel: S.of(context).pair,
       textInputType: TextInputType.streetAddress,
-      hintText: "Enter the code",
+      hintText: context.l10n.deviceCodeHint,
       onSubmit: (String text) async {
         try {
           String code = text.trim();