From 057510af0a253b4aaf606906b13a98bd554a922a Mon Sep 17 00:00:00 2001 From: rgomulin Date: Wed, 9 Oct 2024 19:06:16 +0300 Subject: [PATCH] chore(mobile): added 'ignore_icloud' translation item (#12788) impr: added 'ignore_icloud' translation item --- mobile/assets/i18n/en-US.json | 2 ++ mobile/assets/i18n/ru-RU.json | 2 +- .../widgets/settings/backup_settings/backup_settings.dart | 5 ++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mobile/assets/i18n/en-US.json b/mobile/assets/i18n/en-US.json index ac5bd73604bc2..477dfbd39ff13 100644 --- a/mobile/assets/i18n/en-US.json +++ b/mobile/assets/i18n/en-US.json @@ -92,6 +92,8 @@ "backup_controller_page_background_is_on": "Automatic background backup is on", "backup_controller_page_background_turn_off": "Turn off background service", "backup_controller_page_background_turn_on": "Turn on background service", + "ignore_icloud_photos": "Ignore iCloud photos", + "ignore_icloud_photos_description": "Photos that are stored on iCloud will not be uploaded to the Immich server", "backup_controller_page_background_wifi": "Only on WiFi", "backup_controller_page_backup": "Backup", "backup_controller_page_backup_selected": "Selected: ", diff --git a/mobile/assets/i18n/ru-RU.json b/mobile/assets/i18n/ru-RU.json index 1c5741a963ef2..d8c7da5eb313f 100644 --- a/mobile/assets/i18n/ru-RU.json +++ b/mobile/assets/i18n/ru-RU.json @@ -589,4 +589,4 @@ "viewer_remove_from_stack": "Удалить из стека", "viewer_stack_use_as_main_asset": "Использовать в качестве основного объекта", "viewer_unstack": "Разобрать стек" -} \ No newline at end of file +} diff --git a/mobile/lib/widgets/settings/backup_settings/backup_settings.dart b/mobile/lib/widgets/settings/backup_settings/backup_settings.dart index c093e8f1e3c98..2cecba6c4bdd2 100644 --- a/mobile/lib/widgets/settings/backup_settings/backup_settings.dart +++ b/mobile/lib/widgets/settings/backup_settings/backup_settings.dart @@ -48,9 +48,8 @@ class BackupSettings extends HookConsumerWidget { if (Platform.isIOS) SettingsSwitchListTile( valueNotifier: ignoreIcloudAssets, - title: 'Ignore iCloud photos', - subtitle: - 'Photos that are stored on iCloud will not be uploaded to the Immich server', + title: 'ignore_icloud_photos'.tr(), + subtitle: 'ignore_icloud_photos_description'.tr(), ), if (Platform.isAndroid && isAdvancedTroubleshooting.value) SettingsButtonListTile(