π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Copy changes
Neeraj Guptafbf2a2bb2323
diff --git a/mobile/lib/emergency/emergency_page.dart b/mobile/lib/emergency/emergency_page.dartindex 863e9e0e1d..535a78b366 100644--- a/mobile/lib/emergency/emergency_page.dart+++ b/mobile/lib/emergency/emergency_page.dart@@ -9,7 +9,6 @@ import "package:photos/emergency/other_contact_page.dart";import "package:photos/emergency/select_contact_page.dart";import "package:photos/generated/l10n.dart";import "package:photos/l10n/l10n.dart";-import "package:photos/service_locator.dart";import "package:photos/theme/colors.dart";import 'package:photos/theme/ente_theme.dart';import "package:photos/ui/common/loading_widget.dart";@@ -493,8 +492,7 @@ class _EmergencyPageState extends State<EmergencyPage> {isInAlert: true,),],- body:- "You have been invited to be a legacy contact by ${contact.user.email}",+ body: context.l10n.trustedInviteBody(contact.user.email),actionSheetType: ActionSheetType.defaultActionSheet,);return;@@ -546,7 +544,7 @@ class _EmergencyPageState extends State<EmergencyPage> {isInAlert: true,),],- body: "$emergencyContactEmail is trying to recover your accountx.",+ body: context.l10n.recoveryWarningBody(emergencyContactEmail),actionSheetType: ActionSheetType.defaultActionSheet,);return;diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dartindex bc436d83de..6d2aa31a8f 100644--- a/mobile/lib/generated/intl/messages_en.dart+++ b/mobile/lib/generated/intl/messages_en.dart@@ -163,6 +163,8 @@ class MessageLookup extends MessageLookupByLibrary {static String m84(email) =>"You can now recover ${email}\'s account by setting a new password.";+ static String m85(email) => "${email} is trying to recover your account.";+static String m53(storageInGB) =>"3. Both of you get ${storageInGB} GB* free";@@ -230,6 +232,9 @@ class MessageLookup extends MessageLookupByLibrary {static String m73(count) =>"${Intl.plural(count, zero: 'Soon', one: '1 day', other: '${count} days')}";+ static String m86(email) =>+ "You have been invited to be a legacy contact by ${email}.";+static String m74(galleryType) =>"Type of gallery ${galleryType} is not supported for rename";@@ -1380,6 +1385,7 @@ class MessageLookup extends MessageLookupByLibrary {MessageLookupByLibrary.simpleMessage("Recovery successful!"),"recoveryWarning": MessageLookupByLibrary.simpleMessage("A trusted contact is trying to access your account"),+ "recoveryWarningBody": m85,"recreatePasswordBody": MessageLookupByLibrary.simpleMessage("The current device is not powerful enough to verify your password, but we can regenerate in a way that works with all devices.\n\nPlease login using your recovery key and regenerate your password (you can use the same one again if you wish)."),"recreatePasswordTitle":@@ -1766,6 +1772,7 @@ class MessageLookup extends MessageLookupByLibrary {"trim": MessageLookupByLibrary.simpleMessage("Trim"),"trustedContacts":MessageLookupByLibrary.simpleMessage("Trusted contacts"),+ "trustedInviteBody": m86,"tryAgain": MessageLookupByLibrary.simpleMessage("Try again"),"turnOnBackupForAutoUpload": MessageLookupByLibrary.simpleMessage("Turn on backup to automatically upload files added to this device folder to Ente."),diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dartindex 8b34e16c1f..ff00c23a90 100644--- a/mobile/lib/generated/l10n.dart+++ b/mobile/lib/generated/l10n.dart@@ -10708,6 +10708,26 @@ class S {args: [email],);}++ /// `{email} is trying to recover your account.`+ String recoveryWarningBody(Object email) {+ return Intl.message(+ '$email is trying to recover your account.',+ name: 'recoveryWarningBody',+ desc: '',+ args: [email],+ );+ }++ /// `You have been invited to be a legacy contact by {email}.`+ String trustedInviteBody(Object email) {+ return Intl.message(+ 'You have been invited to be a legacy contact by $email.',+ name: 'trustedInviteBody',+ desc: '',+ args: [email],+ );+ }}class AppLocalizationDelegate extends LocalizationsDelegate<S> {diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arbindex d71b58a314..8066c5a092 100644--- a/mobile/lib/l10n/intl_en.arb+++ b/mobile/lib/l10n/intl_en.arb@@ -1556,5 +1556,7 @@"example": "[email protected]"}}- }+ },+ "recoveryWarningBody": "{email} is trying to recover your account.",+ "trustedInviteBody": "You have been invited to be a legacy contact by {email}."}\ No newline at end of file