Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Copy change

Neeraj Guptae6a2cb0e5772
diff --git a/mobile/lib/emergency/other_contact_page.dart b/mobile/lib/emergency/other_contact_page.dart
index a5602c979f..f6f6787911 100644
--- a/mobile/lib/emergency/other_contact_page.dart
+++ b/mobile/lib/emergency/other_contact_page.dart
@@ -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(
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart
index b6001f1464..bc436d83de 100644
--- a/mobile/lib/generated/intl/messages_en.dart
+++ b/mobile/lib/generated/intl/messages_en.dart
@@ -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(
diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart
index 5442d1fa87..8b34e16c1f 100644
--- a/mobile/lib/generated/l10n.dart
+++ b/mobile/lib/generated/l10n.dart
@@ -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> {
diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb
index 42ee235a4f..d71b58a314 100644
--- a/mobile/lib/l10n/intl_en.arb
+++ b/mobile/lib/l10n/intl_en.arb
@@ -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": "[email protected]"
+ }
+ }
+ }
}
\ No newline at end of file