Jelajahi Sumber

l10n: extract strings

Neeraj Gupta 2 tahun lalu
induk
melakukan
2caf759510

+ 39 - 23
lib/generated/intl/messages_en.dart

@@ -117,33 +117,35 @@ class MessageLookup extends MessageLookupByLibrary {
   static String m33(numberOfPeople) =>
   static String m33(numberOfPeople) =>
       "${Intl.plural(numberOfPeople, zero: 'Share with specific people', one: 'Shared with 1 person', other: 'Shared with ${numberOfPeople} people')}";
       "${Intl.plural(numberOfPeople, zero: 'Share with specific people', one: 'Shared with 1 person', other: 'Shared with ${numberOfPeople} people')}";
 
 
-  static String m34(fileType) =>
-      "This ${fileType} will be deleted from your device.";
+  static String m34(emailIDs) => "Shared with ${emailIDs}";
 
 
   static String m35(fileType) =>
   static String m35(fileType) =>
+      "This ${fileType} will be deleted from your device.";
+
+  static String m36(fileType) =>
       "This ${fileType} is in both ente and your device.";
       "This ${fileType} is in both ente and your device.";
 
 
-  static String m36(fileType) => "This ${fileType} will be deleted from ente.";
+  static String m37(fileType) => "This ${fileType} will be deleted from ente.";
 
 
-  static String m37(storageAmountInGB) => "${storageAmountInGB} GB";
+  static String m38(storageAmountInGB) => "${storageAmountInGB} GB";
 
 
-  static String m38(id) =>
+  static String m39(id) =>
       "Your ${id} is already linked to another ente account.\nIf you would like to use your ${id} with this account, please contact our support\'\'";
       "Your ${id} is already linked to another ente account.\nIf you would like to use your ${id} with this account, please contact our support\'\'";
 
 
-  static String m39(endDate) =>
+  static String m40(endDate) =>
       "Your subscription will be cancelled on ${endDate}";
       "Your subscription will be cancelled on ${endDate}";
 
 
-  static String m40(storageAmountInGB) =>
+  static String m41(storageAmountInGB) =>
       "They also get ${storageAmountInGB} GB";
       "They also get ${storageAmountInGB} GB";
 
 
-  static String m41(email) => "This is ${email}\'s Verification ID";
+  static String m42(email) => "This is ${email}\'s Verification ID";
 
 
-  static String m42(email) => "Verify ${email}";
+  static String m43(email) => "Verify ${email}";
 
 
-  static String m43(count) =>
+  static String m44(count) =>
       "${Intl.plural(count, one: '${count} year ago', other: '${count} years ago')}";
       "${Intl.plural(count, one: '${count} year ago', other: '${count} years ago')}";
 
 
-  static String m44(storageSaved) =>
+  static String m45(storageSaved) =>
       "You have successfully freed up ${storageSaved}!";
       "You have successfully freed up ${storageSaved}!";
 
 
   final messages = _notInlinedMessages(_notInlinedMessages);
   final messages = _notInlinedMessages(_notInlinedMessages);
@@ -219,6 +221,8 @@ class MessageLookup extends MessageLookupByLibrary {
             "Your subscription was cancelled. Would you like to share the reason?"),
             "Your subscription was cancelled. Would you like to share the reason?"),
         "askDeleteReason": MessageLookupByLibrary.simpleMessage(
         "askDeleteReason": MessageLookupByLibrary.simpleMessage(
             "What is the main reason you are deleting your account?"),
             "What is the main reason you are deleting your account?"),
+        "askYourLovedOnesToShare": MessageLookupByLibrary.simpleMessage(
+            "Ask your loved ones to share"),
         "atAFalloutShelter":
         "atAFalloutShelter":
             MessageLookupByLibrary.simpleMessage("at a fallout shelter"),
             MessageLookupByLibrary.simpleMessage("at a fallout shelter"),
         "authToChangeLockscreenSetting": MessageLookupByLibrary.simpleMessage(
         "authToChangeLockscreenSetting": MessageLookupByLibrary.simpleMessage(
@@ -412,6 +416,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "discord": MessageLookupByLibrary.simpleMessage("Discord"),
         "discord": MessageLookupByLibrary.simpleMessage("Discord"),
         "doThisLater": MessageLookupByLibrary.simpleMessage("Do this later"),
         "doThisLater": MessageLookupByLibrary.simpleMessage("Do this later"),
         "done": MessageLookupByLibrary.simpleMessage("Done"),
         "done": MessageLookupByLibrary.simpleMessage("Done"),
+        "doubleYourStorage":
+            MessageLookupByLibrary.simpleMessage("Double your storage"),
         "downloading": MessageLookupByLibrary.simpleMessage("Downloading..."),
         "downloading": MessageLookupByLibrary.simpleMessage("Downloading..."),
         "dropSupportEmail": m9,
         "dropSupportEmail": m9,
         "duplicateFileCountWithStorageSaved": m10,
         "duplicateFileCountWithStorageSaved": m10,
@@ -519,6 +525,7 @@ class MessageLookup extends MessageLookupByLibrary {
         "invalidKey": MessageLookupByLibrary.simpleMessage("Invalid key"),
         "invalidKey": MessageLookupByLibrary.simpleMessage("Invalid key"),
         "invalidRecoveryKey": MessageLookupByLibrary.simpleMessage(
         "invalidRecoveryKey": MessageLookupByLibrary.simpleMessage(
             "The recovery key you entered is not valid. Please make sure it "),
             "The recovery key you entered is not valid. Please make sure it "),
+        "invite": MessageLookupByLibrary.simpleMessage("Invite"),
         "inviteToEnte": MessageLookupByLibrary.simpleMessage("Invite to ente"),
         "inviteToEnte": MessageLookupByLibrary.simpleMessage("Invite to ente"),
         "inviteYourFriends":
         "inviteYourFriends":
             MessageLookupByLibrary.simpleMessage("Invite your friends"),
             MessageLookupByLibrary.simpleMessage("Invite your friends"),
@@ -677,6 +684,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "recreatePasswordTitle":
         "recreatePasswordTitle":
             MessageLookupByLibrary.simpleMessage("Recreate password"),
             MessageLookupByLibrary.simpleMessage("Recreate password"),
         "reddit": MessageLookupByLibrary.simpleMessage("Reddit"),
         "reddit": MessageLookupByLibrary.simpleMessage("Reddit"),
+        "referFriendsAnd2xYourPlan": MessageLookupByLibrary.simpleMessage(
+            "Refer friends and 2x your plan"),
         "referralStep1": MessageLookupByLibrary.simpleMessage(
         "referralStep1": MessageLookupByLibrary.simpleMessage(
             "1. Give this code to your friends"),
             "1. Give this code to your friends"),
         "referralStep2": MessageLookupByLibrary.simpleMessage(
         "referralStep2": MessageLookupByLibrary.simpleMessage(
@@ -760,6 +769,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "setupComplete": MessageLookupByLibrary.simpleMessage("Setup complete"),
         "setupComplete": MessageLookupByLibrary.simpleMessage("Setup complete"),
         "share": MessageLookupByLibrary.simpleMessage("Share"),
         "share": MessageLookupByLibrary.simpleMessage("Share"),
         "shareALink": MessageLookupByLibrary.simpleMessage("Share a link"),
         "shareALink": MessageLookupByLibrary.simpleMessage("Share a link"),
+        "shareAlbumHint": MessageLookupByLibrary.simpleMessage(
+            "Open an album and tap the share button on the top right to share."),
         "shareAnAlbumNow":
         "shareAnAlbumNow":
             MessageLookupByLibrary.simpleMessage("Share an album now"),
             MessageLookupByLibrary.simpleMessage("Share an album now"),
         "shareLink": MessageLookupByLibrary.simpleMessage("Share link"),
         "shareLink": MessageLookupByLibrary.simpleMessage("Share link"),
@@ -773,14 +784,19 @@ class MessageLookup extends MessageLookupByLibrary {
         "shareWithNonenteUsers":
         "shareWithNonenteUsers":
             MessageLookupByLibrary.simpleMessage("Share with non-ente users"),
             MessageLookupByLibrary.simpleMessage("Share with non-ente users"),
         "shareWithPeopleSectionTitle": m33,
         "shareWithPeopleSectionTitle": m33,
+        "shareYourFirstAlbum":
+            MessageLookupByLibrary.simpleMessage("Share your first album"),
         "sharedAlbumSectionDescription": MessageLookupByLibrary.simpleMessage(
         "sharedAlbumSectionDescription": MessageLookupByLibrary.simpleMessage(
             "Create shared and collaborative albums with other ente users, including users on free plans."),
             "Create shared and collaborative albums with other ente users, including users on free plans."),
+        "sharedByMe": MessageLookupByLibrary.simpleMessage("Shared by me"),
+        "sharedWith": m34,
+        "sharedWithMe": MessageLookupByLibrary.simpleMessage("Shared with me"),
         "sharing": MessageLookupByLibrary.simpleMessage("Sharing..."),
         "sharing": MessageLookupByLibrary.simpleMessage("Sharing..."),
-        "singleFileDeleteFromDevice": m34,
+        "singleFileDeleteFromDevice": m35,
         "singleFileDeleteHighlight": MessageLookupByLibrary.simpleMessage(
         "singleFileDeleteHighlight": MessageLookupByLibrary.simpleMessage(
             "It will be deleted from all albums."),
             "It will be deleted from all albums."),
-        "singleFileInBothLocalAndRemote": m35,
-        "singleFileInRemoteOnly": m36,
+        "singleFileInBothLocalAndRemote": m36,
+        "singleFileInRemoteOnly": m37,
         "skip": MessageLookupByLibrary.simpleMessage("Skip"),
         "skip": MessageLookupByLibrary.simpleMessage("Skip"),
         "social": MessageLookupByLibrary.simpleMessage("Social"),
         "social": MessageLookupByLibrary.simpleMessage("Social"),
         "someoneSharingAlbumsWithYouShouldSeeTheSameId":
         "someoneSharingAlbumsWithYouShouldSeeTheSameId":
@@ -802,12 +818,12 @@ class MessageLookup extends MessageLookupByLibrary {
                 "Sorry, we could not generate secure keys on this device.\n\nplease sign up from a different device."),
                 "Sorry, we could not generate secure keys on this device.\n\nplease sign up from a different device."),
         "sparkleSuccess": MessageLookupByLibrary.simpleMessage("✨ Success"),
         "sparkleSuccess": MessageLookupByLibrary.simpleMessage("✨ Success"),
         "startBackup": MessageLookupByLibrary.simpleMessage("Start backup"),
         "startBackup": MessageLookupByLibrary.simpleMessage("Start backup"),
-        "storageInGB": m37,
+        "storageInGB": m38,
         "storageLimitExceeded":
         "storageLimitExceeded":
             MessageLookupByLibrary.simpleMessage("Storage limit exceeded"),
             MessageLookupByLibrary.simpleMessage("Storage limit exceeded"),
         "strongStrength": MessageLookupByLibrary.simpleMessage("Strong"),
         "strongStrength": MessageLookupByLibrary.simpleMessage("Strong"),
-        "subAlreadyLinkedErrMessage": m38,
-        "subWillBeCancelledOn": m39,
+        "subAlreadyLinkedErrMessage": m39,
+        "subWillBeCancelledOn": m40,
         "subscribe": MessageLookupByLibrary.simpleMessage("Subscribe"),
         "subscribe": MessageLookupByLibrary.simpleMessage("Subscribe"),
         "subscribeToEnableSharing": MessageLookupByLibrary.simpleMessage(
         "subscribeToEnableSharing": MessageLookupByLibrary.simpleMessage(
             "Looks like your subscription has expired. Please subscribe to enable sharing."),
             "Looks like your subscription has expired. Please subscribe to enable sharing."),
@@ -835,15 +851,15 @@ class MessageLookup extends MessageLookupByLibrary {
         "theDownloadCouldNotBeCompleted": MessageLookupByLibrary.simpleMessage(
         "theDownloadCouldNotBeCompleted": MessageLookupByLibrary.simpleMessage(
             "The download could not be completed"),
             "The download could not be completed"),
         "theme": MessageLookupByLibrary.simpleMessage("Theme"),
         "theme": MessageLookupByLibrary.simpleMessage("Theme"),
-        "theyAlsoGetXGb": m40,
-        "thisAlbumAlreadyHasACollaborativeLink":
+        "theyAlsoGetXGb": m41,
+        "thisAlbumAlreadyHDACollaborativeLink":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "This album already has a collaborative link"),
                 "This album already has a collaborative link"),
         "thisCanBeUsedToRecoverYourAccountIfYou":
         "thisCanBeUsedToRecoverYourAccountIfYou":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "This can be used to recover your account if you lose your second factor"),
                 "This can be used to recover your account if you lose your second factor"),
         "thisDevice": MessageLookupByLibrary.simpleMessage("This device"),
         "thisDevice": MessageLookupByLibrary.simpleMessage("This device"),
-        "thisIsPersonVerificationId": m41,
+        "thisIsPersonVerificationId": m42,
         "thisIsYourVerificationId": MessageLookupByLibrary.simpleMessage(
         "thisIsYourVerificationId": MessageLookupByLibrary.simpleMessage(
             "This is your Verification ID"),
             "This is your Verification ID"),
         "thisWillLogYouOutOfTheFollowingDevice":
         "thisWillLogYouOutOfTheFollowingDevice":
@@ -889,7 +905,7 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Verification ID"),
             MessageLookupByLibrary.simpleMessage("Verification ID"),
         "verify": MessageLookupByLibrary.simpleMessage("Verify"),
         "verify": MessageLookupByLibrary.simpleMessage("Verify"),
         "verifyEmail": MessageLookupByLibrary.simpleMessage("Verify email"),
         "verifyEmail": MessageLookupByLibrary.simpleMessage("Verify email"),
-        "verifyEmailID": m42,
+        "verifyEmailID": m43,
         "verifyPassword":
         "verifyPassword":
             MessageLookupByLibrary.simpleMessage("Verify password"),
             MessageLookupByLibrary.simpleMessage("Verify password"),
         "verifyingRecoveryKey":
         "verifyingRecoveryKey":
@@ -909,7 +925,7 @@ class MessageLookup extends MessageLookupByLibrary {
         "weveSentAMailTo":
         "weveSentAMailTo":
             MessageLookupByLibrary.simpleMessage("We\'ve sent a mail to"),
             MessageLookupByLibrary.simpleMessage("We\'ve sent a mail to"),
         "yearly": MessageLookupByLibrary.simpleMessage("Yearly"),
         "yearly": MessageLookupByLibrary.simpleMessage("Yearly"),
-        "yearsAgo": m43,
+        "yearsAgo": m44,
         "yes": MessageLookupByLibrary.simpleMessage("Yes"),
         "yes": MessageLookupByLibrary.simpleMessage("Yes"),
         "yesCancel": MessageLookupByLibrary.simpleMessage("Yes, cancel"),
         "yesCancel": MessageLookupByLibrary.simpleMessage("Yes, cancel"),
         "yesConvertToViewer":
         "yesConvertToViewer":
@@ -932,7 +948,7 @@ class MessageLookup extends MessageLookupByLibrary {
             "You cannot downgrade to this plan"),
             "You cannot downgrade to this plan"),
         "youCannotShareWithYourself": MessageLookupByLibrary.simpleMessage(
         "youCannotShareWithYourself": MessageLookupByLibrary.simpleMessage(
             "You cannot share with yourself"),
             "You cannot share with yourself"),
-        "youHaveSuccessfullyFreedUp": m44,
+        "youHaveSuccessfullyFreedUp": m45,
         "yourAccountHasBeenDeleted": MessageLookupByLibrary.simpleMessage(
         "yourAccountHasBeenDeleted": MessageLookupByLibrary.simpleMessage(
             "Your account has been deleted"),
             "Your account has been deleted"),
         "yourPlanWasSuccessfullyDowngraded":
         "yourPlanWasSuccessfullyDowngraded":

+ 92 - 2
lib/generated/l10n.dart

@@ -5148,10 +5148,10 @@ class S {
   }
   }
 
 
   /// `This album already has a collaborative link`
   /// `This album already has a collaborative link`
-  String get thisAlbumAlreadyHasACollaborativeLink {
+  String get thisAlbumAlreadyHDACollaborativeLink {
     return Intl.message(
     return Intl.message(
       'This album already has a collaborative link',
       'This album already has a collaborative link',
-      name: 'thisAlbumAlreadyHasACollaborativeLink',
+      name: 'thisAlbumAlreadyHDACollaborativeLink',
       desc: '',
       desc: '',
       args: [],
       args: [],
     );
     );
@@ -5166,6 +5166,96 @@ class S {
       args: [albumName],
       args: [albumName],
     );
     );
   }
   }
+
+  /// `Ask your loved ones to share`
+  String get askYourLovedOnesToShare {
+    return Intl.message(
+      'Ask your loved ones to share',
+      name: 'askYourLovedOnesToShare',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Invite`
+  String get invite {
+    return Intl.message(
+      'Invite',
+      name: 'invite',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Share your first album`
+  String get shareYourFirstAlbum {
+    return Intl.message(
+      'Share your first album',
+      name: 'shareYourFirstAlbum',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Shared with {emailIDs}`
+  String sharedWith(Object emailIDs) {
+    return Intl.message(
+      'Shared with $emailIDs',
+      name: 'sharedWith',
+      desc: '',
+      args: [emailIDs],
+    );
+  }
+
+  /// `Shared with me`
+  String get sharedWithMe {
+    return Intl.message(
+      'Shared with me',
+      name: 'sharedWithMe',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Shared by me`
+  String get sharedByMe {
+    return Intl.message(
+      'Shared by me',
+      name: 'sharedByMe',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Double your storage`
+  String get doubleYourStorage {
+    return Intl.message(
+      'Double your storage',
+      name: 'doubleYourStorage',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Refer friends and 2x your plan`
+  String get referFriendsAnd2xYourPlan {
+    return Intl.message(
+      'Refer friends and 2x your plan',
+      name: 'referFriendsAnd2xYourPlan',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Open an album and tap the share button on the top right to share.`
+  String get shareAlbumHint {
+    return Intl.message(
+      'Open an album and tap the share button on the top right to share.',
+      name: 'shareAlbumHint',
+      desc: '',
+      args: [],
+    );
+  }
 }
 }
 
 
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {

+ 11 - 2
lib/l10n/intl_en.arb

@@ -731,6 +731,15 @@
   "uploadingFilesToAlbum": "Uploading files to album...",
   "uploadingFilesToAlbum": "Uploading files to album...",
   "addedSuccessfullyTo": "Added successfully to  {albumName}",
   "addedSuccessfullyTo": "Added successfully to  {albumName}",
   "movedSuccessfullyTo": "Moved successfully to {albumName}",
   "movedSuccessfullyTo": "Moved successfully to {albumName}",
-  "thisAlbumAlreadyHasACollaborativeLink": "This album already has a collaborative link",
-  "collaborativeLinkCreatedFor": "Collaborative link created for {albumName}"
+  "thisAlbumAlreadyHDACollaborativeLink": "This album already has a collaborative link",
+  "collaborativeLinkCreatedFor": "Collaborative link created for {albumName}",
+  "askYourLovedOnesToShare": "Ask your loved ones to share",
+  "invite": "Invite",
+  "shareYourFirstAlbum": "Share your first album",
+  "sharedWith": "Shared with {emailIDs}",
+  "sharedWithMe": "Shared with me",
+  "sharedByMe": "Shared by me",
+  "doubleYourStorage": "Double your storage",
+  "referFriendsAnd2xYourPlan": "Refer friends and 2x your plan",
+  "shareAlbumHint": "Open an album and tap the share button on the top right to share."
 }
 }

+ 1 - 1
lib/ui/collections_list_widget.dart

@@ -259,7 +259,7 @@ class CollectionsListWidget extends StatelessWidget {
           );
           );
         }
         }
         showShortToast(
         showShortToast(
-            context, S.of(context).thisAlbumAlreadyHasACollaborativeLink);
+            context, S.of(context).thisAlbumAlreadyHDACollaborativeLink);
         return Future.value(false);
         return Future.value(false);
       } else {
       } else {
         try {
         try {

+ 3 - 2
lib/ui/settings_page.dart

@@ -6,6 +6,7 @@ import "package:flutter_animate/flutter_animate.dart";
 import 'package:photos/core/configuration.dart';
 import 'package:photos/core/configuration.dart';
 import 'package:photos/core/event_bus.dart';
 import 'package:photos/core/event_bus.dart';
 import 'package:photos/events/opened_settings_event.dart';
 import 'package:photos/events/opened_settings_event.dart';
+import "package:photos/generated/l10n.dart";
 import 'package:photos/services/feature_flag_service.dart';
 import 'package:photos/services/feature_flag_service.dart';
 import "package:photos/services/storage_bonus_service.dart";
 import "package:photos/services/storage_bonus_service.dart";
 import 'package:photos/theme/colors.dart';
 import 'package:photos/theme/colors.dart';
@@ -93,8 +94,8 @@ class SettingsPage extends StatelessWidget {
                   child: NotificationWidget(
                   child: NotificationWidget(
                     startIcon: Icons.auto_awesome,
                     startIcon: Icons.auto_awesome,
                     actionIcon: Icons.arrow_forward_outlined,
                     actionIcon: Icons.arrow_forward_outlined,
-                    text: "Double your storage",
-                    subText: "Refer friends and 2x your plan",
+                    text: S.of(context).doubleYourStorage,
+                    subText: S.of(context).referFriendsAnd2xYourPlan,
                     type: NotificationType.goldenBanner,
                     type: NotificationType.goldenBanner,
                     onTap: () async {
                     onTap: () async {
                       StorageBonusService.instance.markStorageBonusAsDone();
                       StorageBonusService.instance.markStorageBonusAsDone();

+ 10 - 9
lib/ui/shared_collections_gallery.dart

@@ -11,6 +11,7 @@ import 'package:photos/events/collection_updated_event.dart';
 import 'package:photos/events/local_photos_updated_event.dart';
 import 'package:photos/events/local_photos_updated_event.dart';
 import 'package:photos/events/tab_changed_event.dart';
 import 'package:photos/events/tab_changed_event.dart';
 import 'package:photos/events/user_logged_out_event.dart';
 import 'package:photos/events/user_logged_out_event.dart';
+import "package:photos/generated/l10n.dart";
 import 'package:photos/models/collection.dart';
 import 'package:photos/models/collection.dart';
 import 'package:photos/models/collection_items.dart';
 import 'package:photos/models/collection_items.dart';
 import 'package:photos/models/gallery_type.dart';
 import 'package:photos/models/gallery_type.dart';
@@ -157,7 +158,7 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
         child: Column(
         child: Column(
           children: [
           children: [
             const SizedBox(height: 12),
             const SizedBox(height: 12),
-            const SectionTitle(title: "Shared with me"),
+            SectionTitle(title: S.of(context).sharedWithMe),
             const SizedBox(height: 12),
             const SizedBox(height: 12),
             collections.incoming.isNotEmpty
             collections.incoming.isNotEmpty
                 ? Padding(
                 ? Padding(
@@ -182,7 +183,7 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
                   )
                   )
                 : _getIncomingCollectionEmptyState(),
                 : _getIncomingCollectionEmptyState(),
             const SizedBox(height: 16),
             const SizedBox(height: 16),
-            const SectionTitle(title: "Shared by me"),
+            SectionTitle(title: S.of(context).sharedByMe),
             const SizedBox(height: 12),
             const SizedBox(height: 12),
             collections.outgoing.isNotEmpty
             collections.outgoing.isNotEmpty
                 ? ListView.builder(
                 ? ListView.builder(
@@ -211,7 +212,7 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
         mainAxisAlignment: MainAxisAlignment.center,
         mainAxisAlignment: MainAxisAlignment.center,
         children: [
         children: [
           Text(
           Text(
-            "Ask your loved ones to share",
+            S.of(context).askYourLovedOnesToShare,
             style: Theme.of(context).textTheme.caption,
             style: Theme.of(context).textTheme.caption,
           ),
           ),
           const Padding(padding: EdgeInsets.only(top: 14)),
           const Padding(padding: EdgeInsets.only(top: 14)),
@@ -220,10 +221,10 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
             height: 50,
             height: 50,
             child: GradientButton(
             child: GradientButton(
               onTap: () async {
               onTap: () async {
-                shareText("Check out https://ente.io");
+                shareText(S.of(context).shareTextRecommendUsingEnte);
               },
               },
               iconData: Icons.outgoing_mail,
               iconData: Icons.outgoing_mail,
-              text: "Invite",
+              text: S.of(context).invite,
             ),
             ),
           ),
           ),
           const SizedBox(height: 60),
           const SizedBox(height: 60),
@@ -239,7 +240,7 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
         mainAxisAlignment: MainAxisAlignment.center,
         mainAxisAlignment: MainAxisAlignment.center,
         children: [
         children: [
           Text(
           Text(
-            "Share your first album",
+            S.of(context).shareYourFirstAlbum,
             style: Theme.of(context).textTheme.caption,
             style: Theme.of(context).textTheme.caption,
           ),
           ),
           const Padding(padding: EdgeInsets.only(top: 14)),
           const Padding(padding: EdgeInsets.only(top: 14)),
@@ -250,7 +251,7 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
               onTap: () async {
               onTap: () async {
                 await showToast(
                 await showToast(
                   context,
                   context,
-                  "Open an album and tap the share button on the top right to share.",
+                  S.of(context).shareAlbumHint,
                   toastLength: Toast.LENGTH_LONG,
                   toastLength: Toast.LENGTH_LONG,
                 );
                 );
                 Bus.instance.fire(
                 Bus.instance.fire(
@@ -258,7 +259,7 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
                 );
                 );
               },
               },
               iconData: Icons.person_add,
               iconData: Icons.person_add,
-              text: "Share",
+              text: S.of(context).share,
             ),
             ),
           ),
           ),
           const SizedBox(height: 60),
           const SizedBox(height: 60),
@@ -363,7 +364,7 @@ class OutgoingCollectionItem extends StatelessWidget {
                       : Padding(
                       : Padding(
                           padding: const EdgeInsets.fromLTRB(0, 4, 0, 0),
                           padding: const EdgeInsets.fromLTRB(0, 4, 0, 0),
                           child: Text(
                           child: Text(
-                            "Shared with " + shareesName.join(", "),
+                            S.of(context).sharedWith(shareesName.join(", ")),
                             style: TextStyle(
                             style: TextStyle(
                               fontSize: 14,
                               fontSize: 14,
                               color: Theme.of(context).primaryColorLight,
                               color: Theme.of(context).primaryColorLight,