Skip to content

armgit / ente

Public Imported from GitHub
0

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

Move backup copy to l10n

Prateek Sunal90538aa89458
diff --git a/mobile/apps/auth/lib/l10n/arb/app_en.arb b/mobile/apps/auth/lib/l10n/arb/app_en.arb
index 3ed16295d4..3a950b3fb8 100644
--- a/mobile/apps/auth/lib/l10n/arb/app_en.arb
+++ b/mobile/apps/auth/lib/l10n/arb/app_en.arb
@@ -544,6 +544,7 @@
"localBackupSidebarTitle": "Local backup",
"enableAutomaticBackups": "Automatic backups",
"backupDescription": "This will automatically backup your data to an on-device location. Backups are updated whenever entries are added, edited or deleted",
+ "localBackupDailyManualCopy": "Creates one local backup per day when you open the app. Use \"Backup now\" to run a manual backup. Backups are retained up to 5 files.",
"currentLocation": "Current backup location:",
"securityNotice": "Security notice",
"backupSecurityNotice": "This encrypted backup holds your 2FA keys. If lost, you may not be able to recover your accounts. Keep it safe!",
diff --git a/mobile/apps/auth/lib/ui/settings/data/local_backup_settings_page.dart b/mobile/apps/auth/lib/ui/settings/data/local_backup_settings_page.dart
index 9c2c5e503e..0493712403 100644
--- a/mobile/apps/auth/lib/ui/settings/data/local_backup_settings_page.dart
+++ b/mobile/apps/auth/lib/ui/settings/data/local_backup_settings_page.dart
@@ -4,12 +4,8 @@ import 'package:ente_auth/ui/components/captioned_text_widget.dart';
import 'package:ente_auth/ui/components/menu_item_widget.dart';
import 'package:ente_auth/ui/components/toggle_switch_widget.dart';
import 'package:ente_auth/ui/settings/data/local_backup/local_backup_experience.dart';
-import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
-const _autoBackupToggleCopy =
- 'Creates one local backup per day when you open the app. Use "Backup now" to run an extra manual backup at any time. Backups are retained up to 5 files.';
-
class LocalBackupSettingsPage extends StatelessWidget {
const LocalBackupSettingsPage({super.key});
@@ -47,7 +43,7 @@ class LocalBackupSettingsPage extends StatelessWidget {
Padding(
padding: const EdgeInsets.only(top: 12, left: 12, right: 12),
child: Text(
- _autoBackupToggleCopy,
+ l10n.localBackupDailyManualCopy,
style: textTheme.miniFaint,
),
),