1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

chore(mobile): added 'ignore_icloud' translation item (#12788)

impr: added 'ignore_icloud' translation item
This commit is contained in:
rgomulin 2024-10-09 19:06:16 +03:00 committed by GitHub
parent 7561d41a6a
commit 057510af0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -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: ",

View file

@ -589,4 +589,4 @@
"viewer_remove_from_stack": "Удалить из стека",
"viewer_stack_use_as_main_asset": "Использовать в качестве основного объекта",
"viewer_unstack": "Разобрать стек"
}
}

View file

@ -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(