mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
chore(mobile): added 'corrupt asset check' translation item (#14402)
This commit is contained in:
parent
1bb6926b5e
commit
ba71fd42da
2 changed files with 6 additions and 3 deletions
|
@ -154,6 +154,9 @@
|
||||||
"change_password_form_new_password": "New Password",
|
"change_password_form_new_password": "New Password",
|
||||||
"change_password_form_password_mismatch": "Passwords do not match",
|
"change_password_form_password_mismatch": "Passwords do not match",
|
||||||
"change_password_form_reenter_new_password": "Re-enter New Password",
|
"change_password_form_reenter_new_password": "Re-enter New Password",
|
||||||
|
"check_corrupt_asset_backup": "Check for corrupt asset backups",
|
||||||
|
"check_corrupt_asset_backup_description": "Run this check only over Wi-Fi and once all assets have been backed-up. The procedure might take a few minutes.",
|
||||||
|
"check_corrupt_asset_backup_button": "Perform check",
|
||||||
"client_cert_dialog_msg_confirm": "OK",
|
"client_cert_dialog_msg_confirm": "OK",
|
||||||
"client_cert_enter_password": "Enter Password",
|
"client_cert_enter_password": "Enter Password",
|
||||||
"client_cert_import": "Import",
|
"client_cert_import": "Import",
|
||||||
|
|
|
@ -54,7 +54,7 @@ class BackupSettings extends HookConsumerWidget {
|
||||||
if (Platform.isAndroid && isAdvancedTroubleshooting.value)
|
if (Platform.isAndroid && isAdvancedTroubleshooting.value)
|
||||||
SettingsButtonListTile(
|
SettingsButtonListTile(
|
||||||
icon: Icons.warning_rounded,
|
icon: Icons.warning_rounded,
|
||||||
title: 'Check for corrupt asset backups',
|
title: 'check_corrupt_asset_backup'.tr(),
|
||||||
subtitle: isCorruptCheckInProgress
|
subtitle: isCorruptCheckInProgress
|
||||||
? const Column(
|
? const Column(
|
||||||
children: [
|
children: [
|
||||||
|
@ -65,9 +65,9 @@ class BackupSettings extends HookConsumerWidget {
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
subtileText: !isCorruptCheckInProgress
|
subtileText: !isCorruptCheckInProgress
|
||||||
? 'Run this check only over Wi-Fi and once all assets have been backed-up. The procedure might take a few minutes.'
|
? 'check_corrupt_asset_backup_description'.tr()
|
||||||
: null,
|
: null,
|
||||||
buttonText: 'Perform check',
|
buttonText: 'check_corrupt_asset_backup_button'.tr(),
|
||||||
onButtonTap: !isCorruptCheckInProgress
|
onButtonTap: !isCorruptCheckInProgress
|
||||||
? () => ref
|
? () => ref
|
||||||
.read(backupVerificationProvider.notifier)
|
.read(backupVerificationProvider.notifier)
|
||||||
|
|
Loading…
Add table
Reference in a new issue