1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-14 07:04:24 +02:00

chore(mobile): added 'corrupt asset check' translation item (#14402)

This commit is contained in:
System Tester
2024-12-03 04:14:12 +10:00
committed by GitHub
parent 1bb6926b5e
commit ba71fd42da
2 changed files with 6 additions and 3 deletions

View File

@ -54,7 +54,7 @@ class BackupSettings extends HookConsumerWidget {
if (Platform.isAndroid && isAdvancedTroubleshooting.value)
SettingsButtonListTile(
icon: Icons.warning_rounded,
title: 'Check for corrupt asset backups',
title: 'check_corrupt_asset_backup'.tr(),
subtitle: isCorruptCheckInProgress
? const Column(
children: [
@ -65,9 +65,9 @@ class BackupSettings extends HookConsumerWidget {
)
: null,
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,
buttonText: 'Perform check',
buttonText: 'check_corrupt_asset_backup_button'.tr(),
onButtonTap: !isCorruptCheckInProgress
? () => ref
.read(backupVerificationProvider.notifier)