[mob] Copy change

This commit is contained in:
Neeraj Gupta
2024-12-10 20:53:17 +05:30
parent 1547b04ddf
commit e6a2cb0e57
4 changed files with 25 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ class _OtherContactPageState extends State<OtherContactPage> {
)
: (recoverySession!.status == "READY"
? Text(
"You can recover $accountEmail's account now.\nPlease note, you can only recover the account once. You will need to start the recovery process again to recover the account again.",
context.l10n.recoveryReady(accountEmail),
style: textTheme.body,
)
: Text(

View File

@@ -160,6 +160,9 @@ class MessageLookup extends MessageLookupByLibrary {
static String m83(days, email) =>
"You can access the account after ${days} days. A notification will be sent to ${email}.";
static String m84(email) =>
"You can now recover ${email}\'s account by setting a new password.";
static String m53(storageInGB) =>
"3. Both of you get ${storageInGB} GB* free";
@@ -1372,6 +1375,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Recovery key verified"),
"recoveryKeyVerifyReason": MessageLookupByLibrary.simpleMessage(
"Your recovery key is the only way to recover your photos if you forget your password. You can find your recovery key in Settings > Account.\n\nPlease enter your recovery key here to verify that you have saved it correctly."),
"recoveryReady": m84,
"recoverySuccessful":
MessageLookupByLibrary.simpleMessage("Recovery successful!"),
"recoveryWarning": MessageLookupByLibrary.simpleMessage(

View File

@@ -10698,6 +10698,16 @@ class S {
args: [],
);
}
/// `You can now recover {email}'s account by setting a new password.`
String recoveryReady(String email) {
return Intl.message(
'You can now recover $email\'s account by setting a new password.',
name: 'recoveryReady',
desc: '',
args: [email],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {

View File

@@ -1547,5 +1547,14 @@
"recoveryAccount":"Recover account",
"cancelAccountRecoveryBody": "Are you sure you want to cancel recovery?",
"startAccountRecoveryTitle": "Start recovery",
"whyAddTrustContact": "Trusted contact can help in recovering your data."
"whyAddTrustContact": "Trusted contact can help in recovering your data.",
"recoveryReady": "You can now recover {email}'s account by setting a new password.",
"@recoveryReady": {
"placeholders": {
"email": {
"type": "String",
"example": "me@example.com"
}
}
}
}