Pārlūkot izejas kodu

l10n: NewSharedCollectionsGallery strings

Neeraj Gupta 2 gadi atpakaļ
vecāks
revīzija
1d2adb55a9

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

@@ -168,6 +168,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Allow adding photos"),
             MessageLookupByLibrary.simpleMessage("Allow adding photos"),
         "allowDownloads":
         "allowDownloads":
             MessageLookupByLibrary.simpleMessage("Allow downloads"),
             MessageLookupByLibrary.simpleMessage("Allow downloads"),
+        "allowPeopleToAddPhotos":
+            MessageLookupByLibrary.simpleMessage("Allow people to add photos"),
         "and": MessageLookupByLibrary.simpleMessage("and"),
         "and": MessageLookupByLibrary.simpleMessage("and"),
         "androidIosWebDesktop":
         "androidIosWebDesktop":
             MessageLookupByLibrary.simpleMessage("Android, iOS, Web, Desktop"),
             MessageLookupByLibrary.simpleMessage("Android, iOS, Web, Desktop"),
@@ -265,6 +267,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "collaboratorsCanAddPhotosAndVideosToTheSharedAlbum":
         "collaboratorsCanAddPhotosAndVideosToTheSharedAlbum":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "Collaborators can add photos and videos to the shared album."),
                 "Collaborators can add photos and videos to the shared album."),
+        "collectEventPhotos":
+            MessageLookupByLibrary.simpleMessage("Collect event photos"),
         "collectPhotos": MessageLookupByLibrary.simpleMessage("Collect photos"),
         "collectPhotos": MessageLookupByLibrary.simpleMessage("Collect photos"),
         "confirm": MessageLookupByLibrary.simpleMessage("Confirm"),
         "confirm": MessageLookupByLibrary.simpleMessage("Confirm"),
         "confirm2FADisable": MessageLookupByLibrary.simpleMessage(
         "confirm2FADisable": MessageLookupByLibrary.simpleMessage(
@@ -582,6 +586,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Privacy Policy"),
             MessageLookupByLibrary.simpleMessage("Privacy Policy"),
         "privateBackups":
         "privateBackups":
             MessageLookupByLibrary.simpleMessage("Private backups"),
             MessageLookupByLibrary.simpleMessage("Private backups"),
+        "privateSharing":
+            MessageLookupByLibrary.simpleMessage("Private sharing"),
         "publicLinkEnabled":
         "publicLinkEnabled":
             MessageLookupByLibrary.simpleMessage("Public link enabled"),
             MessageLookupByLibrary.simpleMessage("Public link enabled"),
         "raiseTicket": MessageLookupByLibrary.simpleMessage("Raise ticket"),
         "raiseTicket": MessageLookupByLibrary.simpleMessage("Raise ticket"),
@@ -680,7 +686,11 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Set password"),
             MessageLookupByLibrary.simpleMessage("Set password"),
         "setupComplete": MessageLookupByLibrary.simpleMessage("Setup complete"),
         "setupComplete": MessageLookupByLibrary.simpleMessage("Setup complete"),
         "shareALink": MessageLookupByLibrary.simpleMessage("Share a link"),
         "shareALink": MessageLookupByLibrary.simpleMessage("Share a link"),
+        "shareAnAlbumNow":
+            MessageLookupByLibrary.simpleMessage("Share an album now"),
         "shareMyVerificationID": m23,
         "shareMyVerificationID": m23,
+        "shareOnlyWithThePeopleYouWant": MessageLookupByLibrary.simpleMessage(
+            "Share only with the people you want"),
         "shareTextConfirmOthersVerificationID": m24,
         "shareTextConfirmOthersVerificationID": m24,
         "shareTextRecommendUsingEnte": MessageLookupByLibrary.simpleMessage(
         "shareTextRecommendUsingEnte": MessageLookupByLibrary.simpleMessage(
             "Download ente so we can easily share original quality photos and videos\n\nhttps://ente.io/#download"),
             "Download ente so we can easily share original quality photos and videos\n\nhttps://ente.io/#download"),
@@ -784,6 +794,9 @@ class MessageLookup extends MessageLookupByLibrary {
         "upgrade": MessageLookupByLibrary.simpleMessage("Upgrade"),
         "upgrade": MessageLookupByLibrary.simpleMessage("Upgrade"),
         "usableReferralStorageInfo": MessageLookupByLibrary.simpleMessage(
         "usableReferralStorageInfo": MessageLookupByLibrary.simpleMessage(
             "Usable storage is limited by your current plan. Excess claimed storage will automatically become usable when you upgrade your plan."),
             "Usable storage is limited by your current plan. Excess claimed storage will automatically become usable when you upgrade your plan."),
+        "usePublicLinksForPeopleNotOnEnte":
+            MessageLookupByLibrary.simpleMessage(
+                "Use public links for people not on ente"),
         "useRecoveryKey":
         "useRecoveryKey":
             MessageLookupByLibrary.simpleMessage("Use recovery key"),
             MessageLookupByLibrary.simpleMessage("Use recovery key"),
         "verificationId":
         "verificationId":

+ 60 - 0
lib/generated/l10n.dart

@@ -4642,6 +4642,66 @@ class S {
       args: [],
       args: [],
     );
     );
   }
   }
+
+  /// `Private sharing`
+  String get privateSharing {
+    return Intl.message(
+      'Private sharing',
+      name: 'privateSharing',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Share only with the people you want`
+  String get shareOnlyWithThePeopleYouWant {
+    return Intl.message(
+      'Share only with the people you want',
+      name: 'shareOnlyWithThePeopleYouWant',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Use public links for people not on ente`
+  String get usePublicLinksForPeopleNotOnEnte {
+    return Intl.message(
+      'Use public links for people not on ente',
+      name: 'usePublicLinksForPeopleNotOnEnte',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Allow people to add photos`
+  String get allowPeopleToAddPhotos {
+    return Intl.message(
+      'Allow people to add photos',
+      name: 'allowPeopleToAddPhotos',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Share an album now`
+  String get shareAnAlbumNow {
+    return Intl.message(
+      'Share an album now',
+      name: 'shareAnAlbumNow',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Collect event photos`
+  String get collectEventPhotos {
+    return Intl.message(
+      'Collect event photos',
+      name: 'collectEventPhotos',
+      desc: '',
+      args: [],
+    );
+  }
 }
 }
 
 
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {

+ 7 - 1
lib/l10n/intl_en.arb

@@ -665,5 +665,11 @@
   "backupFailed": "Backup failed",
   "backupFailed": "Backup failed",
   "couldNotBackUpTryLater": "We could not backup your data.\nWe will retry later.",
   "couldNotBackUpTryLater": "We could not backup your data.\nWe will retry later.",
   "enteCanEncryptAndPreserveFilesOnlyIfYouGrant": "ente can encrypt and preserve files only if you grant access to them",
   "enteCanEncryptAndPreserveFilesOnlyIfYouGrant": "ente can encrypt and preserve files only if you grant access to them",
-  "pleaseGrantPermissions": "Please grant permissions"
+  "pleaseGrantPermissions": "Please grant permissions",
+  "privateSharing": "Private sharing",
+  "shareOnlyWithThePeopleYouWant": "Share only with the people you want",
+  "usePublicLinksForPeopleNotOnEnte": "Use public links for people not on ente",
+  "allowPeopleToAddPhotos": "Allow people to add photos",
+  "shareAnAlbumNow": "Share an album now",
+  "collectEventPhotos": "Collect event photos"
 }
 }

+ 12 - 11
lib/ui/new_shared_collections_gallery.dart

@@ -1,5 +1,6 @@
 import "package:flutter/material.dart";
 import "package:flutter/material.dart";
 import "package:photos/core/constants.dart";
 import "package:photos/core/constants.dart";
+import "package:photos/generated/l10n.dart";
 import "package:photos/theme/ente_theme.dart";
 import "package:photos/theme/ente_theme.dart";
 import "package:photos/ui/collection_action_sheet.dart";
 import "package:photos/ui/collection_action_sheet.dart";
 import 'package:photos/ui/components/buttons/button_widget.dart';
 import 'package:photos/ui/components/buttons/button_widget.dart';
@@ -44,24 +45,24 @@ class EmptyStateWidget extends StatelessWidget {
                   crossAxisAlignment: CrossAxisAlignment.start,
                   crossAxisAlignment: CrossAxisAlignment.start,
                   children: [
                   children: [
                     Text(
                     Text(
-                      "Private sharing",
+                      S.of(context).privateSharing,
                       style: textTheme.h3Bold,
                       style: textTheme.h3Bold,
                       textAlign: TextAlign.start,
                       textAlign: TextAlign.start,
                     ),
                     ),
                     const SizedBox(height: 24),
                     const SizedBox(height: 24),
                     Column(
                     Column(
                       mainAxisSize: MainAxisSize.min,
                       mainAxisSize: MainAxisSize.min,
-                      children: const [
+                      children: [
                         EmptyStateItemWidget(
                         EmptyStateItemWidget(
-                          "Share only with the people you want",
+                          S.of(context).shareOnlyWithThePeopleYouWant,
                         ),
                         ),
-                        SizedBox(height: 12),
+                        const SizedBox(height: 12),
                         EmptyStateItemWidget(
                         EmptyStateItemWidget(
-                          "Use public links for people not on ente",
+                          S.of(context).usePublicLinksForPeopleNotOnEnte,
                         ),
                         ),
-                        SizedBox(height: 12),
+                        const SizedBox(height: 12),
                         EmptyStateItemWidget(
                         EmptyStateItemWidget(
-                          "Allow people to add photos",
+                          S.of(context).allowPeopleToAddPhotos,
                         ),
                         ),
                       ],
                       ],
                     ),
                     ),
@@ -76,7 +77,7 @@ class EmptyStateWidget extends StatelessWidget {
                   children: [
                   children: [
                     ButtonWidget(
                     ButtonWidget(
                       buttonType: ButtonType.trailingIconPrimary,
                       buttonType: ButtonType.trailingIconPrimary,
-                      labelText: "Share an album now",
+                      labelText: S.of(context).shareAnAlbumNow,
                       icon: Icons.arrow_forward_outlined,
                       icon: Icons.arrow_forward_outlined,
                       onTap: () async {
                       onTap: () async {
                         showCollectionActionSheet(
                         showCollectionActionSheet(
@@ -88,7 +89,7 @@ class EmptyStateWidget extends StatelessWidget {
                     const SizedBox(height: 6),
                     const SizedBox(height: 6),
                     ButtonWidget(
                     ButtonWidget(
                       buttonType: ButtonType.trailingIconSecondary,
                       buttonType: ButtonType.trailingIconSecondary,
-                      labelText: "Collect event photos",
+                      labelText: S.of(context).collectEventPhotos,
                       icon: Icons.add_photo_alternate_outlined,
                       icon: Icons.add_photo_alternate_outlined,
                       onTap: () async {
                       onTap: () async {
                         showCollectionActionSheet(
                         showCollectionActionSheet(
@@ -100,10 +101,10 @@ class EmptyStateWidget extends StatelessWidget {
                     const SizedBox(height: 6),
                     const SizedBox(height: 6),
                     ButtonWidget(
                     ButtonWidget(
                       buttonType: ButtonType.trailingIconSecondary,
                       buttonType: ButtonType.trailingIconSecondary,
-                      labelText: "Invite your friends",
+                      labelText: S.of(context).inviteYourFriends,
                       icon: Icons.ios_share_outlined,
                       icon: Icons.ios_share_outlined,
                       onTap: () async {
                       onTap: () async {
-                        shareText("Check out https://ente.io");
+                        shareText(S.of(context).shareTextRecommendUsingEnte);
                       },
                       },
                     ),
                     ),
                   ],
                   ],