[mobile] Update behavior of the payment page

This commit is contained in:
vishnukvmd
2024-03-26 19:59:22 +05:30
parent f2aac262b1
commit b78a66a274
11 changed files with 508 additions and 548 deletions

View File

@@ -129,89 +129,86 @@ class MessageLookup extends MessageLookupByLibrary {
static String m37(providerName) =>
"Please talk to ${providerName} support if you were charged";
static String m38(reason) =>
"Unfortunately your payment failed due to ${reason}";
static String m39(endDate) =>
static String m38(endDate) =>
"Free trial valid till ${endDate}.\nYou can choose a paid plan afterwards.";
static String m40(toEmail) => "Please email us at ${toEmail}";
static String m39(toEmail) => "Please email us at ${toEmail}";
static String m41(toEmail) => "Please send the logs to \n${toEmail}";
static String m40(toEmail) => "Please send the logs to \n${toEmail}";
static String m42(storeName) => "Rate us on ${storeName}";
static String m41(storeName) => "Rate us on ${storeName}";
static String m43(storageInGB) =>
static String m42(storageInGB) =>
"3. Both of you get ${storageInGB} GB* free";
static String m44(userEmail) =>
static String m43(userEmail) =>
"${userEmail} will be removed from this shared album\n\nAny photos added by them will also be removed from the album";
static String m45(endDate) => "Subscription renews on ${endDate}";
static String m44(endDate) => "Subscription renews on ${endDate}";
static String m46(count) =>
static String m45(count) =>
"${Intl.plural(count, one: '${count} result found', other: '${count} results found')}";
static String m47(count) => "${count} selected";
static String m46(count) => "${count} selected";
static String m48(count, yourCount) =>
static String m47(count, yourCount) =>
"${count} selected (${yourCount} yours)";
static String m49(verificationID) =>
static String m48(verificationID) =>
"Here\'s my verification ID: ${verificationID} for ente.io.";
static String m50(verificationID) =>
static String m49(verificationID) =>
"Hey, can you confirm that this is your ente.io verification ID: ${verificationID}";
static String m51(referralCode, referralStorageInGB) =>
static String m50(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";
static String m52(numberOfPeople) =>
static String m51(numberOfPeople) =>
"${Intl.plural(numberOfPeople, zero: 'Share with specific people', one: 'Shared with 1 person', other: 'Shared with ${numberOfPeople} people')}";
static String m53(emailIDs) => "Shared with ${emailIDs}";
static String m52(emailIDs) => "Shared with ${emailIDs}";
static String m54(fileType) =>
static String m53(fileType) =>
"This ${fileType} will be deleted from your device.";
static String m55(fileType) =>
static String m54(fileType) =>
"This ${fileType} is in both ente and your device.";
static String m56(fileType) => "This ${fileType} will be deleted from ente.";
static String m55(fileType) => "This ${fileType} will be deleted from ente.";
static String m57(storageAmountInGB) => "${storageAmountInGB} GB";
static String m56(storageAmountInGB) => "${storageAmountInGB} GB";
static String m58(
static String m57(
usedAmount, usedStorageUnit, totalAmount, totalStorageUnit) =>
"${usedAmount} ${usedStorageUnit} of ${totalAmount} ${totalStorageUnit} used";
static String m59(id) =>
static String m58(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\'\'";
static String m60(endDate) =>
static String m59(endDate) =>
"Your subscription will be cancelled on ${endDate}";
static String m61(completed, total) =>
static String m60(completed, total) =>
"${completed}/${total} memories preserved";
static String m62(storageAmountInGB) =>
static String m61(storageAmountInGB) =>
"They also get ${storageAmountInGB} GB";
static String m63(email) => "This is ${email}\'s Verification ID";
static String m62(email) => "This is ${email}\'s Verification ID";
static String m64(count) =>
static String m63(count) =>
"${Intl.plural(count, zero: '', one: '1 day', other: '${count} days')}";
static String m65(endDate) => "Valid till ${endDate}";
static String m64(endDate) => "Valid till ${endDate}";
static String m66(email) => "Verify ${email}";
static String m65(email) => "Verify ${email}";
static String m67(email) => "We have sent a mail to <green>${email}</green>";
static String m66(email) => "We have sent a mail to <green>${email}</green>";
static String m68(count) =>
static String m67(count) =>
"${Intl.plural(count, one: '${count} year ago', other: '${count} years ago')}";
static String m69(storageSaved) =>
static String m68(storageSaved) =>
"You have successfully freed up ${storageSaved}!";
final messages = _notInlinedMessages(_notInlinedMessages);
@@ -982,8 +979,9 @@ class MessageLookup extends MessageLookupByLibrary {
"paymentDetails":
MessageLookupByLibrary.simpleMessage("Payment details"),
"paymentFailed": MessageLookupByLibrary.simpleMessage("Payment failed"),
"paymentFailedMessage": MessageLookupByLibrary.simpleMessage(
"Unfortunately your payment failed. Please contact support and we\'ll help you out!"),
"paymentFailedTalkToProvider": m37,
"paymentFailedWithReason": m38,
"pendingItems": MessageLookupByLibrary.simpleMessage("Pending items"),
"pendingSync": MessageLookupByLibrary.simpleMessage("Pending sync"),
"peopleUsingYourCode":
@@ -1007,7 +1005,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Pick center point"),
"pinAlbum": MessageLookupByLibrary.simpleMessage("Pin album"),
"playOnTv": MessageLookupByLibrary.simpleMessage("Play album on TV"),
"playStoreFreeTrialValidTill": m39,
"playStoreFreeTrialValidTill": m38,
"playstoreSubscription":
MessageLookupByLibrary.simpleMessage("PlayStore subscription"),
"pleaseCheckYourInternetConnectionAndTryAgain":
@@ -1019,12 +1017,12 @@ class MessageLookup extends MessageLookupByLibrary {
"pleaseContactSupportIfTheProblemPersists":
MessageLookupByLibrary.simpleMessage(
"Please contact support if the problem persists"),
"pleaseEmailUsAt": m40,
"pleaseEmailUsAt": m39,
"pleaseGrantPermissions":
MessageLookupByLibrary.simpleMessage("Please grant permissions"),
"pleaseLoginAgain":
MessageLookupByLibrary.simpleMessage("Please login again"),
"pleaseSendTheLogsTo": m41,
"pleaseSendTheLogsTo": m40,
"pleaseTryAgain":
MessageLookupByLibrary.simpleMessage("Please try again"),
"pleaseVerifyTheCodeYouHaveEntered":
@@ -1059,7 +1057,7 @@ class MessageLookup extends MessageLookupByLibrary {
"raiseTicket": MessageLookupByLibrary.simpleMessage("Raise ticket"),
"rateTheApp": MessageLookupByLibrary.simpleMessage("Rate the app"),
"rateUs": MessageLookupByLibrary.simpleMessage("Rate us"),
"rateUsOnStore": m42,
"rateUsOnStore": m41,
"recover": MessageLookupByLibrary.simpleMessage("Recover"),
"recoverAccount":
MessageLookupByLibrary.simpleMessage("Recover account"),
@@ -1090,7 +1088,7 @@ class MessageLookup extends MessageLookupByLibrary {
"1. Give this code to your friends"),
"referralStep2": MessageLookupByLibrary.simpleMessage(
"2. They sign up for a paid plan"),
"referralStep3": m43,
"referralStep3": m42,
"referrals": MessageLookupByLibrary.simpleMessage("Referrals"),
"referralsAreCurrentlyPaused": MessageLookupByLibrary.simpleMessage(
"Referrals are currently paused"),
@@ -1114,7 +1112,7 @@ class MessageLookup extends MessageLookupByLibrary {
"removeLink": MessageLookupByLibrary.simpleMessage("Remove link"),
"removeParticipant":
MessageLookupByLibrary.simpleMessage("Remove participant"),
"removeParticipantBody": m44,
"removeParticipantBody": m43,
"removePublicLink":
MessageLookupByLibrary.simpleMessage("Remove public link"),
"removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(
@@ -1128,7 +1126,7 @@ class MessageLookup extends MessageLookupByLibrary {
"renameFile": MessageLookupByLibrary.simpleMessage("Rename file"),
"renewSubscription":
MessageLookupByLibrary.simpleMessage("Renew subscription"),
"renewsOn": m45,
"renewsOn": m44,
"reportABug": MessageLookupByLibrary.simpleMessage("Report a bug"),
"reportBug": MessageLookupByLibrary.simpleMessage("Report bug"),
"resendEmail": MessageLookupByLibrary.simpleMessage("Resend email"),
@@ -1188,7 +1186,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Group photos that are taken within some radius of a photo"),
"searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
"Invite people, and you\'ll see all photos shared by them here"),
"searchResultCount": m46,
"searchResultCount": m45,
"security": MessageLookupByLibrary.simpleMessage("Security"),
"selectALocation":
MessageLookupByLibrary.simpleMessage("Select a location"),
@@ -1215,8 +1213,8 @@ class MessageLookup extends MessageLookupByLibrary {
"selectedItemsWillBeDeletedFromAllAlbumsAndMoved":
MessageLookupByLibrary.simpleMessage(
"Selected items will be deleted from all albums and moved to trash."),
"selectedPhotos": m47,
"selectedPhotosWithYours": m48,
"selectedPhotos": m46,
"selectedPhotosWithYours": m47,
"send": MessageLookupByLibrary.simpleMessage("Send"),
"sendEmail": MessageLookupByLibrary.simpleMessage("Send email"),
"sendInvite": MessageLookupByLibrary.simpleMessage("Send invite"),
@@ -1238,16 +1236,16 @@ class MessageLookup extends MessageLookupByLibrary {
"shareAnAlbumNow":
MessageLookupByLibrary.simpleMessage("Share an album now"),
"shareLink": MessageLookupByLibrary.simpleMessage("Share link"),
"shareMyVerificationID": m49,
"shareMyVerificationID": m48,
"shareOnlyWithThePeopleYouWant": MessageLookupByLibrary.simpleMessage(
"Share only with the people you want"),
"shareTextConfirmOthersVerificationID": m50,
"shareTextConfirmOthersVerificationID": m49,
"shareTextRecommendUsingEnte": MessageLookupByLibrary.simpleMessage(
"Download ente so we can easily share original quality photos and videos\n\nhttps://ente.io"),
"shareTextReferralCode": m51,
"shareTextReferralCode": m50,
"shareWithNonenteUsers":
MessageLookupByLibrary.simpleMessage("Share with non-ente users"),
"shareWithPeopleSectionTitle": m52,
"shareWithPeopleSectionTitle": m51,
"shareYourFirstAlbum":
MessageLookupByLibrary.simpleMessage("Share your first album"),
"sharedAlbumSectionDescription": MessageLookupByLibrary.simpleMessage(
@@ -1258,7 +1256,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("New shared photos"),
"sharedPhotoNotificationsExplanation": MessageLookupByLibrary.simpleMessage(
"Receive notifications when someone adds a photo to a shared album that you\'re a part of"),
"sharedWith": m53,
"sharedWith": m52,
"sharedWithMe": MessageLookupByLibrary.simpleMessage("Shared with me"),
"sharedWithYou":
MessageLookupByLibrary.simpleMessage("Shared with you"),
@@ -1272,11 +1270,11 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Sign out other devices"),
"signUpTerms": MessageLookupByLibrary.simpleMessage(
"I agree to the <u-terms>terms of service</u-terms> and <u-policy>privacy policy</u-policy>"),
"singleFileDeleteFromDevice": m54,
"singleFileDeleteFromDevice": m53,
"singleFileDeleteHighlight": MessageLookupByLibrary.simpleMessage(
"It will be deleted from all albums."),
"singleFileInBothLocalAndRemote": m55,
"singleFileInRemoteOnly": m56,
"singleFileInBothLocalAndRemote": m54,
"singleFileInRemoteOnly": m55,
"skip": MessageLookupByLibrary.simpleMessage("Skip"),
"social": MessageLookupByLibrary.simpleMessage("Social"),
"someItemsAreInBothEnteAndYourDevice":
@@ -1314,13 +1312,13 @@ class MessageLookup extends MessageLookupByLibrary {
"storage": MessageLookupByLibrary.simpleMessage("Storage"),
"storageBreakupFamily": MessageLookupByLibrary.simpleMessage("Family"),
"storageBreakupYou": MessageLookupByLibrary.simpleMessage("You"),
"storageInGB": m57,
"storageInGB": m56,
"storageLimitExceeded":
MessageLookupByLibrary.simpleMessage("Storage limit exceeded"),
"storageUsageInfo": m58,
"storageUsageInfo": m57,
"strongStrength": MessageLookupByLibrary.simpleMessage("Strong"),
"subAlreadyLinkedErrMessage": m59,
"subWillBeCancelledOn": m60,
"subAlreadyLinkedErrMessage": m58,
"subWillBeCancelledOn": m59,
"subscribe": MessageLookupByLibrary.simpleMessage("Subscribe"),
"subscribeToEnableSharing": MessageLookupByLibrary.simpleMessage(
"Looks like your subscription has expired. Please subscribe to enable sharing."),
@@ -1337,7 +1335,7 @@ class MessageLookup extends MessageLookupByLibrary {
"suggestFeatures":
MessageLookupByLibrary.simpleMessage("Suggest features"),
"support": MessageLookupByLibrary.simpleMessage("Support"),
"syncProgress": m61,
"syncProgress": m60,
"syncStopped": MessageLookupByLibrary.simpleMessage("Sync stopped"),
"syncing": MessageLookupByLibrary.simpleMessage("Syncing..."),
"systemTheme": MessageLookupByLibrary.simpleMessage("System"),
@@ -1363,7 +1361,7 @@ class MessageLookup extends MessageLookupByLibrary {
"theseItemsWillBeDeletedFromYourDevice":
MessageLookupByLibrary.simpleMessage(
"These items will be deleted from your device."),
"theyAlsoGetXGb": m62,
"theyAlsoGetXGb": m61,
"theyWillBeDeletedFromAllAlbums": MessageLookupByLibrary.simpleMessage(
"They will be deleted from all albums."),
"thisActionCannotBeUndone": MessageLookupByLibrary.simpleMessage(
@@ -1379,7 +1377,7 @@ class MessageLookup extends MessageLookupByLibrary {
"This email is already in use"),
"thisImageHasNoExifData":
MessageLookupByLibrary.simpleMessage("This image has no exif data"),
"thisIsPersonVerificationId": m63,
"thisIsPersonVerificationId": m62,
"thisIsYourVerificationId": MessageLookupByLibrary.simpleMessage(
"This is your Verification ID"),
"thisWillLogYouOutOfTheFollowingDevice":
@@ -1395,7 +1393,7 @@ class MessageLookup extends MessageLookupByLibrary {
"total": MessageLookupByLibrary.simpleMessage("total"),
"totalSize": MessageLookupByLibrary.simpleMessage("Total size"),
"trash": MessageLookupByLibrary.simpleMessage("Trash"),
"trashDaysLeft": m64,
"trashDaysLeft": m63,
"tryAgain": MessageLookupByLibrary.simpleMessage("Try again"),
"turnOnBackupForAutoUpload": MessageLookupByLibrary.simpleMessage(
"Turn on backup to automatically upload files added to this device folder to ente."),
@@ -1447,7 +1445,7 @@ class MessageLookup extends MessageLookupByLibrary {
"useSelectedPhoto":
MessageLookupByLibrary.simpleMessage("Use selected photo"),
"usedSpace": MessageLookupByLibrary.simpleMessage("Used space"),
"validTill": m65,
"validTill": m64,
"verificationFailedPleaseTryAgain":
MessageLookupByLibrary.simpleMessage(
"Verification failed, please try again"),
@@ -1455,7 +1453,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Verification ID"),
"verify": MessageLookupByLibrary.simpleMessage("Verify"),
"verifyEmail": MessageLookupByLibrary.simpleMessage("Verify email"),
"verifyEmailID": m66,
"verifyEmailID": m65,
"verifyIDLabel": MessageLookupByLibrary.simpleMessage("Verify"),
"verifyPasskey": MessageLookupByLibrary.simpleMessage("Verify passkey"),
"verifyPassword":
@@ -1486,11 +1484,11 @@ class MessageLookup extends MessageLookupByLibrary {
"weDontSupportEditingPhotosAndAlbumsThatYouDont":
MessageLookupByLibrary.simpleMessage(
"We don\'t support editing photos and albums that you don\'t own yet"),
"weHaveSendEmailTo": m67,
"weHaveSendEmailTo": m66,
"weakStrength": MessageLookupByLibrary.simpleMessage("Weak"),
"welcomeBack": MessageLookupByLibrary.simpleMessage("Welcome back!"),
"yearly": MessageLookupByLibrary.simpleMessage("Yearly"),
"yearsAgo": m68,
"yearsAgo": m67,
"yes": MessageLookupByLibrary.simpleMessage("Yes"),
"yesCancel": MessageLookupByLibrary.simpleMessage("Yes, cancel"),
"yesConvertToViewer":
@@ -1520,7 +1518,7 @@ class MessageLookup extends MessageLookupByLibrary {
"You cannot share with yourself"),
"youDontHaveAnyArchivedItems": MessageLookupByLibrary.simpleMessage(
"You don\'t have any archived items."),
"youHaveSuccessfullyFreedUp": m69,
"youHaveSuccessfullyFreedUp": m68,
"yourAccountHasBeenDeleted": MessageLookupByLibrary.simpleMessage(
"Your account has been deleted"),
"yourMap": MessageLookupByLibrary.simpleMessage("Your map"),