π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
extract strings
AmanRajSinghMourya13fe63187d4c
diff --git a/mobile/packages/legacy/lib/pages/emergency_page.dart b/mobile/packages/legacy/lib/pages/emergency_page.dartindex 37d932d837..6c4557d105 100644--- a/mobile/packages/legacy/lib/pages/emergency_page.dart+++ b/mobile/packages/legacy/lib/pages/emergency_page.dart@@ -34,10 +34,6 @@ import "package:intl/intl.dart";import "package:logging/logging.dart";final _logger = Logger("EmergencyPage");-const _legacyEmptyStateDescription =- "In your absence, Legacy helps your loved ones access your information on Locker.";-const _legacyKitRecoveryWarning =- "Someone is trying to recover your account using a legacy kit";class EmergencyPage extends StatefulWidget {final BaseConfiguration config;@@ -126,10 +122,12 @@ class _EmergencyPageState extends State<EmergencyPage> {backgroundColor: colors.backgroundBase,slivers: [if (info != null && hasActiveLegacyKitRecovery)- const SliverPadding(- padding: EdgeInsets.only(top: 20, left: 16, right: 16),+ SliverPadding(+ padding: const EdgeInsets.only(top: 20, left: 16, right: 16),sliver: SliverToBoxAdapter(- child: _WarningBanner(text: _legacyKitRecoveryWarning),+ child: _WarningBanner(+ text: context.strings.legacyKitRecoveryWarning,+ ),),),if (showFullEmptyState)@@ -851,7 +849,7 @@ class _FullLegacyEmptyState extends StatelessWidget {),const SizedBox(height: 24),Text(- _legacyEmptyStateDescription,+ context.strings.legacyEmptyStateDescription,textAlign: TextAlign.center,style: TextStyles.body.copyWith(color: colorScheme.textMuted),),@@ -990,7 +988,7 @@ class _TrustedContactsEmptyCard extends StatelessWidget {),const SizedBox(height: 12),Text(- "Nominate another Ente user as a trusted contact to recover your account",+ context.strings.trustedContactsEmptyDescription,textAlign: TextAlign.center,style: TextStyles.body.copyWith(color: colorScheme.textMuted),),@@ -1040,7 +1038,7 @@ class _LegacyKitEmptyCard extends StatelessWidget {),const SizedBox(height: 12),Text(- "Enable people you trust to come together to recover your account",+ context.strings.legacyKitEmptyDescription,textAlign: TextAlign.center,style: TextStyles.body.copyWith(color: colorScheme.textMuted),),diff --git a/mobile/packages/strings/lib/l10n/arb/strings_en.arb b/mobile/packages/strings/lib/l10n/arb/strings_en.arbindex 8561474177..6f8e769cfb 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_en.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_en.arb@@ -897,7 +897,6 @@"createLegacyKit": "Create legacy kit","createAnotherKit": "Create another kit","createKit": "Create kit",- "legacyKitCreateDescription": "Name the three people who will each hold a part of your account recovery.","legacyKitContactNameHint": "Contact {index} - e.g. {example}","@legacyKitContactNameHint": {"placeholders": {@@ -921,25 +920,7 @@}},"legacyKitStorageGuidance": "Store each sheet separately. Printed sheets can be disabled later by deleting the kit.",- "legacyKitPageDescription": "Name the three people who will each hold a part of your recovery key.",- "legacyKitPartOf": "Part {index} of {count}",- "@legacyKitPartOf": {- "placeholders": {- "index": {- "type": "int",- "example": "1"- },- "count": {- "type": "int",- "example": "3"- }- }- },"recoveryWaitTime": "Recovery wait time",- "recoverySheets": "Recovery sheets",- "downloadAll": "Download all",- "legacyKitSheetDownloaded": "Recovery sheet downloaded",- "deleteLegacyKit": "Delete legacy kit","deleteLegacyKitMessage": "Shared sheets can no longer be used for recovery","blockLegacyKitRecoveryMessage": "Block the current recovery attempt\nNote that they can start a new recovery attempt","legacyKitRecoveryInProgress": "Recovery in progress",@@ -975,9 +956,14 @@}}},- "legacyKitDownloaded": "Legacy kit downloaded","legacyKitMaxReached": "You can create up to 5 legacy kits.","authToManageLegacyKit": "Authenticate to manage legacy kits",+ "legacyEmptyStateDescription": "In your absence, Legacy helps your loved ones access your information on Locker.",+ "legacyKitRecoveryWarning": "Someone is trying to recover your account using a legacy kit",+ "trustedContactsEmptyDescription": "Nominate another Ente user as a trusted contact to recover your account",+ "legacyKitEmptyDescription": "Enable people you trust to come together to recover your account",+ "recoveryWaitTimeDescription": "How soon is account recovery possible after the legacy kit is scanned?",+ "recoveryWaitTimeChangeWarning": "Changing this will cancel any ongoing attempts.","legacyIntroTitle": "Help loved ones access important information, in your absence.","legacyIntroCard1": "We give you 3 cards","legacyIntroCard2": "Share them with\n3 people you trust",