Explorar el Código

l10n: extract payment more strings

Neeraj Gupta hace 2 años
padre
commit
68624bbe2f

+ 68 - 40
lib/generated/intl/messages_en.dart

@@ -70,57 +70,60 @@ class MessageLookup extends MessageLookupByLibrary {
   static String m15(providerName) =>
   static String m15(providerName) =>
       "Please talk to ${providerName} support if you were charged";
       "Please talk to ${providerName} support if you were charged";
 
 
-  static String m16(storeName) => "Rate us on ${storeName}";
+  static String m16(reason) =>
+      "Unfortunately your payment failed due to ${reason}";
 
 
-  static String m17(storageInGB) =>
+  static String m17(storeName) => "Rate us on ${storeName}";
+
+  static String m18(storageInGB) =>
       "3. Both of you get ${storageInGB} GB* free";
       "3. Both of you get ${storageInGB} GB* free";
 
 
-  static String m18(userEmail) =>
+  static String m19(userEmail) =>
       "${userEmail} will be removed from this shared album\n\nAny photos added by them will also be removed from the album";
       "${userEmail} will be removed from this shared album\n\nAny photos added by them will also be removed from the album";
 
 
-  static String m19(endDate) => "Renews on ${endDate}";
+  static String m20(endDate) => "Renews on ${endDate}";
 
 
-  static String m20(count) => "${count} selected";
+  static String m21(count) => "${count} selected";
 
 
-  static String m21(count, yourCount) =>
+  static String m22(count, yourCount) =>
       "${count} selected (${yourCount} yours)";
       "${count} selected (${yourCount} yours)";
 
 
-  static String m22(verificationID) =>
+  static String m23(verificationID) =>
       "Here\'s my verification ID: ${verificationID} for ente.io.";
       "Here\'s my verification ID: ${verificationID} for ente.io.";
 
 
-  static String m23(verificationID) =>
+  static String m24(verificationID) =>
       "Hey, can you confirm that this is your ente.io verification ID: ${verificationID}";
       "Hey, can you confirm that this is your ente.io verification ID: ${verificationID}";
 
 
-  static String m24(referralCode, referralStorageInGB) =>
+  static String m25(referralCode, referralStorageInGB) =>
       "ente referral code: ${referralCode} \n\nApply it in Settings → General → Referrals to get ${referralStorageInGB} GB free after you signup for a paid plan\n\nhttps://ente.io";
       "ente referral code: ${referralCode} \n\nApply it in Settings → General → Referrals to get ${referralStorageInGB} GB free after you signup for a paid plan\n\nhttps://ente.io";
 
 
-  static String m25(numberOfPeople) =>
+  static String m26(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 m26(fileType) =>
+  static String m27(fileType) =>
       "This ${fileType} will be deleted from your device.";
       "This ${fileType} will be deleted from your device.";
 
 
-  static String m27(fileType) =>
+  static String m28(fileType) =>
       "This ${fileType} is in both ente and your device.";
       "This ${fileType} is in both ente and your device.";
 
 
-  static String m28(fileType) => "This ${fileType} will be deleted from ente.";
+  static String m29(fileType) => "This ${fileType} will be deleted from ente.";
 
 
-  static String m29(storageAmountInGB) => "${storageAmountInGB} GB";
+  static String m30(storageAmountInGB) => "${storageAmountInGB} GB";
 
 
-  static String m30(id) =>
+  static String m31(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 m31(endDate) =>
+  static String m32(endDate) =>
       "Your subscription will be cancelled on ${endDate}";
       "Your subscription will be cancelled on ${endDate}";
 
 
-  static String m32(storageAmountInGB) =>
+  static String m33(storageAmountInGB) =>
       "They also get ${storageAmountInGB} GB";
       "They also get ${storageAmountInGB} GB";
 
 
-  static String m33(email) => "This is ${email}\'s Verification ID";
+  static String m34(email) => "This is ${email}\'s Verification ID";
 
 
-  static String m34(email) => "Verify ${email}";
+  static String m35(email) => "Verify ${email}";
 
 
-  static String m35(storageSaved) =>
+  static String m36(storageSaved) =>
       "You have successfully freed up ${storageSaved}!";
       "You have successfully freed up ${storageSaved}!";
 
 
   final messages = _notInlinedMessages(_notInlinedMessages);
   final messages = _notInlinedMessages(_notInlinedMessages);
@@ -169,11 +172,16 @@ class MessageLookup extends MessageLookupByLibrary {
         "appstoreSubscription":
         "appstoreSubscription":
             MessageLookupByLibrary.simpleMessage("AppStore subscription"),
             MessageLookupByLibrary.simpleMessage("AppStore subscription"),
         "archive": MessageLookupByLibrary.simpleMessage("Archive"),
         "archive": MessageLookupByLibrary.simpleMessage("Archive"),
+        "areYouSureThatYouWantToLeaveTheFamily":
+            MessageLookupByLibrary.simpleMessage(
+                "Are you sure that you want to leave the family plan?"),
         "areYouSureYouWantToCancel": MessageLookupByLibrary.simpleMessage(
         "areYouSureYouWantToCancel": MessageLookupByLibrary.simpleMessage(
             "Are you sure you want to cancel?"),
             "Are you sure you want to cancel?"),
         "areYouSureYouWantToChangeYourPlan":
         "areYouSureYouWantToChangeYourPlan":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "Are you sure you want to change your plan?"),
                 "Are you sure you want to change your plan?"),
+        "areYouSureYouWantToExit": MessageLookupByLibrary.simpleMessage(
+            "Are you sure you want to exit?"),
         "areYouSureYouWantToLogout": MessageLookupByLibrary.simpleMessage(
         "areYouSureYouWantToLogout": MessageLookupByLibrary.simpleMessage(
             "Are you sure you want to logout?"),
             "Are you sure you want to logout?"),
         "areYouSureYouWantToRenew": MessageLookupByLibrary.simpleMessage(
         "areYouSureYouWantToRenew": MessageLookupByLibrary.simpleMessage(
@@ -264,6 +272,10 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Confirm recovery key"),
             MessageLookupByLibrary.simpleMessage("Confirm recovery key"),
         "confirmYourRecoveryKey":
         "confirmYourRecoveryKey":
             MessageLookupByLibrary.simpleMessage("Confirm your recovery key"),
             MessageLookupByLibrary.simpleMessage("Confirm your recovery key"),
+        "contactFamilyAdminPart1":
+            MessageLookupByLibrary.simpleMessage("Please contact"),
+        "contactFamilyAdminPart2":
+            MessageLookupByLibrary.simpleMessage("to manage your subscription"),
         "contactSupport":
         "contactSupport":
             MessageLookupByLibrary.simpleMessage("Contact support"),
             MessageLookupByLibrary.simpleMessage("Contact support"),
         "contactToManageSubscription": m3,
         "contactToManageSubscription": m3,
@@ -393,6 +405,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Failed to load albums"),
             MessageLookupByLibrary.simpleMessage("Failed to load albums"),
         "failedToRenew":
         "failedToRenew":
             MessageLookupByLibrary.simpleMessage("Failed to renew"),
             MessageLookupByLibrary.simpleMessage("Failed to renew"),
+        "failedToVerifyPaymentStatus": MessageLookupByLibrary.simpleMessage(
+            "Failed to verify payment status"),
         "familyPlans": MessageLookupByLibrary.simpleMessage("Family plans"),
         "familyPlans": MessageLookupByLibrary.simpleMessage("Family plans"),
         "faq": MessageLookupByLibrary.simpleMessage("FAQ"),
         "faq": MessageLookupByLibrary.simpleMessage("FAQ"),
         "faqs": MessageLookupByLibrary.simpleMessage("FAQs"),
         "faqs": MessageLookupByLibrary.simpleMessage("FAQs"),
@@ -443,6 +457,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "keepPhotos": MessageLookupByLibrary.simpleMessage("Keep Photos"),
         "keepPhotos": MessageLookupByLibrary.simpleMessage("Keep Photos"),
         "kindlyHelpUsWithThisInformation": MessageLookupByLibrary.simpleMessage(
         "kindlyHelpUsWithThisInformation": MessageLookupByLibrary.simpleMessage(
             "Kindly help us with this information"),
             "Kindly help us with this information"),
+        "leave": MessageLookupByLibrary.simpleMessage("Leave"),
+        "leaveFamily": MessageLookupByLibrary.simpleMessage("Leave family"),
         "lightTheme": MessageLookupByLibrary.simpleMessage("Light"),
         "lightTheme": MessageLookupByLibrary.simpleMessage("Light"),
         "linkDeviceLimit": MessageLookupByLibrary.simpleMessage("Device limit"),
         "linkDeviceLimit": MessageLookupByLibrary.simpleMessage("Device limit"),
         "linkEnabled": MessageLookupByLibrary.simpleMessage("Enabled"),
         "linkEnabled": MessageLookupByLibrary.simpleMessage("Enabled"),
@@ -506,6 +522,7 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Payment details"),
             MessageLookupByLibrary.simpleMessage("Payment details"),
         "paymentFailed": MessageLookupByLibrary.simpleMessage("Payment failed"),
         "paymentFailed": MessageLookupByLibrary.simpleMessage("Payment failed"),
         "paymentFailedTalkToProvider": m15,
         "paymentFailedTalkToProvider": m15,
+        "paymentFailedWithReason": m16,
         "peopleUsingYourCode":
         "peopleUsingYourCode":
             MessageLookupByLibrary.simpleMessage("People using your code"),
             MessageLookupByLibrary.simpleMessage("People using your code"),
         "photoGridSize":
         "photoGridSize":
@@ -521,6 +538,9 @@ class MessageLookup extends MessageLookupByLibrary {
         "pleaseTryAgain":
         "pleaseTryAgain":
             MessageLookupByLibrary.simpleMessage("Please try again"),
             MessageLookupByLibrary.simpleMessage("Please try again"),
         "pleaseWait": MessageLookupByLibrary.simpleMessage("Please wait..."),
         "pleaseWait": MessageLookupByLibrary.simpleMessage("Please wait..."),
+        "pleaseWaitForSometimeBeforeRetrying":
+            MessageLookupByLibrary.simpleMessage(
+                "Please wait for sometime before retrying"),
         "privacy": MessageLookupByLibrary.simpleMessage("Privacy"),
         "privacy": MessageLookupByLibrary.simpleMessage("Privacy"),
         "privacyPolicy": MessageLookupByLibrary.simpleMessage("privacy policy"),
         "privacyPolicy": MessageLookupByLibrary.simpleMessage("privacy policy"),
         "privacyPolicyTitle":
         "privacyPolicyTitle":
@@ -528,7 +548,7 @@ class MessageLookup extends MessageLookupByLibrary {
         "publicLinkEnabled":
         "publicLinkEnabled":
             MessageLookupByLibrary.simpleMessage("Public link enabled"),
             MessageLookupByLibrary.simpleMessage("Public link enabled"),
         "rateUs": MessageLookupByLibrary.simpleMessage("Rate us"),
         "rateUs": MessageLookupByLibrary.simpleMessage("Rate us"),
-        "rateUsOnStore": m16,
+        "rateUsOnStore": m17,
         "recover": MessageLookupByLibrary.simpleMessage("Recover"),
         "recover": MessageLookupByLibrary.simpleMessage("Recover"),
         "recoverAccount":
         "recoverAccount":
             MessageLookupByLibrary.simpleMessage("Recover account"),
             MessageLookupByLibrary.simpleMessage("Recover account"),
@@ -557,7 +577,7 @@ class MessageLookup extends MessageLookupByLibrary {
             "1. Give this code to your friends"),
             "1. Give this code to your friends"),
         "referralStep2": MessageLookupByLibrary.simpleMessage(
         "referralStep2": MessageLookupByLibrary.simpleMessage(
             "2. They sign up for a paid plan"),
             "2. They sign up for a paid plan"),
-        "referralStep3": m17,
+        "referralStep3": m18,
         "referrals": MessageLookupByLibrary.simpleMessage("Referrals"),
         "referrals": MessageLookupByLibrary.simpleMessage("Referrals"),
         "referralsAreCurrentlyPaused": MessageLookupByLibrary.simpleMessage(
         "referralsAreCurrentlyPaused": MessageLookupByLibrary.simpleMessage(
             "Referrals are currently paused"),
             "Referrals are currently paused"),
@@ -573,7 +593,7 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeLink": MessageLookupByLibrary.simpleMessage("Remove link"),
         "removeLink": MessageLookupByLibrary.simpleMessage("Remove link"),
         "removeParticipant":
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Remove participant"),
             MessageLookupByLibrary.simpleMessage("Remove participant"),
-        "removeParticipantBody": m18,
+        "removeParticipantBody": m19,
         "removePublicLink":
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Remove public link"),
             MessageLookupByLibrary.simpleMessage("Remove public link"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(
@@ -584,7 +604,7 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Removing from favorites..."),
             MessageLookupByLibrary.simpleMessage("Removing from favorites..."),
         "renewSubscription":
         "renewSubscription":
             MessageLookupByLibrary.simpleMessage("Renew subscription"),
             MessageLookupByLibrary.simpleMessage("Renew subscription"),
-        "renewsOn": m19,
+        "renewsOn": m20,
         "reportABug": MessageLookupByLibrary.simpleMessage("Report a bug"),
         "reportABug": MessageLookupByLibrary.simpleMessage("Report a bug"),
         "reportBug": MessageLookupByLibrary.simpleMessage("Report bug"),
         "reportBug": MessageLookupByLibrary.simpleMessage("Report bug"),
         "resendEmail": MessageLookupByLibrary.simpleMessage("Resend email"),
         "resendEmail": MessageLookupByLibrary.simpleMessage("Resend email"),
@@ -609,8 +629,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "selectedFoldersWillBeEncryptedAndBackedUp":
         "selectedFoldersWillBeEncryptedAndBackedUp":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "Selected folders will be encrypted and backed up"),
                 "Selected folders will be encrypted and backed up"),
-        "selectedPhotos": m20,
-        "selectedPhotosWithYours": m21,
+        "selectedPhotos": m21,
+        "selectedPhotosWithYours": m22,
         "send": MessageLookupByLibrary.simpleMessage("Send"),
         "send": MessageLookupByLibrary.simpleMessage("Send"),
         "sendEmail": MessageLookupByLibrary.simpleMessage("Send email"),
         "sendEmail": MessageLookupByLibrary.simpleMessage("Send email"),
         "sendInvite": MessageLookupByLibrary.simpleMessage("Send invite"),
         "sendInvite": MessageLookupByLibrary.simpleMessage("Send invite"),
@@ -620,22 +640,22 @@ 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"),
-        "shareMyVerificationID": m22,
-        "shareTextConfirmOthersVerificationID": m23,
+        "shareMyVerificationID": m23,
+        "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"),
-        "shareTextReferralCode": m24,
+        "shareTextReferralCode": m25,
         "shareWithNonenteUsers":
         "shareWithNonenteUsers":
             MessageLookupByLibrary.simpleMessage("Share with non-ente users"),
             MessageLookupByLibrary.simpleMessage("Share with non-ente users"),
-        "shareWithPeopleSectionTitle": m25,
+        "shareWithPeopleSectionTitle": m26,
         "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."),
         "sharing": MessageLookupByLibrary.simpleMessage("Sharing..."),
         "sharing": MessageLookupByLibrary.simpleMessage("Sharing..."),
-        "singleFileDeleteFromDevice": m26,
+        "singleFileDeleteFromDevice": m27,
         "singleFileDeleteHighlight": MessageLookupByLibrary.simpleMessage(
         "singleFileDeleteHighlight": MessageLookupByLibrary.simpleMessage(
             "It will be deleted from all albums."),
             "It will be deleted from all albums."),
-        "singleFileInBothLocalAndRemote": m27,
-        "singleFileInRemoteOnly": m28,
+        "singleFileInBothLocalAndRemote": m28,
+        "singleFileInRemoteOnly": m29,
         "skip": MessageLookupByLibrary.simpleMessage("Skip"),
         "skip": MessageLookupByLibrary.simpleMessage("Skip"),
         "social": MessageLookupByLibrary.simpleMessage("Social"),
         "social": MessageLookupByLibrary.simpleMessage("Social"),
         "someoneSharingAlbumsWithYouShouldSeeTheSameId":
         "someoneSharingAlbumsWithYouShouldSeeTheSameId":
@@ -656,10 +676,10 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "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"),
-        "storageInGB": m29,
+        "storageInGB": m30,
         "strongStrength": MessageLookupByLibrary.simpleMessage("Strong"),
         "strongStrength": MessageLookupByLibrary.simpleMessage("Strong"),
-        "subAlreadyLinkedErrMessage": m30,
-        "subWillBeCancelledOn": m31,
+        "subAlreadyLinkedErrMessage": m31,
+        "subWillBeCancelledOn": m32,
         "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."),
@@ -681,17 +701,18 @@ class MessageLookup extends MessageLookupByLibrary {
         "termsOfService":
         "termsOfService":
             MessageLookupByLibrary.simpleMessage("terms of service"),
             MessageLookupByLibrary.simpleMessage("terms of service"),
         "termsOfServicesTitle": MessageLookupByLibrary.simpleMessage("Terms"),
         "termsOfServicesTitle": MessageLookupByLibrary.simpleMessage("Terms"),
+        "thankYou": MessageLookupByLibrary.simpleMessage("Thank you"),
         "thankYouForSubscribing":
         "thankYouForSubscribing":
             MessageLookupByLibrary.simpleMessage("Thank you for subscribing!"),
             MessageLookupByLibrary.simpleMessage("Thank you for subscribing!"),
         "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": m32,
+        "theyAlsoGetXGb": m33,
         "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": m33,
+        "thisIsPersonVerificationId": m34,
         "thisIsYourVerificationId": MessageLookupByLibrary.simpleMessage(
         "thisIsYourVerificationId": MessageLookupByLibrary.simpleMessage(
             "This is your Verification ID"),
             "This is your Verification ID"),
         "thisWillLogYouOutOfTheFollowingDevice":
         "thisWillLogYouOutOfTheFollowingDevice":
@@ -725,7 +746,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": m34,
+        "verifyEmailID": m35,
         "verifyPassword":
         "verifyPassword":
             MessageLookupByLibrary.simpleMessage("Verify password"),
             MessageLookupByLibrary.simpleMessage("Verify password"),
         "verifyingRecoveryKey":
         "verifyingRecoveryKey":
@@ -754,6 +775,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "yesRemove": MessageLookupByLibrary.simpleMessage("Yes, remove"),
         "yesRemove": MessageLookupByLibrary.simpleMessage("Yes, remove"),
         "yesRenew": MessageLookupByLibrary.simpleMessage("Yes, Renew"),
         "yesRenew": MessageLookupByLibrary.simpleMessage("Yes, Renew"),
         "you": MessageLookupByLibrary.simpleMessage("You"),
         "you": MessageLookupByLibrary.simpleMessage("You"),
+        "youAreOnAFamilyPlan":
+            MessageLookupByLibrary.simpleMessage("You are on a family plan!"),
         "youAreOnTheLatestVersion": MessageLookupByLibrary.simpleMessage(
         "youAreOnTheLatestVersion": MessageLookupByLibrary.simpleMessage(
             "You are on the latest version"),
             "You are on the latest version"),
         "youCanAtMaxDoubleYourStorage": MessageLookupByLibrary.simpleMessage(
         "youCanAtMaxDoubleYourStorage": MessageLookupByLibrary.simpleMessage(
@@ -762,7 +785,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": m35,
+        "youHaveSuccessfullyFreedUp": m36,
         "yourAccountHasBeenDeleted": MessageLookupByLibrary.simpleMessage(
         "yourAccountHasBeenDeleted": MessageLookupByLibrary.simpleMessage(
             "Your account has been deleted"),
             "Your account has been deleted"),
         "yourPlanWasSuccessfullyDowngraded":
         "yourPlanWasSuccessfullyDowngraded":
@@ -770,9 +793,14 @@ class MessageLookup extends MessageLookupByLibrary {
                 "Your plan was successfully downgraded"),
                 "Your plan was successfully downgraded"),
         "yourPlanWasSuccessfullyUpgraded": MessageLookupByLibrary.simpleMessage(
         "yourPlanWasSuccessfullyUpgraded": MessageLookupByLibrary.simpleMessage(
             "Your plan was successfully upgraded"),
             "Your plan was successfully upgraded"),
+        "yourPurchaseWasSuccessful": MessageLookupByLibrary.simpleMessage(
+            "Your purchase was successful"),
         "yourStorageDetailsCouldNotBeFetched":
         "yourStorageDetailsCouldNotBeFetched":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "Your storage details could not be fetched"),
                 "Your storage details could not be fetched"),
+        "yourSubscriptionWasUpdatedSuccessfully":
+            MessageLookupByLibrary.simpleMessage(
+                "Your subscription was updated successfully"),
         "youveNoDuplicateFilesThatCanBeCleared":
         "youveNoDuplicateFilesThatCanBeCleared":
             MessageLookupByLibrary.simpleMessage(
             MessageLookupByLibrary.simpleMessage(
                 "You\'ve no duplicate files that can be cleared")
                 "You\'ve no duplicate files that can be cleared")

+ 132 - 0
lib/generated/l10n.dart

@@ -4109,6 +4109,16 @@ class S {
     );
     );
   }
   }
 
 
+  /// `Your purchase was successful`
+  String get yourPurchaseWasSuccessful {
+    return Intl.message(
+      'Your purchase was successful',
+      name: 'yourPurchaseWasSuccessful',
+      desc: '',
+      args: [],
+    );
+  }
+
   /// `Your plan was successfully upgraded`
   /// `Your plan was successfully upgraded`
   String get yourPlanWasSuccessfullyUpgraded {
   String get yourPlanWasSuccessfullyUpgraded {
     return Intl.message(
     return Intl.message(
@@ -4129,6 +4139,16 @@ class S {
     );
     );
   }
   }
 
 
+  /// `Your subscription was updated successfully`
+  String get yourSubscriptionWasUpdatedSuccessfully {
+    return Intl.message(
+      'Your subscription was updated successfully',
+      name: 'yourSubscriptionWasUpdatedSuccessfully',
+      desc: '',
+      args: [],
+    );
+  }
+
   /// `Google Play ID`
   /// `Google Play ID`
   String get googlePlayId {
   String get googlePlayId {
     return Intl.message(
     return Intl.message(
@@ -4238,6 +4258,118 @@ class S {
       args: [],
       args: [],
     );
     );
   }
   }
+
+  /// `Are you sure you want to exit?`
+  String get areYouSureYouWantToExit {
+    return Intl.message(
+      'Are you sure you want to exit?',
+      name: 'areYouSureYouWantToExit',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Thank you`
+  String get thankYou {
+    return Intl.message(
+      'Thank you',
+      name: 'thankYou',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Failed to verify payment status`
+  String get failedToVerifyPaymentStatus {
+    return Intl.message(
+      'Failed to verify payment status',
+      name: 'failedToVerifyPaymentStatus',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Please wait for sometime before retrying`
+  String get pleaseWaitForSometimeBeforeRetrying {
+    return Intl.message(
+      'Please wait for sometime before retrying',
+      name: 'pleaseWaitForSometimeBeforeRetrying',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Unfortunately your payment failed due to {reason}`
+  String paymentFailedWithReason(Object reason) {
+    return Intl.message(
+      'Unfortunately your payment failed due to $reason',
+      name: 'paymentFailedWithReason',
+      desc: '',
+      args: [reason],
+    );
+  }
+
+  /// `You are on a family plan!`
+  String get youAreOnAFamilyPlan {
+    return Intl.message(
+      'You are on a family plan!',
+      name: 'youAreOnAFamilyPlan',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Please contact`
+  String get contactFamilyAdminPart1 {
+    return Intl.message(
+      'Please contact',
+      name: 'contactFamilyAdminPart1',
+      desc:
+          'Part1 of the sentence \'Please contact {familyAdminName} to manage your subscription\'',
+      args: [],
+    );
+  }
+
+  /// `to manage your subscription`
+  String get contactFamilyAdminPart2 {
+    return Intl.message(
+      'to manage your subscription',
+      name: 'contactFamilyAdminPart2',
+      desc:
+          'Part2 of the sentence \'Please contact {familyAdminName} to manage your subscription\'',
+      args: [],
+    );
+  }
+
+  /// `Leave family`
+  String get leaveFamily {
+    return Intl.message(
+      'Leave family',
+      name: 'leaveFamily',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Are you sure that you want to leave the family plan?`
+  String get areYouSureThatYouWantToLeaveTheFamily {
+    return Intl.message(
+      'Are you sure that you want to leave the family plan?',
+      name: 'areYouSureThatYouWantToLeaveTheFamily',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Leave`
+  String get leave {
+    return Intl.message(
+      'Leave',
+      name: 'leave',
+      desc: '',
+      args: [],
+    );
+  }
 }
 }
 
 
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {

+ 22 - 1
lib/l10n/intl_en.arb

@@ -595,8 +595,10 @@
   "send": "Send",
   "send": "Send",
   "askCancelReason": "Your subscription was cancelled. Would you like to share the reason?",
   "askCancelReason": "Your subscription was cancelled. Would you like to share the reason?",
   "thankYouForSubscribing": "Thank you for subscribing!",
   "thankYouForSubscribing": "Thank you for subscribing!",
+  "yourPurchaseWasSuccessful": "Your purchase was successful",
   "yourPlanWasSuccessfullyUpgraded": "Your plan was successfully upgraded",
   "yourPlanWasSuccessfullyUpgraded": "Your plan was successfully upgraded",
   "yourPlanWasSuccessfullyDowngraded": "Your plan was successfully downgraded",
   "yourPlanWasSuccessfullyDowngraded": "Your plan was successfully downgraded",
+  "yourSubscriptionWasUpdatedSuccessfully": "Your subscription was updated successfully",
   "googlePlayId": "Google Play ID",
   "googlePlayId": "Google Play ID",
   "appleId": "Apple ID",
   "appleId": "Apple ID",
   "playstoreSubscription": "PlayStore subscription",
   "playstoreSubscription": "PlayStore subscription",
@@ -617,5 +619,24 @@
       }
       }
     }
     }
   },
   },
-  "continueOnFreeTrial": "Continue on free trial"
+  "continueOnFreeTrial": "Continue on free trial",
+  "areYouSureYouWantToExit": "Are you sure you want to exit?",
+  "thankYou": "Thank you",
+  "failedToVerifyPaymentStatus": "Failed to verify payment status",
+  "pleaseWaitForSometimeBeforeRetrying": "Please wait for sometime before retrying",
+  "paymentFailedWithReason": "Unfortunately your payment failed due to {reason}",
+  "youAreOnAFamilyPlan": "You are on a family plan!",
+  "contactFamilyAdminPart1": "Please contact",
+  "@contactFamilyAdminPart1": {
+    "description": "Part1 of the sentence 'Please contact {familyAdminName} to manage your subscription'",
+    "type": "text"
+  },
+  "contactFamilyAdminPart2": "to manage your subscription",
+  "@contactFamilyAdminPart2": {
+    "description": "Part2 of the sentence 'Please contact {familyAdminName} to manage your subscription'",
+    "type": "text"
+  },
+  "leaveFamily": "Leave family",
+  "areYouSureThatYouWantToLeaveTheFamily": "Are you sure that you want to leave the family plan?",
+  "leave": "Leave"
 }
 }

+ 15 - 22
lib/ui/payment/child_subscription_widget.dart

@@ -1,5 +1,6 @@
 import 'package:flutter/material.dart';
 import 'package:flutter/material.dart';
 import 'package:logging/logging.dart';
 import 'package:logging/logging.dart';
+import "package:photos/generated/l10n.dart";
 import 'package:photos/models/user_details.dart';
 import 'package:photos/models/user_details.dart';
 import 'package:photos/services/user_service.dart';
 import 'package:photos/services/user_service.dart';
 import 'package:photos/ui/components/buttons/button_widget.dart';
 import 'package:photos/ui/components/buttons/button_widget.dart';
@@ -25,7 +26,7 @@ class ChildSubscriptionWidget extends StatelessWidget {
         children: [
         children: [
           Center(
           Center(
             child: Text(
             child: Text(
-              "You are on a family plan!",
+              S.of(context).youAreOnAFamilyPlan,
               style: Theme.of(context).textTheme.bodyText1,
               style: Theme.of(context).textTheme.bodyText1,
             ),
             ),
           ),
           ),
@@ -38,16 +39,16 @@ class ChildSubscriptionWidget extends StatelessWidget {
               textAlign: TextAlign.center,
               textAlign: TextAlign.center,
               text: TextSpan(
               text: TextSpan(
                 children: [
                 children: [
-                  const TextSpan(
-                    text: "Please contact ",
+                  TextSpan(
+                    text: S.of(context).contactFamilyAdminPart1 + " ",
                   ),
                   ),
                   TextSpan(
                   TextSpan(
                     text: familyAdmin,
                     text: familyAdmin,
                     style:
                     style:
                         const TextStyle(color: Color.fromRGBO(29, 185, 84, 1)),
                         const TextStyle(color: Color.fromRGBO(29, 185, 84, 1)),
                   ),
                   ),
-                  const TextSpan(
-                    text: " to manage your subscription",
+                  TextSpan(
+                    text: " " + S.of(context).contactFamilyAdminPart2,
                   ),
                   ),
                 ],
                 ],
                 style: Theme.of(context).textTheme.bodyText1,
                 style: Theme.of(context).textTheme.bodyText1,
@@ -74,9 +75,9 @@ class ChildSubscriptionWidget extends StatelessWidget {
                     const EdgeInsets.symmetric(vertical: 18, horizontal: 100),
                     const EdgeInsets.symmetric(vertical: 18, horizontal: 100),
                 backgroundColor: Colors.red[500],
                 backgroundColor: Colors.red[500],
               ),
               ),
-              child: const Text(
-                "Leave Family",
-                style: TextStyle(
+              child: Text(
+                S.of(context).leaveFamily,
+                style: const TextStyle(
                   fontWeight: FontWeight.bold,
                   fontWeight: FontWeight.bold,
                   fontSize: 18,
                   fontSize: 18,
                   color: Colors.white, // same for both themes
                   color: Colors.white, // same for both themes
@@ -94,17 +95,9 @@ class ChildSubscriptionWidget extends StatelessWidget {
                 text: TextSpan(
                 text: TextSpan(
                   children: [
                   children: [
                     TextSpan(
                     TextSpan(
-                      text: "Please contact ",
-                      style: Theme.of(context).textTheme.bodyText2,
-                    ),
-                    TextSpan(
-                      text: "support@ente.io",
-                      style: Theme.of(context).textTheme.bodyText2?.copyWith(
-                            color: const Color.fromRGBO(29, 185, 84, 1),
-                          ),
-                    ),
-                    TextSpan(
-                      text: " for help",
+                      text: S
+                          .of(context)
+                          .pleaseContactSupportAndWeWillBeHappyToHelp,
                       style: Theme.of(context).textTheme.bodyText2,
                       style: Theme.of(context).textTheme.bodyText2,
                     ),
                     ),
                   ],
                   ],
@@ -120,9 +113,9 @@ class ChildSubscriptionWidget extends StatelessWidget {
   Future<void> _leaveFamilyPlan(BuildContext context) async {
   Future<void> _leaveFamilyPlan(BuildContext context) async {
     final choice = await showChoiceDialog(
     final choice = await showChoiceDialog(
       context,
       context,
-      title: "Leave family",
-      body: "Are you sure that you want to leave the family plan?",
-      firstButtonLabel: "Leave",
+      title: S.of(context).leaveFamily,
+      body: S.of(context).areYouSureThatYouWantToLeaveTheFamily,
+      firstButtonLabel: S.of(context).leave,
       firstButtonOnTap: () async {
       firstButtonOnTap: () async {
         try {
         try {
           await UserService.instance.leaveFamilyPlan();
           await UserService.instance.leaveFamilyPlan();

+ 18 - 16
lib/ui/payment/payment_web_page.dart

@@ -6,6 +6,7 @@ import 'package:flutter/material.dart';
 import 'package:flutter_inappwebview/flutter_inappwebview.dart';
 import 'package:flutter_inappwebview/flutter_inappwebview.dart';
 import 'package:logging/logging.dart';
 import 'package:logging/logging.dart';
 import 'package:photos/ente_theme_data.dart';
 import 'package:photos/ente_theme_data.dart';
+import "package:photos/generated/l10n.dart";
 import 'package:photos/models/subscription.dart';
 import 'package:photos/models/subscription.dart';
 import 'package:photos/services/billing_service.dart';
 import 'package:photos/services/billing_service.dart';
 import 'package:photos/services/user_service.dart';
 import 'package:photos/services/user_service.dart';
@@ -48,7 +49,7 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
 
 
   @override
   @override
   Widget build(BuildContext context) {
   Widget build(BuildContext context) {
-    _dialog = createProgressDialog(context, "Please wait...");
+    _dialog = createProgressDialog(context, S.of(context).pleaseWait);
     if (initPaymentUrl == null) {
     if (initPaymentUrl == null) {
       return const EnteLoadingWidget();
       return const EnteLoadingWidget();
     }
     }
@@ -56,7 +57,7 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
       onWillPop: (() async => _buildPageExitWidget(context)),
       onWillPop: (() async => _buildPageExitWidget(context)),
       child: Scaffold(
       child: Scaffold(
         appBar: AppBar(
         appBar: AppBar(
-          title: const Text('Subscription'),
+          title: Text(S.of(context).subscription),
         ),
         ),
         body: Column(
         body: Column(
           children: <Widget>[
           children: <Widget>[
@@ -144,12 +145,12 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
     final result = await showDialog(
     final result = await showDialog(
       context: context,
       context: context,
       builder: (context) => AlertDialog(
       builder: (context) => AlertDialog(
-        title: const Text('Are you sure you want to exit?'),
+        title: Text(S.of(context).areYouSureYouWantToExit),
         actions: <Widget>[
         actions: <Widget>[
           TextButton(
           TextButton(
-            child: const Text(
-              'Yes',
-              style: TextStyle(
+            child: Text(
+              S.of(context).yes,
+              style: const TextStyle(
                 color: Colors.redAccent,
                 color: Colors.redAccent,
               ),
               ),
             ),
             ),
@@ -157,7 +158,7 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
           ),
           ),
           TextButton(
           TextButton(
             child: Text(
             child: Text(
-              'No',
+              S.of(context).no,
               style: TextStyle(
               style: TextStyle(
                 color: Theme.of(context).colorScheme.greenAlternative,
                 color: Theme.of(context).colorScheme.greenAlternative,
               ),
               ),
@@ -198,11 +199,11 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
       context: context,
       context: context,
       barrierDismissible: false,
       barrierDismissible: false,
       builder: (context) => AlertDialog(
       builder: (context) => AlertDialog(
-        title: const Text('Payment failed'),
-        content: Text("Unfortunately your payment failed due to $reason"),
+        title: Text(S.of(context).paymentFailed),
+        content: Text(S.of(context).paymentFailedWithReason(reason)),
         actions: <Widget>[
         actions: <Widget>[
           TextButton(
           TextButton(
-            child: const Text('Ok'),
+            child: Text(S.of(context).ok),
             onPressed: () {
             onPressed: () {
               Navigator.of(context).pop('dialog');
               Navigator.of(context).pop('dialog');
             },
             },
@@ -225,15 +226,16 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
       );
       );
       await _dialog.hide();
       await _dialog.hide();
       final content = widget.actionType == 'buy'
       final content = widget.actionType == 'buy'
-          ? 'Your purchase was successful'
-          : 'Your subscription was updated successfully';
-      await _showExitPageDialog(title: 'Thank you', content: content);
+          ? S.of(context).yourPurchaseWasSuccessful
+          : S.of(context).yourSubscriptionWasUpdatedSuccessfully;
+      await _showExitPageDialog(
+          title: S.of(context).thankYou, content: content);
     } catch (error) {
     } catch (error) {
       _logger.severe(error);
       _logger.severe(error);
       await _dialog.hide();
       await _dialog.hide();
       await _showExitPageDialog(
       await _showExitPageDialog(
-        title: 'Failed to verify payment status',
-        content: 'Please wait for sometime before retrying',
+        title: S.of(context).failedToVerifyPaymentStatus,
+        content: S.of(context).pleaseWaitForSometimeBeforeRetrying,
       );
       );
     }
     }
   }
   }
@@ -249,7 +251,7 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
         actions: <Widget>[
         actions: <Widget>[
           TextButton(
           TextButton(
             child: Text(
             child: Text(
-              'Ok',
+              S.of(context).ok,
               style: TextStyle(
               style: TextStyle(
                 color: Theme.of(context).colorScheme.greenAlternative,
                 color: Theme.of(context).colorScheme.greenAlternative,
               ),
               ),