High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(mobile): Localized backup upload details page (#21136)
Arnau Mora01e39277e029
diff --git a/i18n/en.json b/i18n/en.jsonindex 7eb9ffbef6..5903d7850e 100644--- a/i18n/en.json+++ b/i18n/en.json@@ -652,6 +652,7 @@"backup_options_page_title": "Backup options","backup_setting_subtitle": "Manage background and foreground upload settings","backup_settings_subtitle": "Manage upload settings",+ "backup_upload_details_page_more_details": "Tap for more details","backward": "Backward","biometric_auth_enabled": "Biometric authentication enabled","biometric_locked_out": "You are locked out of biometric authentication",@@ -718,6 +719,7 @@"check_corrupt_asset_backup_button": "Perform check","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_logs": "Check Logs",+ "checksum": "Checksum","choose_matching_people_to_merge": "Choose matching people to merge","city": "City","clear": "Clear",@@ -1166,6 +1168,7 @@"header_settings_header_name_input": "Header name","header_settings_header_value_input": "Header value","headers_settings_tile_title": "Custom proxy headers",+ "height": "Height","hi_user": "Hi {name} ({email})","hide_all_people": "Hide all people","hide_gallery": "Hide gallery",@@ -1288,6 +1291,7 @@"local": "Local","local_asset_cast_failed": "Unable to cast an asset that is not uploaded to the server","local_assets": "Local Assets",+ "local_id": "Local ID","local_media_summary": "Local Media Summary","local_network": "Local network","local_network_sheet_info": "The app will connect to the server through this URL when using the specified Wi-Fi network",@@ -2218,6 +2222,7 @@"week": "Week","welcome": "Welcome","welcome_to_immich": "Welcome to Immich",+ "width": "Width","wifi_name": "Wi-Fi Name","workflow": "Workflow","wrong_pin_code": "Wrong PIN code",diff --git a/mobile/lib/pages/backup/drift_upload_detail.page.dart b/mobile/lib/pages/backup/drift_upload_detail.page.dartindex 1b8aa57eaa..612b6a8111 100644--- a/mobile/lib/pages/backup/drift_upload_detail.page.dart+++ b/mobile/lib/pages/backup/drift_upload_detail.page.dart@@ -98,7 +98,7 @@ class DriftUploadDetailPage extends ConsumerWidget {),),Text(- 'Tap for more details',+ "backup_upload_details_page_more_details".t(context: context),style: context.textTheme.bodySmall?.copyWith(color: context.colorScheme.onSurface.withValues(alpha: 0.6),),@@ -239,14 +239,20 @@ class FileDetailDialog extends ConsumerWidget {const SizedBox(height: 24),if (asset != null) ...[_buildInfoSection(context, [- _buildInfoRow(context, "Filename", path.basename(uploadStatus.filename)),- _buildInfoRow(context, "Local ID", asset.id),- _buildInfoRow(context, "File Size", formatHumanReadableBytes(uploadStatus.fileSize, 2)),- if (asset.width != null) _buildInfoRow(context, "Width", "${asset.width}px"),- if (asset.height != null) _buildInfoRow(context, "Height", "${asset.height}px"),- _buildInfoRow(context, "Created At", asset.createdAt.toString()),- _buildInfoRow(context, "Updated At", asset.updatedAt.toString()),- if (asset.checksum != null) _buildInfoRow(context, "Checksum", asset.checksum!),+ _buildInfoRow(context, "filename".t(context: context), path.basename(uploadStatus.filename)),+ _buildInfoRow(context, "local_id".t(context: context), asset.id),+ _buildInfoRow(+ context,+ "file_size".t(context: context),+ formatHumanReadableBytes(uploadStatus.fileSize, 2),+ ),+ if (asset.width != null) _buildInfoRow(context, "width".t(context: context), "${asset.width}px"),+ if (asset.height != null)+ _buildInfoRow(context, "height".t(context: context), "${asset.height}px"),+ _buildInfoRow(context, "created_at".t(context: context), asset.createdAt.toString()),+ _buildInfoRow(context, "updated_at".t(context: context), asset.updatedAt.toString()),+ if (asset.checksum != null)+ _buildInfoRow(context, "checksum".t(context: context), asset.checksum!),]),],],