Skip to content

Commit

Permalink
More translations
Browse files Browse the repository at this point in the history
  • Loading branch information
matthinc committed Jun 23, 2022
1 parent 821eca6 commit f08ec52
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 41 deletions.
101 changes: 70 additions & 31 deletions mobile/assets/i18n/de-DE.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,81 @@
{
"date_format": "E, LLL d, y \u2022 HH:mm",
"asset_description": "Beschreibung hinzufügen...",
"asset_details": "DETAILS",
"asset_err_corrupted": "Fehler bei der Darstellung - Daten sind beschädigt",
"asset_location": "STANDORT",
"backup_album_excluded": "AUSGESCHLOSSEN",
"backup_album_included": "EINGESCHLOSSEN",
"backup_albums": "Gesicherte Alben",
"backup_albums_device": "Alben auf dem Gerät",
"backup_albums_tap": "Tippe um hinzuzufügen, tippe doppelt um zu entfernen",
"backup_all": "Alle",
"backup_assets": "Gesicherte Einträge: ",
"backup_backup": "Sicherung",
"backup_backup_sub": "Gesicherte Fotos und Videos",
"backup_cancel": "Abbrechen",
"backup_done": "Fertig",
"backup_err_only_album": "Kann das einzige Album nicht löschen",
"backup_excluded": "Ausgeschlossen: ",
"backup_info": "Über die Sicherung",
"backup_info_assets": "Einträge",
"backup_info_assets_scatter": "Dateien können sich über mehrere Alben verteilen.Daher können Alben während des Backup Prozesses inkludiert oder exkludiert werden.",
"backup_none_selected": "Nichts ausgewählt",
"backup_progress": "Backup Fortschritt: ",
"backup_remainder": "Übrig: ",
"backup_remainder_sub": "Noch nicht gesicherte Fotos und Videos aus gewählten Alben ",
"backup_select": "Auswählen",
"backup_select_albums": "Wähle Alben aus",
"backup_selected": "Ausgewählt: ",
"backup_selection_info": "Auswahl Informationen",
"backup_server_storage": "Speicherplatz auf dem Server",
"backup_status_off": "Sicherung deaktiviert",
"backup_status_on": "Sicherung aktiviert",
"backup_storage_format": "{} von {} genutzt",
"backup_to_backup": "Zu sichernde Alben",
"backup_total": "Gesamt",
"backup_total_assets": "Gesamtzahl",
"backup_total_sub": "Alle Fotos und Videos aus gewählten Alben",
"backup_turn_off": "Sicherung deaktivieren",
"backup_turn_on": "Sicherung aktivieren",
"create_shared_album": "Geteiltes Album erstellen",
"date_format": "E, LLL d, y • HH:mm",
"desc_backup": "Aktiviere automatische Sicherung auf den Server.",
"login_button_text": "Anmelden",
"save_login": "Angemeldet bleiben",
"login_endpoint_url": "Server URL",
"login_email_hint": "deine@email.com",
"login_endpoint_hint": "http://dein-server:port",
"login_err_trailing_whitespace": "Abschlie\u00dfendes Leerzeichen",
"login_err_leading_whitespace": "F\u00fchrendes Leerzeichen",
"login_err_invalid_email": "Ung\u00fcltige Email-Adresse",
"login_endpoint_url": "Server URL",
"login_err_http": "Muss mit http:// oder https:// starten",
"login_err_invalid_email": "Ungültige Email-Adresse",
"login_err_leading_whitespace": "Führendes Leerzeichen",
"login_err_trailing_whitespace": "Abschließendes Leerzeichen",
"login_label_email": "Email-Adresse",
"login_email_hint": "deine@email.com",
"login_label_password": "Passwort",
"login_password_hint": "passwort",
"share_add_title": "Titel hinzuf\u00fcgen",
"share_err_delete": "Fehler beim L\u00f6schen des Albums",
"nav_photos": "Fotos",
"nav_search": "Suche",
"nav_sharing": "Freigabe",
"save_login": "Angemeldet bleiben",
"share_add": "Hinzufügen",
"share_add_assets": "EINTRÄGE HINZUFÜGEN",
"share_add_photos": "Fotos hinzufügen",
"share_add_title": "Titel hinzufügen",
"share_add_users": "Nutzer hinzufügen",
"share_album": "Geteilte Alben",
"share_create_album": "Album erstellen",
"share_delete": "Album löschen",
"share_description": "Erstelle geteilte Alben um Fotos und Videos mit Menschen aus deinem Netzwerk zu teilen.",
"share_empty_list": "LEERE LISTE",
"share_err_album": "Fehler beim Erstellen des Albums",
"share_err_delete": "Fehler beim Löschen des Albums",
"share_err_leave": "Fehler beim Verlassen des Albums",
"share_err_remove": "Eintr\u00e4ge konnten nicht aus dem Album gel\u00f6scht werden",
"share_err_title": "Fehler beim \u00c4ndern des Titels",
"share_remove": "Aus Album entfernen",
"share_delete": "Album l\u00f6schen",
"share_err_remove": "Einträge konnten nicht aus dem Album gelöscht werden",
"share_err_title": "Fehler beim Ändern des Titels",
"share_invite": "Zum Album einladen",
"share_leave": "Album verlassen",
"create_shared_album": "Geteiltes Album erstellen",
"share_partner": "Mit Partner teilen",
"share_add_photos": "Fotos hinzuf\u00fcgen",
"share_add_users": "Nutzer hinzuf\u00fcgen",
"share_add": "Hinzuf\u00fcgen",
"share_add_assets": "EINTR\u00c4GE HINZUF\u00dcGEN",
"share_select_photos": "Fotos ausw\u00e4hlen",
"share_create_album": "Album erstellen",
"share_remove": "Aus Album entfernen",
"share_select_photos": "Fotos auswählen",
"share_share": "Teilen",
"share_suggestions": "Vorschl\u00e4ge",
"share_invite": "Zu Album einladen",
"share_err_album": "Fehler beim Erstellen des Albums",
"share_empty_list": "LEERE LISTE",
"share_description": "Erstelle geteilte Alben um Fotos und Videos mit Menschen aus deinem Netzwerk zu teilen.",
"share_album": "Geteilte Alben",
"asset_description": "Beschreibung hinzuf\u00fcgen...",
"asset_location": "STANDORT",
"asset_details": "DETAILS",
"asset_err_corrupted": "Fehler bei der Darstellung - Daten sind besch\u00e4digt"
}
"share_suggestions": "Vorschläge",
"start_backup": "Starte Backup"
}
10 changes: 7 additions & 3 deletions mobile/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"backup_backup_sub": "Photos and videos from selected albums that are backup",
"backup_remainder": "Remainder",
"backup_remainder_sub": "Photos and videos that has not been backing up from selected albums",
"backup_assets": "Asset that were being backup: ",
"backup_assets": "Asset that were being backup: {}",
"backup_progress": "Backup Progress:",
"backup_done": "Done",
"backup_cancel": "Cancel",
Expand All @@ -71,7 +71,11 @@
"backup_select_albums": "Select Albums",
"backup_selection_info": "Selection Info",
"backup_total_assets": "Total unique assets",
"backup_albums_device": "Albums on device ",
"backup_albums_device": "Albums on device ({})",
"backup_albums_tap": "Tap to include, double tap to exclude",
"backup_info_assets_scatter": "Assets can scatter across multiple albums. Thus, albums can be included or excluded during the backup process."
"backup_info_assets_scatter": "Assets can scatter across multiple albums. Thus, albums can be included or excluded during the backup process.",
"backup_storage_format": "{} of {} used",
"nav_photos": "Photos",
"nav_search": "Search",
"nav_sharing": "Sharing"
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class BackupAlbumSelectionPage extends HookConsumerWidget {

ListTile(
title: Text(
"backup_albums_device".tr() + "(${availableAlbums.length.toString()})",
"backup_albums_device".tr(args: [availableAlbums.length.toString()]),
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 14),
),
subtitle: Padding(
Expand Down
4 changes: 2 additions & 2 deletions mobile/lib/modules/backup/views/backup_controller_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class BackupControllerPage extends HookConsumerWidget {
),
Padding(
padding: const EdgeInsets.only(top: 12.0),
child: Text('${backupState.serverInfo.diskUse} of ${backupState.serverInfo.diskSize} used'),
child: Text('backup_storage_format').tr(args: [backupState.serverInfo.diskUse, backupState.serverInfo.diskSize]),
),
],
),
Expand Down Expand Up @@ -275,7 +275,7 @@ class BackupControllerPage extends HookConsumerWidget {
Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
"backup_assets".tr() + "${backupState.allUniqueAssets.length - backupState.selectedAlbumsBackupAssetsIds.length} [${backupState.progressInPercentage.toStringAsFixed(0)}%]"),
"backup_assets".tr(args: ["${backupState.allUniqueAssets.length - backupState.selectedAlbumsBackupAssetsIds.length} [${backupState.progressInPercentage.toStringAsFixed(0)}%]"])),
),
Padding(
padding: const EdgeInsets.only(left: 8.0),
Expand Down
9 changes: 5 additions & 4 deletions mobile/lib/shared/views/tab_controller_page.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:auto_route/auto_route.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:immich_mobile/modules/home/providers/home_page_state.provider.dart';
Expand Down Expand Up @@ -38,10 +39,10 @@ class TabControllerPage extends ConsumerWidget {
onTap: (index) {
tabsRouter.setActiveIndex(index);
},
items: const [
BottomNavigationBarItem(label: 'Photos', icon: Icon(Icons.photo)),
BottomNavigationBarItem(label: 'Search', icon: Icon(Icons.search)),
BottomNavigationBarItem(label: 'Sharing', icon: Icon(Icons.group_outlined)),
items: [
BottomNavigationBarItem(label: 'nav_photos'.tr(), icon: const Icon(Icons.photo)),
BottomNavigationBarItem(label: 'nav_search'.tr(), icon: const Icon(Icons.search)),
BottomNavigationBarItem(label: 'nav_sharing'.tr(), icon: const Icon(Icons.group_outlined)),
],
),
),
Expand Down

0 comments on commit f08ec52

Please sign in to comment.