Skip to content

Commit

Permalink
WIP - translate missing and sort keys
Browse files Browse the repository at this point in the history
  • Loading branch information
grdddj committed Feb 7, 2024
1 parent d2ee3ab commit e30eded
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion core/tools/translations/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HERE = Path(__file__).parent
CORE = HERE.parent.parent

TRANSLATIONS_DIR = CORE / "embed" / "rust" / "src" / "ui" / "translations"
TRANSLATIONS_DIR = CORE / "translations"

ENGLISH_LANG = "en"
FOREIGN_LANGUAGES = ["cs", "de", "es", "fr"]
Expand Down
4 changes: 2 additions & 2 deletions core/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@
"joint__title": "SPOLEČNÁ TRANSAKCE",
"joint__to_the_total_amount": "Celkové částce:",
"joint__you_are_contributing": "Přispíváte:",
"language__title": "NASTAVENÍ JAZYKA",
"language__change_to": "Změnit jazyk na {}?",
"language__progress": "Probíhá změna jazyka",
"language__changed": "Jazyk byl úspěšně změněn",
"language__progress": "Probíhá změna jazyka",
"language__title": "NASTAVENÍ JAZYKA",
"lockscreen__tap_to_connect": "Klepněte pro připojení",
"lockscreen__tap_to_unlock": "Klepněte pro odemčení",
"lockscreen__title_locked": "ZAMKNUTO",
Expand Down
6 changes: 3 additions & 3 deletions core/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@
"homescreen__title_backup_needed": "BACKUP ERFORDERLICH",
"homescreen__title_coinjoin_authorized": "COINJOIN AUTORISIERT",
"homescreen__title_experimental_mode": "EXPERIMENTIERMODUS",
"homescreen__title_hold_to_lock": "ZUM SPERREN HALTEN",
"homescreen__title_no_usb_connection": "KEINE USB-VERBINDUNG",
"homescreen__title_pin_not_set": "PIN NICHT FESTGELEGT",
"homescreen__title_seedless": "OHNE SEED",
Expand All @@ -362,10 +361,10 @@
"joint__title": "GEMEINSAME TRANSAKTION",
"joint__to_the_total_amount": "Gesamtbetrag:",
"joint__you_are_contributing": "Dein Anteil:",
"language__title": "SPRACHEINSTELLUNGEN",
"language__change_to": "Sprache auf {} ändern?",
"language__progress": "Sprache wird geändert",
"language__changed": "Sprache erfolgreich geändert",
"language__progress": "Sprache wird geändert",
"language__title": "SPRACHEINSTELLUNGEN",
"lockscreen__tap_to_connect": "Zum Verbinden tippen",
"lockscreen__tap_to_unlock": "Zum Entsperren tippen",
"lockscreen__title_locked": "GESPERRT",
Expand Down Expand Up @@ -505,6 +504,7 @@
"progress__authenticity_check": "Authentizität überprüfen... (TODO)",
"progress__done": "Fertig",
"progress__loading_transaction": "Transaktion wird geladen...",
"progress__locking_device": "Das Gerät sperren... (TODO)",
"progress__one_second_left": "1 Sekunde verbleibend",
"progress__please_wait": "BITTE WARTEN",
"progress__processing": "VERARBEITUNG",
Expand Down
12 changes: 6 additions & 6 deletions core/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"header": {
"language": "en-US",
"version": "2.6.5",
"change_language_title": "CHANGE LANGUAGE",
"change_language_prompt": "Change language to English?",
"progress_text": "Changing language"
"change_language_title": "CHANGE LANGUAGE",
"language": "en-US",
"progress_text": "Changing language",
"version": "2.6.5"
},
"translations": {
"addr_mismatch__contact_support_at": "Please contact Trezor support at",
Expand Down Expand Up @@ -348,10 +348,10 @@
"joint__title": "JOINT TRANSACTION",
"joint__to_the_total_amount": "To the total amount:",
"joint__you_are_contributing": "You are contributing:",
"language__title": "LANGUAGE SETTINGS",
"language__change_to": "Change language to {}?",
"language__progress": "Changing language",
"language__changed": "Language changed successfully",
"language__progress": "Changing language",
"language__title": "LANGUAGE SETTINGS",
"lockscreen__tap_to_connect": "Tap to connect",
"lockscreen__tap_to_unlock": "Tap to unlock",
"lockscreen__title_locked": "LOCKED",
Expand Down
6 changes: 3 additions & 3 deletions core/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@
"homescreen__title_backup_needed": "C. SEG. NECESARIA",
"homescreen__title_coinjoin_authorized": "COINJOIN AUTORIZADO",
"homescreen__title_experimental_mode": "MODO EXPERIMENTAL",
"homescreen__title_hold_to_lock": "BLOQUEA PULSANDO",
"homescreen__title_no_usb_connection": "SIN CONEXIÓN USB",
"homescreen__title_pin_not_set": "PIN NO CONFIGURADO",
"homescreen__title_seedless": "SIN SEMILLA",
Expand All @@ -362,10 +361,10 @@
"joint__title": "TRANSACCIÓN CONJUNTA",
"joint__to_the_total_amount": "Al importe total:",
"joint__you_are_contributing": "Estás aportando:",
"language__title": "CONFIGURACIÓN DEL IDIOMA",
"language__change_to": "¿Cambiar el idioma a {}?",
"language__progress": "Cambiando el idioma",
"language__changed": "Idioma cambiado exitosamente",
"language__progress": "Cambiando el idioma",
"language__title": "CONFIGURACIÓN DEL IDIOMA",
"lockscreen__tap_to_connect": "Toca para conectar",
"lockscreen__tap_to_unlock": "Toca para desbloquear",
"lockscreen__title_locked": "BLOQUEADO",
Expand Down Expand Up @@ -505,6 +504,7 @@
"progress__authenticity_check": "Verificar la autenticidad... (TODO)",
"progress__done": "Listo",
"progress__loading_transaction": "Cargando transacción...",
"progress__locking_device": "Bloqueando el dispositivo... (TODO)",
"progress__one_second_left": "Queda 1 segundo",
"progress__please_wait": "ESPERA",
"progress__processing": "PROCESANDO",
Expand Down
4 changes: 2 additions & 2 deletions core/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@
"joint__title": "TRANSACTION COMMUNE",
"joint__to_the_total_amount": "Au montant total:",
"joint__you_are_contributing": "Votre contribution:",
"language__title": "PARAMÈTRES DE LANGUE",
"language__change_to": "Changer de langue en {} ?",
"language__progress": "Changement de langue en cours",
"language__changed": "Langue changée avec succès",
"language__progress": "Changement de langue en cours",
"language__title": "PARAMÈTRES DE LANGUE",
"lockscreen__tap_to_connect": "Appuyez pour vous connecter",
"lockscreen__tap_to_unlock": "Appuyez pour déverrouiller",
"lockscreen__title_locked": "VERROUILLÉ",
Expand Down

0 comments on commit e30eded

Please sign in to comment.