From 7aa2e6a1d8bb84ac97fa1aebdacf796bc8a4b1f7 Mon Sep 17 00:00:00 2001 From: Roman Gomulin Date: Thu, 19 Sep 2024 14:48:36 +0300 Subject: [PATCH] impr: added 'ignore_icloud' translation item --- mobile/assets/i18n/en-US.json | 2 ++ mobile/assets/i18n/ru-RU.json | 2 ++ .../lib/widgets/settings/backup_settings/backup_settings.dart | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mobile/assets/i18n/en-US.json b/mobile/assets/i18n/en-US.json index 324c9069fdf46..ede307a442d27 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", + "backup_controller_page_ignore_icloud_photos": "Ignore iCloud photos", + "backup_controller_page_ignore_icloud_photos_desc": "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..150eb9b2028f4 100644 --- a/mobile/assets/i18n/ru-RU.json +++ b/mobile/assets/i18n/ru-RU.json @@ -92,6 +92,8 @@ "backup_controller_page_background_is_on": "Автоматическое резервное копирование в фоновом режиме включено", "backup_controller_page_background_turn_off": "Выключить фоновую службу", "backup_controller_page_background_turn_on": "Включить фоновую службу", + "backup_controller_page_ignore_icloud_photos": "Игнорировать фотографии в iCloud", + "backup_controller_page_ignore_icloud_photos_desc": "Фотографии, которые сохранены в iCloud, не будут загружаться на сервер Immich", "backup_controller_page_background_wifi": "Только через WiFi", "backup_controller_page_backup": "Резервное копирование", "backup_controller_page_backup_selected": "Выбрано: ", diff --git a/mobile/lib/widgets/settings/backup_settings/backup_settings.dart b/mobile/lib/widgets/settings/backup_settings/backup_settings.dart index c093e8f1e3c98..46c28c28034c1 100644 --- a/mobile/lib/widgets/settings/backup_settings/backup_settings.dart +++ b/mobile/lib/widgets/settings/backup_settings/backup_settings.dart @@ -48,9 +48,9 @@ class BackupSettings extends HookConsumerWidget { if (Platform.isIOS) SettingsSwitchListTile( valueNotifier: ignoreIcloudAssets, - title: 'Ignore iCloud photos', + title: 'backup_controller_page_ignore_icloud_photos'.tr(), subtitle: - 'Photos that are stored on iCloud will not be uploaded to the Immich server', + 'backup_controller_page_ignore_icloud_photos_desc'.tr(), ), if (Platform.isAndroid && isAdvancedTroubleshooting.value) SettingsButtonListTile(