From 5eee1ad4f70e3e253d924edee74d5ceb18f7f617 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 20 Oct 2025 20:00:53 -0700 Subject: [PATCH] ai cannot be trusted --- selfdrive/ui/layouts/settings/device.py | 4 +- selfdrive/ui/translations/app.pot | 75 +++++++- selfdrive/ui/translations/app_de.po | 77 +++++++- selfdrive/ui/translations/app_en.po | 76 +++++++- selfdrive/ui/translations/app_es.po | 76 +++++++- selfdrive/ui/translations/app_fr.po | 237 ++++++++++++++++++++---- selfdrive/ui/translations/app_pt-BR.po | 167 ++++++++++++----- selfdrive/ui/translations/app_tr.po | 202 ++++++++++++++++---- selfdrive/ui/widgets/ssh_key.py | 2 +- system/ui/lib/multilang.py | 20 -- 10 files changed, 755 insertions(+), 181 deletions(-) diff --git a/selfdrive/ui/layouts/settings/device.py b/selfdrive/ui/layouts/settings/device.py index c0981cdcee..427fcb8da7 100644 --- a/selfdrive/ui/layouts/settings/device.py +++ b/selfdrive/ui/layouts/settings/device.py @@ -146,7 +146,7 @@ class DeviceLayout(Widget): except Exception: cloudlog.exception("invalid LiveDelay") if lag_perc < 100: - desc += tr(f"

Steering lag calibration is {lag_perc}% complete.") + desc += tr("

Steering lag calibration is {}% complete.").format(lag_perc) else: desc += tr("

Steering lag calibration is complete.") @@ -158,7 +158,7 @@ class DeviceLayout(Widget): if torque.useParams: torque_perc = torque.calPerc if torque_perc < 100: - desc += tr(f" Steering torque response calibration is {torque_perc}% complete.") + desc += tr(" Steering torque response calibration is {}% complete.").format(torque_perc) else: desc += tr(" Steering torque response calibration is complete.") except Exception: diff --git a/selfdrive/ui/translations/app.pot b/selfdrive/ui/translations/app.pot index 83669de539..58c26cac54 100644 --- a/selfdrive/ui/translations/app.pot +++ b/selfdrive/ui/translations/app.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 19:22-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -74,8 +74,8 @@ msgid "Request timed out" msgstr "" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, python-format +msgid "No SSH keys found for user '{}'" msgstr "" #: /home/batman/openpilot/selfdrive/ui/widgets/prime.py:33 @@ -605,13 +605,13 @@ msgid "RESET" msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "" @@ -666,6 +666,11 @@ msgstr "" msgid "CHANGE" msgstr "" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:106 #, python-format msgid "Disengage to Reset Calibration" @@ -681,22 +686,74 @@ msgstr "" msgid "Reset" msgstr "" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "" diff --git a/selfdrive/ui/translations/app_de.po b/selfdrive/ui/translations/app_de.po index fa729ab260..c81995b628 100644 --- a/selfdrive/ui/translations/app_de.po +++ b/selfdrive/ui/translations/app_de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 18:45-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: 2025-10-20 16:35-0700\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -24,6 +24,21 @@ msgstr "" " Durch Ändern dieser Einstellung wird openpilot neu gestartet, wenn das Auto " "eingeschaltet ist." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:43 #, python-format msgid "--" @@ -72,6 +87,16 @@ msgstr "" "Experimentalmodus wird empfohlen, wenn Sie die openpilot-Längsregelung " "(Alpha) aktivieren." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:137 #, python-format msgid "ACTIVE" @@ -121,12 +146,12 @@ msgstr "" "Eine Alpha-Version der openpilot-Längsregelung kann zusammen mit dem " "Experimentalmodus auf Nicht-Release-Zweigen getestet werden." -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "Sind Sie sicher, dass Sie ausschalten möchten?" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "Sind Sie sicher, dass Sie neu starten möchten?" @@ -232,12 +257,12 @@ msgstr "Gerät" msgid "Disengage on Accelerator Pedal" msgstr "Beim Gaspedal deaktivieren" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "Zum Ausschalten deaktivieren" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "Zum Neustart deaktivieren" @@ -487,8 +512,8 @@ msgid "No SSH keys found" msgstr "Keine SSH‑Schlüssel gefunden" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, fuzzy, python-format +msgid "No SSH keys found for user '{}'" msgstr "Keine SSH‑Schlüssel für Benutzer '{username}' gefunden" #: /home/batman/openpilot/selfdrive/ui/widgets/offroad_alerts.py:18 @@ -570,7 +595,7 @@ msgid "Please connect to Wi-Fi to complete initial pairing" msgstr "Bitte mit WLAN verbinden, um das erste Koppeln abzuschließen" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "Ausschalten" @@ -605,7 +630,7 @@ msgid "REVIEW" msgstr "ANSEHEN" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "Neustart" @@ -696,6 +721,11 @@ msgid "Review the rules, features, and limitations of openpilot" msgstr "" "Überprüfen Sie die Regeln, Funktionen und Einschränkungen von openpilot" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:62 #, python-format msgid "Serial" @@ -877,6 +907,11 @@ msgstr "" msgid "comma prime" msgstr "comma prime" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:105 #, python-format msgid "failed to check for update" @@ -887,6 +922,11 @@ msgstr "Überprüfung auf Updates fehlgeschlagen" msgid "km/h" msgstr "" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/onroad/hud_renderer.py:177 #, python-format msgid "mph" @@ -940,6 +980,15 @@ msgstr "" "manche Kurven besser zu zeigen. Das Experimentalmodus‑Logo wird außerdem " "oben rechts angezeigt." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, fuzzy, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" +" Durch Ändern dieser Einstellung wird openpilot neu gestartet, wenn das Auto " +"eingeschaltet ist." + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:20 #, python-format msgid "" @@ -969,6 +1018,16 @@ msgstr "" "openpilot erfordert, dass das Gerät innerhalb von 4° nach links oder rechts " "und innerhalb von 5° nach oben oder 9° nach unten montiert ist." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:116 #, python-format msgid "up to date, last checked never" diff --git a/selfdrive/ui/translations/app_en.po b/selfdrive/ui/translations/app_en.po index add95e2171..219fe3d2b9 100644 --- a/selfdrive/ui/translations/app_en.po +++ b/selfdrive/ui/translations/app_en.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 18:45-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: 2025-10-20 18:19-0700\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -23,6 +23,21 @@ msgid " Changing this setting will restart openpilot if the car is powered on." msgstr "" " Changing this setting will restart openpilot if the car is powered on." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:43 #, python-format msgid "--" @@ -70,6 +85,16 @@ msgstr "" "Experimental mode is recommended when enabling openpilot longitudinal " "control alpha." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:137 #, python-format msgid "ACTIVE" @@ -118,12 +143,12 @@ msgstr "" "An alpha version of openpilot longitudinal control can be tested, along with " "Experimental mode, on non-release branches." -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "Are you sure you want to power off?" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "Are you sure you want to reboot?" @@ -229,12 +254,12 @@ msgstr "Device" msgid "Disengage on Accelerator Pedal" msgstr "Disengage on Accelerator Pedal" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "Disengage to Power Off" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "Disengage to Reboot" @@ -482,8 +507,8 @@ msgid "No SSH keys found" msgstr "No SSH keys found" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, fuzzy, python-format +msgid "No SSH keys found for user '{}'" msgstr "No SSH keys found for user '{username}'" #: /home/batman/openpilot/selfdrive/ui/widgets/offroad_alerts.py:18 @@ -565,7 +590,7 @@ msgid "Please connect to Wi-Fi to complete initial pairing" msgstr "Please connect to Wi-Fi to complete initial pairing" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "Power Off" @@ -600,7 +625,7 @@ msgid "REVIEW" msgstr "REVIEW" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "Reboot" @@ -690,6 +715,11 @@ msgstr "Review Training Guide" msgid "Review the rules, features, and limitations of openpilot" msgstr "Review the rules, features, and limitations of openpilot" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:62 #, python-format msgid "Serial" @@ -866,6 +896,11 @@ msgstr "camera starting" msgid "comma prime" msgstr "comma prime" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:105 #, python-format msgid "failed to check for update" @@ -876,6 +911,11 @@ msgstr "failed to check for update" msgid "km/h" msgstr "km/h" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/onroad/hud_renderer.py:177 #, python-format msgid "mph" @@ -928,6 +968,14 @@ msgstr "" "some turns. The Experimental mode logo will also be shown in the top right " "corner." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, fuzzy, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" +" Changing this setting will restart openpilot if the car is powered on." + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:20 #, python-format msgid "" @@ -957,6 +1005,16 @@ msgstr "" "openpilot requires the device to be mounted within 4° left or right and " "within 5° up or 9° down." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:116 #, python-format msgid "up to date, last checked never" diff --git a/selfdrive/ui/translations/app_es.po b/selfdrive/ui/translations/app_es.po index b3f744e960..9686365481 100644 --- a/selfdrive/ui/translations/app_es.po +++ b/selfdrive/ui/translations/app_es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 18:45-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: 2025-10-20 16:35-0700\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -23,6 +23,21 @@ msgid " Changing this setting will restart openpilot if the car is powered on." msgstr "" " Cambiar esta configuración reiniciará openpilot si el coche está encendido." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:43 #, python-format msgid "--" @@ -70,6 +85,16 @@ msgstr "" "cambiar al control longitudinal de openpilot. Se recomienda activar el modo " "Experimental al habilitar el control longitudinal de openpilot (alpha)." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:137 #, python-format msgid "ACTIVE" @@ -119,12 +144,12 @@ msgstr "" "Se puede probar una versión alpha del control longitudinal de openpilot, " "junto con el modo Experimental, en ramas que no son de lanzamiento." -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "¿Seguro que quieres apagar?" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "¿Seguro que quieres reiniciar?" @@ -232,12 +257,12 @@ msgstr "Dispositivo" msgid "Disengage on Accelerator Pedal" msgstr "Desactivar con el pedal del acelerador" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "Desactivar para apagar" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "Desactivar para reiniciar" @@ -487,8 +512,8 @@ msgid "No SSH keys found" msgstr "No se encontraron claves SSH" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, fuzzy, python-format +msgid "No SSH keys found for user '{}'" msgstr "No se encontraron claves SSH para el usuario '{username}'" #: /home/batman/openpilot/selfdrive/ui/widgets/offroad_alerts.py:18 @@ -570,7 +595,7 @@ msgid "Please connect to Wi-Fi to complete initial pairing" msgstr "Conéctate a Wi‑Fi para completar el emparejamiento inicial" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "Apagar" @@ -606,7 +631,7 @@ msgid "REVIEW" msgstr "REVISAR" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "Reiniciar" @@ -696,6 +721,11 @@ msgstr "Revisar guía de entrenamiento" msgid "Review the rules, features, and limitations of openpilot" msgstr "Revisa las reglas, funciones y limitaciones de openpilot" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:62 #, python-format msgid "Serial" @@ -877,6 +907,11 @@ msgstr "iniciando cámara" msgid "comma prime" msgstr "comma prime" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:105 #, python-format msgid "failed to check for update" @@ -887,6 +922,11 @@ msgstr "Error al buscar actualizaciones" msgid "km/h" msgstr "km/h" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/onroad/hud_renderer.py:177 #, python-format msgid "mph" @@ -941,6 +981,14 @@ msgstr "" "mostrar mejor algunos giros. El logotipo del modo Experimental también se " "mostrará en la esquina superior derecha." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, fuzzy, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" +" Cambiar esta configuración reiniciará openpilot si el coche está encendido." + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:20 #, python-format msgid "" @@ -972,6 +1020,16 @@ msgstr "" "openpilot requiere que el dispositivo esté montado dentro de 4° a izquierda " "o derecha y dentro de 5° hacia arriba o 9° hacia abajo." +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:116 #, python-format msgid "up to date, last checked never" diff --git a/selfdrive/ui/translations/app_fr.po b/selfdrive/ui/translations/app_fr.po index 7b76f406de..d2c1630f05 100644 --- a/selfdrive/ui/translations/app_fr.po +++ b/selfdrive/ui/translations/app_fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 18:45-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: 2025-10-20 18:19-0700\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -20,7 +20,24 @@ msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:123 #, python-format msgid " Changing this setting will restart openpilot if the car is powered on." -msgstr " La modification de ce réglage redémarrera openpilot si la voiture est sous tension." +msgstr "" +" La modification de ce réglage redémarrera openpilot si la voiture est sous " +"tension." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:43 #, python-format @@ -62,8 +79,23 @@ msgid "" "Experimental mode is recommended when enabling openpilot longitudinal " "control alpha." msgstr "" -"ATTENTION : le contrôle longitudinal openpilot est en alpha pour cette voiture et désactivera le freinage d'urgence automatique (AEB).

Sur cette voiture, openpilot " -"utilise par défaut le régulateur de vitesse adaptatif intégré au véhicule plutôt que le contrôle longitudinal d'openpilot. Activez ceci pour passer au contrôle longitudinal openpilot. Il est recommandé d'activer le mode expérimental lors de l'activation du contrôle longitudinal openpilot alpha." +"ATTENTION : le contrôle longitudinal openpilot est en alpha pour cette " +"voiture et désactivera le freinage d'urgence automatique (AEB).

Sur cette voiture, openpilot utilise par défaut le régulateur de " +"vitesse adaptatif intégré au véhicule plutôt que le contrôle longitudinal " +"d'openpilot. Activez ceci pour passer au contrôle longitudinal openpilot. Il " +"est recommandé d'activer le mode expérimental lors de l'activation du " +"contrôle longitudinal openpilot alpha." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:137 #, python-format @@ -76,7 +108,9 @@ msgid "" "ADB (Android Debug Bridge) allows connecting to your device over USB or over " "the network. See https://docs.comma.ai/how-to/connect-to-comma for more info." msgstr "" -"ADB (Android Debug Bridge) permet de connecter votre appareil via USB ou via le réseau. Voir https://docs.comma.ai/how-to/connect-to-comma pour plus d'informations." +"ADB (Android Debug Bridge) permet de connecter votre appareil via USB ou via " +"le réseau. Voir https://docs.comma.ai/how-to/connect-to-comma pour plus " +"d'informations." #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:30 #, python-format @@ -109,14 +143,15 @@ msgid "" "An alpha version of openpilot longitudinal control can be tested, along with " "Experimental mode, on non-release branches." msgstr "" -"Une version alpha du contrôle longitudinal openpilot peut être testée, avec le mode expérimental, sur des branches non publiées." +"Une version alpha du contrôle longitudinal openpilot peut être testée, avec " +"le mode expérimental, sur des branches non publiées." -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "Êtes-vous sûr de vouloir éteindre ?" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "Êtes-vous sûr de vouloir redémarrer ?" @@ -144,7 +179,9 @@ msgstr "Devenez membre comma prime sur connect.comma.ai" #: /home/batman/openpilot/selfdrive/ui/widgets/pairing_dialog.py:130 #, python-format msgid "Bookmark connect.comma.ai to your home screen to use it like an app" -msgstr "Ajoutez connect.comma.ai à votre écran d'accueil pour l'utiliser comme une application" +msgstr "" +"Ajoutez connect.comma.ai à votre écran d'accueil pour l'utiliser comme une " +"application" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:68 #, python-format @@ -222,12 +259,12 @@ msgstr "Appareil" msgid "Disengage on Accelerator Pedal" msgstr "Désengager à l'appui sur l'accélérateur" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "Désengager pour éteindre" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "Désengager pour redémarrer" @@ -300,7 +337,9 @@ msgstr "Activer SSH" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:30 #, python-format msgid "Enable driver monitoring even when openpilot is not engaged." -msgstr "Activer la surveillance du conducteur même lorsque openpilot n'est pas engagé." +msgstr "" +"Activer la surveillance du conducteur même lorsque openpilot n'est pas " +"engagé." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:46 #, python-format @@ -309,9 +348,12 @@ msgstr "Activer openpilot" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:186 #, python-format -msgid "Enable the openpilot longitudinal control (alpha) toggle to allow " +msgid "" +"Enable the openpilot longitudinal control (alpha) toggle to allow " "Experimental mode." -msgstr "Activez l'option de contrôle longitudinal openpilot (alpha) pour autoriser le mode expérimental." +msgstr "" +"Activez l'option de contrôle longitudinal openpilot (alpha) pour autoriser " +"le mode expérimental." #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:89 #, python-format @@ -325,9 +367,12 @@ msgstr "Mode expérimental" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:178 #, python-format -msgid "Experimental mode is currently unavailable on this car since the car's stock " +msgid "" +"Experimental mode is currently unavailable on this car since the car's stock " "ACC is used for longitudinal control." -msgstr "Le mode expérimental est actuellement indisponible sur cette voiture car l'ACC d'origine est utilisé pour le contrôle longitudinal." +msgstr "" +"Le mode expérimental est actuellement indisponible sur cette voiture car " +"l'ACC d'origine est utilisé pour le contrôle longitudinal." #: /home/batman/openpilot/selfdrive/ui/widgets/setup.py:44 #, python-format @@ -367,7 +412,27 @@ msgid "" "\n" "Does it matter which software I run? Yes, only upstream openpilot (and " "particular forks) are able to be used for training." -msgstr "Pour une efficacité maximale, rentrez votre appareil et connectez-le chaque semaine à un bon adaptateur USB-C et au Wi‑Fi.\n\nLe Mode Firehose peut aussi fonctionner pendant que vous conduisez si vous êtes connecté à un hotspot ou à une carte SIM illimitée.\n\n\nFoire aux questions\n\nEst-ce que la manière ou l'endroit où je conduis compte ? Non, conduisez normalement.\n\nTous mes segments sont-ils récupérés en Mode Firehose ? Non, nous récupérons de façon sélective un sous-ensemble de vos segments.\n\nQuel est un bon adaptateur USB-C ? Tout chargeur rapide de téléphone ou d'ordinateur portable convient.\n\nLe logiciel utilisé importe-t-il ? Oui, seul openpilot amont (et certains forks) peut être utilisé pour l'entraînement." +msgstr "" +"Pour une efficacité maximale, rentrez votre appareil et connectez-le chaque " +"semaine à un bon adaptateur USB-C et au Wi‑Fi.\n" +"\n" +"Le Mode Firehose peut aussi fonctionner pendant que vous conduisez si vous " +"êtes connecté à un hotspot ou à une carte SIM illimitée.\n" +"\n" +"\n" +"Foire aux questions\n" +"\n" +"Est-ce que la manière ou l'endroit où je conduis compte ? Non, conduisez " +"normalement.\n" +"\n" +"Tous mes segments sont-ils récupérés en Mode Firehose ? Non, nous récupérons " +"de façon sélective un sous-ensemble de vos segments.\n" +"\n" +"Quel est un bon adaptateur USB-C ? Tout chargeur rapide de téléphone ou " +"d'ordinateur portable convient.\n" +"\n" +"Le logiciel utilisé importe-t-il ? Oui, seul openpilot amont (et certains " +"forks) peut être utilisé pour l'entraînement." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:71 #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:125 @@ -428,8 +493,11 @@ msgstr "MAX" #: /home/batman/openpilot/selfdrive/ui/widgets/setup.py:75 #, python-format -msgid "Maximize your training data uploads to improve openpilot's driving models." -msgstr "Maximisez vos envois de données d'entraînement pour améliorer les modèles de conduite d'openpilot." +msgid "" +"Maximize your training data uploads to improve openpilot's driving models." +msgstr "" +"Maximisez vos envois de données d'entraînement pour améliorer les modèles de " +"conduite d'openpilot." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:142 #, python-format @@ -447,8 +515,8 @@ msgid "No SSH keys found" msgstr "Aucune clé SSH trouvée" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, fuzzy, python-format +msgid "No SSH keys found for user '{}'" msgstr "Aucune clé SSH trouvée pour l'utilisateur '{username}'" #: /home/batman/openpilot/selfdrive/ui/widgets/offroad_alerts.py:18 @@ -520,7 +588,9 @@ msgstr "Associez votre appareil à votre compte comma" msgid "" "Pair your device with comma connect (connect.comma.ai) and claim your comma " "prime offer." -msgstr "Associez votre appareil à comma connect (connect.comma.ai) et réclamez votre offre comma prime." +msgstr "" +"Associez votre appareil à comma connect (connect.comma.ai) et réclamez votre " +"offre comma prime." #: /home/batman/openpilot/selfdrive/ui/widgets/setup.py:91 #, python-format @@ -528,7 +598,7 @@ msgid "Please connect to Wi-Fi to complete initial pairing" msgstr "Veuillez vous connecter au Wi‑Fi pour terminer l'association initiale" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "Éteindre" @@ -538,7 +608,10 @@ msgstr "Éteindre" msgid "" "Preview the driver facing camera to ensure that driver monitoring has good " "visibility. (vehicle must be off)" -msgstr "Prévisualisez la caméra orientée conducteur pour vous assurer que la surveillance du conducteur a une bonne visibilité. (le véhicule doit être éteint)" +msgstr "" +"Prévisualisez la caméra orientée conducteur pour vous assurer que la " +"surveillance du conducteur a une bonne visibilité. (le véhicule doit être " +"éteint)" #: /home/batman/openpilot/selfdrive/ui/widgets/pairing_dialog.py:161 #, python-format @@ -561,7 +634,7 @@ msgid "REVIEW" msgstr "CONSULTER" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "Redémarrer" @@ -582,7 +655,10 @@ msgid "" "Receive alerts to steer back into the lane when your vehicle drifts over a " "detected lane line without a turn signal activated while driving over 31 mph " "(50 km/h)." -msgstr "Recevez des alertes pour revenir dans la voie lorsque votre véhicule dépasse une ligne de voie détectée sans clignotant activé en roulant au-delà de 31 mph (50 km/h)." +msgstr "" +"Recevez des alertes pour revenir dans la voie lorsque votre véhicule dépasse " +"une ligne de voie détectée sans clignotant activé en roulant au-delà de 31 " +"mph (50 km/h)." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:76 #, python-format @@ -599,7 +675,9 @@ msgstr "Enregistrer et téléverser l'audio du microphone" msgid "" "Record and store microphone audio while driving. The audio will be included " "in the dashcam video in comma connect." -msgstr "Enregistrer et stocker l'audio du microphone pendant la conduite. L'audio sera inclus dans la vidéo dashcam dans comma connect." +msgstr "" +"Enregistrer et stocker l'audio du microphone pendant la conduite. L'audio " +"sera inclus dans la vidéo dashcam dans comma connect." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:67 #, python-format @@ -646,6 +724,11 @@ msgstr "Consulter le guide d'entraînement" msgid "Review the rules, features, and limitations of openpilot" msgstr "Consultez les règles, fonctionnalités et limitations d'openpilot" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:62 #, python-format msgid "Serial" @@ -673,7 +756,12 @@ msgid "" "closer and be more aggressive with the gas and brake. In relaxed mode " "openpilot will stay further away from lead cars. On supported cars, you can " "cycle through these personalities with your steering wheel distance button." -msgstr "Le mode standard est recommandé. En mode agressif, openpilot suivra les véhicules de tête de plus près et sera plus agressif avec l'accélérateur et le frein. En mode détendu, openpilot restera plus éloigné des véhicules de tête. Sur les voitures compatibles, vous pouvez parcourir ces personnalités avec le bouton de distance du volant." +msgstr "" +"Le mode standard est recommandé. En mode agressif, openpilot suivra les " +"véhicules de tête de plus près et sera plus agressif avec l'accélérateur et " +"le frein. En mode détendu, openpilot restera plus éloigné des véhicules de " +"tête. Sur les voitures compatibles, vous pouvez parcourir ces personnalités " +"avec le bouton de distance du volant." #: /home/batman/openpilot/selfdrive/ui/onroad/alert_renderer.py:59 #: /home/batman/openpilot/selfdrive/ui/onroad/alert_renderer.py:65 @@ -722,7 +810,8 @@ msgstr "Inconnu" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:47 #, python-format msgid "Updates are only downloaded while the car is off." -msgstr "Les mises à jour ne sont téléchargées que lorsque la voiture est éteinte." +msgstr "" +"Les mises à jour ne sont téléchargées que lorsque la voiture est éteinte." #: /home/batman/openpilot/selfdrive/ui/widgets/prime.py:33 #, python-format @@ -734,7 +823,9 @@ msgstr "Mettre à niveau maintenant" msgid "" "Upload data from the driver facing camera and help improve the driver " "monitoring algorithm." -msgstr "Téléverser les données de la caméra orientée conducteur et aider à améliorer l'algorithme de surveillance du conducteur." +msgstr "" +"Téléverser les données de la caméra orientée conducteur et aider à améliorer " +"l'algorithme de surveillance du conducteur." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:88 #, python-format @@ -746,7 +837,10 @@ msgstr "Utiliser le système métrique" msgid "" "Use the openpilot system for adaptive cruise control and lane keep driver " "assistance. Your attention is required at all times to use this feature." -msgstr "Utilisez le système openpilot pour l'ACC et l'assistance au maintien de voie. Votre attention est requise en permanence pour utiliser cette fonctionnalité." +msgstr "" +"Utilisez le système openpilot pour l'ACC et l'assistance au maintien de " +"voie. Votre attention est requise en permanence pour utiliser cette " +"fonctionnalité." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:72 #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:144 @@ -770,7 +864,11 @@ msgid "" "Warning: This grants SSH access to all public keys in your GitHub settings. " "Never enter a GitHub username other than your own. A comma employee will " "NEVER ask you to add their GitHub username." -msgstr "Avertissement : Ceci accorde un accès SSH à toutes les clés publiques dans vos paramètres GitHub. N'entrez jamais un nom d'utilisateur GitHub autre que le vôtre. Un employé comma ne vous demandera JAMAIS d'ajouter son nom d'utilisateur GitHub." +msgstr "" +"Avertissement : Ceci accorde un accès SSH à toutes les clés publiques dans " +"vos paramètres GitHub. N'entrez jamais un nom d'utilisateur GitHub autre que " +"le vôtre. Un employé comma ne vous demandera JAMAIS d'ajouter son nom " +"d'utilisateur GitHub." #: /home/batman/openpilot/selfdrive/ui/layouts/onboarding.py:111 #, python-format @@ -780,7 +878,8 @@ msgstr "Bienvenue sur openpilot" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:20 #, python-format msgid "When enabled, pressing the accelerator pedal will disengage openpilot." -msgstr "Lorsque activé, appuyer sur la pédale d'accélérateur désengagera openpilot." +msgstr "" +"Lorsque activé, appuyer sur la pédale d'accélérateur désengagera openpilot." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:44 #, python-format @@ -797,7 +896,9 @@ msgstr "Vous devez accepter les conditions générales pour utiliser openpilot." msgid "" "You must accept the Terms and Conditions to use openpilot. Read the latest " "terms at https://comma.ai/terms before continuing." -msgstr "Vous devez accepter les conditions générales pour utiliser openpilot. Lisez les dernières conditions sur https://comma.ai/terms avant de continuer." +msgstr "" +"Vous devez accepter les conditions générales pour utiliser openpilot. Lisez " +"les dernières conditions sur https://comma.ai/terms avant de continuer." #: /home/batman/openpilot/selfdrive/ui/onroad/driver_camera_dialog.py:34 #, python-format @@ -809,6 +910,11 @@ msgstr "démarrage de la caméra" msgid "comma prime" msgstr "comma prime" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:105 #, python-format msgid "failed to check for update" @@ -819,6 +925,11 @@ msgstr "échec de la vérification de mise à jour" msgid "km/h" msgstr "km/h" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/onroad/hud_renderer.py:177 #, python-format msgid "mph" @@ -858,7 +969,28 @@ msgid "" "transition to the road-facing wide-angle camera at low speeds to better show " "some turns. The Experimental mode logo will also be shown in the top right " "corner." -msgstr "openpilot roule par défaut en mode chill. Le mode expérimental active des fonctionnalités de niveau alpha qui ne sont pas prêtes pour le mode chill. Les fonctionnalités expérimentales sont listées ci‑dessous:

Contrôle longitudinal de bout en bout


Laissez le modèle de conduite contrôler l'accélérateur et les freins. openpilot conduira comme il pense qu'un humain le ferait, y compris s'arrêter aux feux rouges et aux panneaux stop. Comme le modèle décide de la vitesse à adopter, la vitesse réglée n'agira que comme une limite supérieure. C'est une fonctionnalité de qualité alpha ; des erreurs sont à prévoir.

Nouvelle visualisation de conduite


La visualisation passera à la caméra grand angle orientée route à basse vitesse pour mieux montrer certains virages. Le logo du mode expérimental sera également affiché en haut à droite." +msgstr "" +"openpilot roule par défaut en mode chill. Le mode expérimental active des " +"fonctionnalités de niveau alpha qui ne sont pas prêtes pour le mode chill. " +"Les fonctionnalités expérimentales sont listées ci‑dessous:

Contrôle " +"longitudinal de bout en bout


Laissez le modèle de conduite contrôler " +"l'accélérateur et les freins. openpilot conduira comme il pense qu'un humain " +"le ferait, y compris s'arrêter aux feux rouges et aux panneaux stop. Comme " +"le modèle décide de la vitesse à adopter, la vitesse réglée n'agira que " +"comme une limite supérieure. C'est une fonctionnalité de qualité alpha ; des " +"erreurs sont à prévoir.

Nouvelle visualisation de conduite


La " +"visualisation passera à la caméra grand angle orientée route à basse vitesse " +"pour mieux montrer certains virages. Le logo du mode expérimental sera " +"également affiché en haut à droite." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, fuzzy, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" +" La modification de ce réglage redémarrera openpilot si la voiture est sous " +"tension." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:20 #, python-format @@ -868,19 +1000,40 @@ msgid "" "Firehose Mode allows you to maximize your training data uploads to improve " "openpilot's driving models. More data means bigger models, which means " "better Experimental Mode." -msgstr "openpilot apprend à conduire en regardant des humains, comme vous, conduire.\n\nLe Mode Firehose vous permet de maximiser vos envois de données d'entraînement pour améliorer les modèles de conduite d'openpilot. Plus de données signifie des modèles plus grands, ce qui signifie un meilleur Mode expérimental." +msgstr "" +"openpilot apprend à conduire en regardant des humains, comme vous, " +"conduire.\n" +"\n" +"Le Mode Firehose vous permet de maximiser vos envois de données " +"d'entraînement pour améliorer les modèles de conduite d'openpilot. Plus de " +"données signifie des modèles plus grands, ce qui signifie un meilleur Mode " +"expérimental." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:180 #, python-format msgid "openpilot longitudinal control may come in a future update." -msgstr "Le contrôle longitudinal openpilot pourra arriver dans une future mise à jour." +msgstr "" +"Le contrôle longitudinal openpilot pourra arriver dans une future mise à " +"jour." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:27 #, python-format msgid "" "openpilot requires the device to be mounted within 4° left or right and " "within 5° up or 9° down." -msgstr "openpilot exige que l'appareil soit monté à moins de 4° à gauche ou à droite et à moins de 5° vers le haut ou 9° vers le bas." +msgstr "" +"openpilot exige que l'appareil soit monté à moins de 4° à gauche ou à droite " +"et à moins de 5° vers le haut ou 9° vers le bas." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:116 #, python-format @@ -929,8 +1082,12 @@ msgstr[1] "il y a {} minutes" #, python-format msgid "{} segment of your driving is in the training dataset so far." msgid_plural "{} segment of your driving is in the training dataset so far." -msgstr[0] "{} segment de votre conduite est dans l'ensemble d'entraînement jusqu'à présent." -msgstr[1] "{} segments de votre conduite sont dans l'ensemble d'entraînement jusqu'à présent." +msgstr[0] "" +"{} segment de votre conduite est dans l'ensemble d'entraînement jusqu'à " +"présent." +msgstr[1] "" +"{} segments de votre conduite sont dans l'ensemble d'entraînement jusqu'à " +"présent." #: /home/batman/openpilot/selfdrive/ui/widgets/prime.py:62 #, python-format diff --git a/selfdrive/ui/translations/app_pt-BR.po b/selfdrive/ui/translations/app_pt-BR.po index 05bc04d080..83ef23fcb6 100644 --- a/selfdrive/ui/translations/app_pt-BR.po +++ b/selfdrive/ui/translations/app_pt-BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 18:45-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: 2025-10-21 00:00-0700\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -20,7 +20,23 @@ msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:123 #, python-format msgid " Changing this setting will restart openpilot if the car is powered on." -msgstr " Alterar esta configuração reiniciará o openpilot se o carro estiver ligado." +msgstr "" +" Alterar esta configuração reiniciará o openpilot se o carro estiver ligado." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:43 #, python-format @@ -62,12 +78,22 @@ msgid "" "Experimental mode is recommended when enabling openpilot longitudinal " "control alpha." msgstr "" -"AVISO: o controle longitudinal do openpilot está em alpha para este carro e " -"desativará a Frenagem Automática de Emergência (AEB).

Neste carro, o " -"openpilot usa por padrão o ACC integrado do carro em vez do controle " -"longitudinal do openpilot. Ative isto para alternar para o controle " -"longitudinal do openpilot. Recomenda-se ativar o Modo Experimental ao ativar o " -"controle longitudinal do openpilot em alpha." +"AVISO: o controle longitudinal do openpilot está em alpha para este carro " +"e desativará a Frenagem Automática de Emergência (AEB).

Neste " +"carro, o openpilot usa por padrão o ACC integrado do carro em vez do " +"controle longitudinal do openpilot. Ative isto para alternar para o controle " +"longitudinal do openpilot. Recomenda-se ativar o Modo Experimental ao ativar " +"o controle longitudinal do openpilot em alpha." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:137 #, python-format @@ -80,8 +106,9 @@ msgid "" "ADB (Android Debug Bridge) allows connecting to your device over USB or over " "the network. See https://docs.comma.ai/how-to/connect-to-comma for more info." msgstr "" -"ADB (Android Debug Bridge) permite conectar ao seu dispositivo via USB ou pela " -"rede. Veja https://docs.comma.ai/how-to/connect-to-comma para mais informações." +"ADB (Android Debug Bridge) permite conectar ao seu dispositivo via USB ou " +"pela rede. Veja https://docs.comma.ai/how-to/connect-to-comma para mais " +"informações." #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:30 #, python-format @@ -114,15 +141,15 @@ msgid "" "An alpha version of openpilot longitudinal control can be tested, along with " "Experimental mode, on non-release branches." msgstr "" -"Uma versão alpha do controle longitudinal do openpilot pode ser testada, junto " -"com o Modo Experimental, em ramificações fora de release." +"Uma versão alpha do controle longitudinal do openpilot pode ser testada, " +"junto com o Modo Experimental, em ramificações fora de release." -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "Tem certeza de que deseja desligar?" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "Tem certeza de que deseja reiniciar?" @@ -228,12 +255,12 @@ msgstr "Dispositivo" msgid "Disengage on Accelerator Pedal" msgstr "Desativar ao pressionar o acelerador" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "Desativar para Desligar" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "Desativar para Reiniciar" @@ -306,7 +333,8 @@ msgstr "Ativar SSH" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:30 #, python-format msgid "Enable driver monitoring even when openpilot is not engaged." -msgstr "Ativar monitoramento do motorista mesmo quando o openpilot não está engajado." +msgstr "" +"Ativar monitoramento do motorista mesmo quando o openpilot não está engajado." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:46 #, python-format @@ -338,8 +366,8 @@ msgid "" "Experimental mode is currently unavailable on this car since the car's stock " "ACC is used for longitudinal control." msgstr "" -"O Modo Experimental está indisponível neste carro pois o ACC original do carro " -"é usado para controle longitudinal." +"O Modo Experimental está indisponível neste carro pois o ACC original do " +"carro é usado para controle longitudinal." #: /home/batman/openpilot/selfdrive/ui/widgets/setup.py:44 #, python-format @@ -481,8 +509,8 @@ msgid "No SSH keys found" msgstr "Nenhuma chave SSH encontrada" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, fuzzy, python-format +msgid "No SSH keys found for user '{}'" msgstr "Nenhuma chave SSH encontrada para o usuário '{username}'" #: /home/batman/openpilot/selfdrive/ui/widgets/offroad_alerts.py:18 @@ -564,7 +592,7 @@ msgid "Please connect to Wi-Fi to complete initial pairing" msgstr "Conecte-se ao Wi‑Fi para concluir o emparelhamento inicial" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "Desligar" @@ -600,7 +628,7 @@ msgid "REVIEW" msgstr "REVISAR" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "Reiniciar" @@ -689,6 +717,11 @@ msgstr "Revisar Guia de Treinamento" msgid "Review the rules, features, and limitations of openpilot" msgstr "Revise as regras, recursos e limitações do openpilot" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:62 #, python-format msgid "Serial" @@ -717,10 +750,11 @@ msgid "" "openpilot will stay further away from lead cars. On supported cars, you can " "cycle through these personalities with your steering wheel distance button." msgstr "" -"Padrão é recomendado. No modo agressivo, o openpilot seguirá veículos à frente " -"mais de perto e será mais agressivo com acelerador e freio. No modo relaxado, " -"o openpilot ficará mais longe dos veículos à frente. Em carros compatíveis, você " -"pode alternar essas personalidades com o botão de distância do volante." +"Padrão é recomendado. No modo agressivo, o openpilot seguirá veículos à " +"frente mais de perto e será mais agressivo com acelerador e freio. No modo " +"relaxado, o openpilot ficará mais longe dos veículos à frente. Em carros " +"compatíveis, você pode alternar essas personalidades com o botão de " +"distância do volante." #: /home/batman/openpilot/selfdrive/ui/onroad/alert_renderer.py:59 #: /home/batman/openpilot/selfdrive/ui/onroad/alert_renderer.py:65 @@ -782,8 +816,8 @@ msgid "" "Upload data from the driver facing camera and help improve the driver " "monitoring algorithm." msgstr "" -"Envie dados da câmera voltada para o motorista e ajude a melhorar o algoritmo " -"de monitoramento do motorista." +"Envie dados da câmera voltada para o motorista e ajude a melhorar o " +"algoritmo de monitoramento do motorista." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:88 #, python-format @@ -797,8 +831,8 @@ msgid "" "assistance. Your attention is required at all times to use this feature." msgstr "" "Use o sistema openpilot para controle de cruzeiro adaptativo e assistência " -"de permanência em faixa. Sua atenção é necessária o tempo todo para usar este " -"recurso." +"de permanência em faixa. Sua atenção é necessária o tempo todo para usar " +"este recurso." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:72 #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:144 @@ -825,8 +859,8 @@ msgid "" msgstr "" "Aviso: Isso concede acesso SSH a todas as chaves públicas nas suas " "configurações do GitHub. Nunca informe um nome de usuário do GitHub que não " -"seja o seu. Um funcionário da comma NUNCA pedirá para você adicionar o nome de " -"usuário do GitHub dele." +"seja o seu. Um funcionário da comma NUNCA pedirá para você adicionar o nome " +"de usuário do GitHub dele." #: /home/batman/openpilot/selfdrive/ui/layouts/onboarding.py:111 #, python-format @@ -836,7 +870,8 @@ msgstr "Bem-vindo ao openpilot" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:20 #, python-format msgid "When enabled, pressing the accelerator pedal will disengage openpilot." -msgstr "Quando ativado, pressionar o pedal do acelerador desengajará o openpilot." +msgstr "" +"Quando ativado, pressionar o pedal do acelerador desengajará o openpilot." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:44 #, python-format @@ -854,8 +889,8 @@ msgid "" "You must accept the Terms and Conditions to use openpilot. Read the latest " "terms at https://comma.ai/terms before continuing." msgstr "" -"Você deve aceitar os Termos e Condições para usar o openpilot. Leia os termos " -"mais recentes em https://comma.ai/terms antes de continuar." +"Você deve aceitar os Termos e Condições para usar o openpilot. Leia os " +"termos mais recentes em https://comma.ai/terms antes de continuar." #: /home/batman/openpilot/selfdrive/ui/onroad/driver_camera_dialog.py:34 #, python-format @@ -867,6 +902,11 @@ msgstr "câmera iniciando" msgid "comma prime" msgstr "comma prime" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:105 #, python-format msgid "failed to check for update" @@ -877,6 +917,11 @@ msgstr "falha ao verificar atualização" msgid "km/h" msgstr "km/h" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/onroad/hud_renderer.py:177 #, python-format msgid "mph" @@ -919,15 +964,24 @@ msgid "" msgstr "" "o openpilot dirige por padrão no modo chill. O Modo Experimental habilita " "recursos em nível alpha que não estão prontos para o modo chill. Os recursos " -"experimentais são listados abaixo:

Controle Longitudinal End-to-End

" -"
Permita que o modelo de condução controle o acelerador e os freios. O " -"openpilot dirigirá como acha que um humano faria, incluindo parar em sinais e " -"semáforos vermelhos. Como o modelo decide a velocidade, a velocidade definida " -"atuará apenas como limite superior. Este é um recurso de qualidade alpha; " -"erros devem ser esperados.

Nova Visualização de Condução


A " -"visualização de condução mudará para a câmera grande-angular voltada para a " -"estrada em baixas velocidades para mostrar melhor algumas curvas. O logotipo " -"do Modo Experimental também será exibido no canto superior direito." +"experimentais são listados abaixo:

Controle Longitudinal End-to-End
Permita que o modelo de condução controle o acelerador e os freios. O " +"openpilot dirigirá como acha que um humano faria, incluindo parar em sinais " +"e semáforos vermelhos. Como o modelo decide a velocidade, a velocidade " +"definida atuará apenas como limite superior. Este é um recurso de qualidade " +"alpha; erros devem ser esperados.

Nova Visualização de Condução
A visualização de condução mudará para a câmera grande-angular " +"voltada para a estrada em baixas velocidades para mostrar melhor algumas " +"curvas. O logotipo do Modo Experimental também será exibido no canto " +"superior direito." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, fuzzy, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" +" Alterar esta configuração reiniciará o openpilot se o carro estiver ligado." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:20 #, python-format @@ -947,7 +1001,8 @@ msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:180 #, python-format msgid "openpilot longitudinal control may come in a future update." -msgstr "o controle longitudinal do openpilot pode vir em uma atualização futura." +msgstr "" +"o controle longitudinal do openpilot pode vir em uma atualização futura." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:27 #, python-format @@ -955,8 +1010,18 @@ msgid "" "openpilot requires the device to be mounted within 4° left or right and " "within 5° up or 9° down." msgstr "" -"o openpilot requer que o dispositivo seja montado dentro de 4° para a esquerda " -"ou direita e dentro de 5° para cima ou 9° para baixo." +"o openpilot requer que o dispositivo seja montado dentro de 4° para a " +"esquerda ou direita e dentro de 5° para cima ou 9° para baixo." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:116 #, python-format @@ -1005,8 +1070,10 @@ msgstr[1] "{} minutos atrás" #, python-format msgid "{} segment of your driving is in the training dataset so far." msgid_plural "{} segment of your driving is in the training dataset so far." -msgstr[0] "{} segmento da sua condução está no conjunto de treinamento até agora." -msgstr[1] "{} segmentos da sua condução estão no conjunto de treinamento até agora." +msgstr[0] "" +"{} segmento da sua condução está no conjunto de treinamento até agora." +msgstr[1] "" +"{} segmentos da sua condução estão no conjunto de treinamento até agora." #: /home/batman/openpilot/selfdrive/ui/widgets/prime.py:62 #, python-format diff --git a/selfdrive/ui/translations/app_tr.po b/selfdrive/ui/translations/app_tr.po index 08a5b0b77c..f2629e1c6d 100644 --- a/selfdrive/ui/translations/app_tr.po +++ b/selfdrive/ui/translations/app_tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-20 18:45-0700\n" +"POT-Creation-Date: 2025-10-20 20:00-0700\n" "PO-Revision-Date: 2025-10-20 18:19-0700\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -20,7 +20,23 @@ msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:123 #, python-format msgid " Changing this setting will restart openpilot if the car is powered on." -msgstr " Bu ayarı değiştirmek, araç çalışıyorsa openpilot'u yeniden başlatacaktır." +msgstr "" +" Bu ayarı değiştirmek, araç çalışıyorsa openpilot'u yeniden başlatacaktır." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:163 +#, python-format +msgid " Steering torque response calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:161 +#, python-format +msgid " Steering torque response calibration is {}% complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid " Your device is pointed {:.1f}° {} and {:.1f}° {}." +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:43 #, python-format @@ -61,7 +77,23 @@ msgid "" "control. Enable this to switch to openpilot longitudinal control. Enabling " "Experimental mode is recommended when enabling openpilot longitudinal " "control alpha." -msgstr "UYARI: Bu araç için openpilot boylamsal kontrolü alfa aşamasındadır ve Otomatik Acil Frenlemeyi (AEB) devre dışı bırakacaktır.

Bu araçta openpilot, openpilot'un boylamsal kontrolü yerine aracın yerleşik ACC'sini varsayılan olarak kullanır. openpilot boylamsal kontrolüne geçmek için bunu etkinleştirin. openpilot boylamsal kontrol alfayı etkinleştirirken Deneysel modu etkinleştirmeniz önerilir." +msgstr "" +"UYARI: Bu araç için openpilot boylamsal kontrolü alfa aşamasındadır ve " +"Otomatik Acil Frenlemeyi (AEB) devre dışı bırakacaktır.

Bu araçta " +"openpilot, openpilot'un boylamsal kontrolü yerine aracın yerleşik ACC'sini " +"varsayılan olarak kullanır. openpilot boylamsal kontrolüne geçmek için bunu " +"etkinleştirin. openpilot boylamsal kontrol alfayı etkinleştirirken Deneysel " +"modu etkinleştirmeniz önerilir." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:151 +#, python-format +msgid "

Steering lag calibration is complete." +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:149 +#, python-format +msgid "

Steering lag calibration is {}% complete." +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:137 #, python-format @@ -73,7 +105,10 @@ msgstr "AKTİF" msgid "" "ADB (Android Debug Bridge) allows connecting to your device over USB or over " "the network. See https://docs.comma.ai/how-to/connect-to-comma for more info." -msgstr "ADB (Android Debug Bridge), cihazınıza USB veya ağ üzerinden bağlanmayı sağlar. Daha fazla bilgi için https://docs.comma.ai/how-to/connect-to-comma adresine bakın." +msgstr "" +"ADB (Android Debug Bridge), cihazınıza USB veya ağ üzerinden bağlanmayı " +"sağlar. Daha fazla bilgi için https://docs.comma.ai/how-to/connect-to-comma " +"adresine bakın." #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:30 #, python-format @@ -105,14 +140,16 @@ msgstr "Sürekli Sürücü İzleme" msgid "" "An alpha version of openpilot longitudinal control can be tested, along with " "Experimental mode, on non-release branches." -msgstr "openpilot boylamsal kontrolünün alfa sürümü, Deneysel mod ile birlikte, yayın dışı dallarda test edilebilir." +msgstr "" +"openpilot boylamsal kontrolünün alfa sürümü, Deneysel mod ile birlikte, " +"yayın dışı dallarda test edilebilir." -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Are you sure you want to power off?" msgstr "Kapatmak istediğinizden emin misiniz?" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Are you sure you want to reboot?" msgstr "Yeniden başlatmak istediğinizden emin misiniz?" @@ -140,7 +177,8 @@ msgstr "connect.comma.ai adresinde comma prime üyesi olun" #: /home/batman/openpilot/selfdrive/ui/widgets/pairing_dialog.py:130 #, python-format msgid "Bookmark connect.comma.ai to your home screen to use it like an app" -msgstr "connect.comma.ai'yi ana ekranınıza ekleyerek bir uygulama gibi kullanın" +msgstr "" +"connect.comma.ai'yi ana ekranınıza ekleyerek bir uygulama gibi kullanın" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:68 #, python-format @@ -218,12 +256,12 @@ msgstr "Cihaz" msgid "Disengage on Accelerator Pedal" msgstr "Gaz Pedalında Devreden Çık" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:186 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:187 #, python-format msgid "Disengage to Power Off" msgstr "Kapatmak için Devreden Çıkın" -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:174 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:175 #, python-format msgid "Disengage to Reboot" msgstr "Yeniden Başlatmak için Devreden Çıkın" @@ -308,7 +346,8 @@ msgstr "openpilot'u etkinleştir" msgid "" "Enable the openpilot longitudinal control (alpha) toggle to allow " "Experimental mode." -msgstr "Deneysel modu etkinleştirmek için openpilot boylamsal kontrolünü (alfa) açın." +msgstr "" +"Deneysel modu etkinleştirmek için openpilot boylamsal kontrolünü (alfa) açın." #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:89 #, python-format @@ -325,7 +364,9 @@ msgstr "Deneysel Mod" msgid "" "Experimental mode is currently unavailable on this car since the car's stock " "ACC is used for longitudinal control." -msgstr "Bu araçta boylamsal kontrol için stok ACC kullanıldığından şu anda Deneysel mod kullanılamıyor." +msgstr "" +"Bu araçta boylamsal kontrol için stok ACC kullanıldığından şu anda Deneysel " +"mod kullanılamıyor." #: /home/batman/openpilot/selfdrive/ui/widgets/setup.py:44 #, python-format @@ -365,7 +406,27 @@ msgid "" "\n" "Does it matter which software I run? Yes, only upstream openpilot (and " "particular forks) are able to be used for training." -msgstr "Maksimum verim için cihazınızı içeri alın ve haftalık olarak iyi bir USB-C adaptörüne ve Wi‑Fi'a bağlayın.\n\nFirehose Modu, bir hotspot'a veya sınırsız SIM karta bağlıyken sürüş sırasında da çalışabilir.\n\n\nSıkça Sorulan Sorular\n\nNasıl veya nerede sürdüğüm önemli mi? Hayır, normalde nasıl sürüyorsanız öyle sürün.\n\nFirehose Modu'nda tüm segmentlerim çekiliyor mu? Hayır, segmentlerinizin bir alt kümesini seçerek çekiyoruz.\n\nİyi bir USB‑C adaptörü nedir? Hızlı bir telefon veya dizüstü şarj cihazı uygundur.\n\nHangi yazılımı çalıştırdığım önemli mi? Evet, yalnızca upstream openpilot (ve bazı fork'lar) eğitim için kullanılabilir." +msgstr "" +"Maksimum verim için cihazınızı içeri alın ve haftalık olarak iyi bir USB-C " +"adaptörüne ve Wi‑Fi'a bağlayın.\n" +"\n" +"Firehose Modu, bir hotspot'a veya sınırsız SIM karta bağlıyken sürüş " +"sırasında da çalışabilir.\n" +"\n" +"\n" +"Sıkça Sorulan Sorular\n" +"\n" +"Nasıl veya nerede sürdüğüm önemli mi? Hayır, normalde nasıl sürüyorsanız " +"öyle sürün.\n" +"\n" +"Firehose Modu'nda tüm segmentlerim çekiliyor mu? Hayır, segmentlerinizin bir " +"alt kümesini seçerek çekiyoruz.\n" +"\n" +"İyi bir USB‑C adaptörü nedir? Hızlı bir telefon veya dizüstü şarj cihazı " +"uygundur.\n" +"\n" +"Hangi yazılımı çalıştırdığım önemli mi? Evet, yalnızca upstream openpilot " +"(ve bazı fork'lar) eğitim için kullanılabilir." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:71 #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:125 @@ -428,7 +489,9 @@ msgstr "MAKS" #, python-format msgid "" "Maximize your training data uploads to improve openpilot's driving models." -msgstr "openpilot'un sürüş modellerini iyileştirmek için eğitim veri yüklemelerinizi en üst düzeye çıkarın." +msgstr "" +"openpilot'un sürüş modellerini iyileştirmek için eğitim veri yüklemelerinizi " +"en üst düzeye çıkarın." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:142 #, python-format @@ -446,8 +509,8 @@ msgid "No SSH keys found" msgstr "SSH anahtarı bulunamadı" #: /home/batman/openpilot/selfdrive/ui/widgets/ssh_key.py:126 -#, python-format, python-brace-format -msgid "No SSH keys found for user '{username}'" +#, fuzzy, python-format +msgid "No SSH keys found for user '{}'" msgstr "'{username}' için SSH anahtarı bulunamadı" #: /home/batman/openpilot/selfdrive/ui/widgets/offroad_alerts.py:18 @@ -519,7 +582,9 @@ msgstr "Cihazınızı comma hesabınızla eşleştirin" msgid "" "Pair your device with comma connect (connect.comma.ai) and claim your comma " "prime offer." -msgstr "Cihazınızı comma connect (connect.comma.ai) ile eşleştirin ve comma prime teklifinizi alın." +msgstr "" +"Cihazınızı comma connect (connect.comma.ai) ile eşleştirin ve comma prime " +"teklifinizi alın." #: /home/batman/openpilot/selfdrive/ui/widgets/setup.py:91 #, python-format @@ -527,7 +592,7 @@ msgid "Please connect to Wi-Fi to complete initial pairing" msgstr "İlk eşleştirmeyi tamamlamak için lütfen Wi‑Fi'a bağlanın" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:189 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:190 #, python-format msgid "Power Off" msgstr "Kapat" @@ -537,7 +602,9 @@ msgstr "Kapat" msgid "" "Preview the driver facing camera to ensure that driver monitoring has good " "visibility. (vehicle must be off)" -msgstr "Sürücü izleme görünürlüğünün iyi olduğundan emin olmak için sürücüye bakan kamerayı önizleyin. (araç kapalı olmalıdır)" +msgstr "" +"Sürücü izleme görünürlüğünün iyi olduğundan emin olmak için sürücüye bakan " +"kamerayı önizleyin. (araç kapalı olmalıdır)" #: /home/batman/openpilot/selfdrive/ui/widgets/pairing_dialog.py:161 #, python-format @@ -560,7 +627,7 @@ msgid "REVIEW" msgstr "GÖZDEN GEÇİR" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:58 -#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:177 +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:178 #, python-format msgid "Reboot" msgstr "Yeniden Başlat" @@ -581,7 +648,9 @@ msgid "" "Receive alerts to steer back into the lane when your vehicle drifts over a " "detected lane line without a turn signal activated while driving over 31 mph " "(50 km/h)." -msgstr "Araç 31 mph (50 km/h) üzerindeyken sinyal verilmeden algılanan şerit çizgisini aştığınızda şeride geri dönmeniz için uyarılar alın." +msgstr "" +"Araç 31 mph (50 km/h) üzerindeyken sinyal verilmeden algılanan şerit " +"çizgisini aştığınızda şeride geri dönmeniz için uyarılar alın." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:76 #, python-format @@ -598,7 +667,9 @@ msgstr "Mikrofon Sesini Kaydet ve Yükle" msgid "" "Record and store microphone audio while driving. The audio will be included " "in the dashcam video in comma connect." -msgstr "Sürüş sırasında mikrofon sesini kaydedip saklayın. Ses, comma connect'teki ön kamera videosuna dahil edilecektir." +msgstr "" +"Sürüş sırasında mikrofon sesini kaydedip saklayın. Ses, comma connect'teki " +"ön kamera videosuna dahil edilecektir." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:67 #, python-format @@ -643,7 +714,13 @@ msgstr "Eğitim Kılavuzunu İncele" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:28 #, python-format msgid "Review the rules, features, and limitations of openpilot" -msgstr "openpilot'un kurallarını, özelliklerini ve sınırlamalarını gözden geçirin" +msgstr "" +"openpilot'un kurallarını, özelliklerini ve sınırlamalarını gözden geçirin" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:93 +#, python-format +msgid "Select a language" +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:62 #, python-format @@ -672,7 +749,11 @@ msgid "" "closer and be more aggressive with the gas and brake. In relaxed mode " "openpilot will stay further away from lead cars. On supported cars, you can " "cycle through these personalities with your steering wheel distance button." -msgstr "Standart önerilir. Agresif modda openpilot öndeki aracı daha yakından takip eder ve gaz/fren kullanımında daha ataktır. Rahat modda openpilot öndeki araçlardan daha uzak durur. Desteklenen araçlarda bu kişilikler arasında direksiyon mesafe düğmesiyle geçiş yapabilirsiniz." +msgstr "" +"Standart önerilir. Agresif modda openpilot öndeki aracı daha yakından takip " +"eder ve gaz/fren kullanımında daha ataktır. Rahat modda openpilot öndeki " +"araçlardan daha uzak durur. Desteklenen araçlarda bu kişilikler arasında " +"direksiyon mesafe düğmesiyle geçiş yapabilirsiniz." #: /home/batman/openpilot/selfdrive/ui/onroad/alert_renderer.py:59 #: /home/batman/openpilot/selfdrive/ui/onroad/alert_renderer.py:65 @@ -733,7 +814,9 @@ msgstr "Şimdi Yükselt" msgid "" "Upload data from the driver facing camera and help improve the driver " "monitoring algorithm." -msgstr "Sürücüye bakan kameradan veri yükleyin ve sürücü izleme algoritmasını geliştirmeye yardımcı olun." +msgstr "" +"Sürücüye bakan kameradan veri yükleyin ve sürücü izleme algoritmasını " +"geliştirmeye yardımcı olun." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:88 #, python-format @@ -745,7 +828,10 @@ msgstr "Metrik Sistemi Kullan" msgid "" "Use the openpilot system for adaptive cruise control and lane keep driver " "assistance. Your attention is required at all times to use this feature." -msgstr "Uyarlanabilir hız sabitleyici ve şerit koruma sürücü yardımında openpilot sistemini kullanın. Bu özelliği kullanırken her zaman dikkatli olmanız gerekir." +msgstr "" +"Uyarlanabilir hız sabitleyici ve şerit koruma sürücü yardımında openpilot " +"sistemini kullanın. Bu özelliği kullanırken her zaman dikkatli olmanız " +"gerekir." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:72 #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:144 @@ -769,7 +855,10 @@ msgid "" "Warning: This grants SSH access to all public keys in your GitHub settings. " "Never enter a GitHub username other than your own. A comma employee will " "NEVER ask you to add their GitHub username." -msgstr "Uyarı: Bu, GitHub ayarlarınızdaki tüm açık anahtarlara SSH erişimi verir. Kendi adınız dışında asla bir GitHub kullanıcı adı girmeyin. Bir comma çalışanı sizden asla GitHub kullanıcı adlarını eklemenizi İSTEMEZ." +msgstr "" +"Uyarı: Bu, GitHub ayarlarınızdaki tüm açık anahtarlara SSH erişimi verir. " +"Kendi adınız dışında asla bir GitHub kullanıcı adı girmeyin. Bir comma " +"çalışanı sizden asla GitHub kullanıcı adlarını eklemenizi İSTEMEZ." #: /home/batman/openpilot/selfdrive/ui/layouts/onboarding.py:111 #, python-format @@ -779,7 +868,8 @@ msgstr "openpilot'a hoş geldiniz" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:20 #, python-format msgid "When enabled, pressing the accelerator pedal will disengage openpilot." -msgstr "Etkinleştirildiğinde, gaz pedalına basmak openpilot'u devreden çıkarır." +msgstr "" +"Etkinleştirildiğinde, gaz pedalına basmak openpilot'u devreden çıkarır." #: /home/batman/openpilot/selfdrive/ui/layouts/sidebar.py:44 #, python-format @@ -796,7 +886,9 @@ msgstr "openpilot'u kullanmak için Şartlar ve Koşulları kabul etmelisiniz." msgid "" "You must accept the Terms and Conditions to use openpilot. Read the latest " "terms at https://comma.ai/terms before continuing." -msgstr "openpilot'u kullanmak için Şartlar ve Koşulları kabul etmelisiniz. Devam etmeden önce en güncel şartları https://comma.ai/terms adresinde okuyun." +msgstr "" +"openpilot'u kullanmak için Şartlar ve Koşulları kabul etmelisiniz. Devam " +"etmeden önce en güncel şartları https://comma.ai/terms adresinde okuyun." #: /home/batman/openpilot/selfdrive/ui/onroad/driver_camera_dialog.py:34 #, python-format @@ -808,6 +900,11 @@ msgstr "kamera başlatılıyor" msgid "comma prime" msgstr "comma prime" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "down" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:105 #, python-format msgid "failed to check for update" @@ -818,6 +915,11 @@ msgstr "güncelleme kontrolü başarısız" msgid "km/h" msgstr "km/h" +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "left" +msgstr "" + #: /home/batman/openpilot/selfdrive/ui/onroad/hud_renderer.py:177 #, python-format msgid "mph" @@ -857,7 +959,26 @@ msgid "" "transition to the road-facing wide-angle camera at low speeds to better show " "some turns. The Experimental mode logo will also be shown in the top right " "corner." -msgstr "openpilot varsayılan olarak chill modunda sürer. Deneysel mod, chill moduna hazır olmayan alfa seviyesindeki özellikleri etkinleştirir. Deneysel özellikler aşağıda listelenmiştir:

Uçtan Uca Boylamsal Kontrol


Sürüş modelinin gaz ve frenleri kontrol etmesine izin verin. openpilot, kırmızı ışıklarda ve dur işaretlerinde durmak dahil, bir insan nasıl sürer diye düşündüğüne göre sürer. Hızı sürüş modeli belirlediğinden, ayarlanan hız yalnızca üst sınır olarak işlev görür. Bu bir alfa kalitesinde özelliktir; hatalar beklenmelidir.

Yeni Sürüş Görselleştirmesi


Sürüş görselleştirmesi, düşük hızlarda bazı dönüşleri daha iyi göstermek için yola bakan geniş açılı kameraya geçer. Deneysel mod logosu sağ üst köşede de gösterilecektir." +msgstr "" +"openpilot varsayılan olarak chill modunda sürer. Deneysel mod, chill moduna " +"hazır olmayan alfa seviyesindeki özellikleri etkinleştirir. Deneysel " +"özellikler aşağıda listelenmiştir:

Uçtan Uca Boylamsal Kontrol
Sürüş modelinin gaz ve frenleri kontrol etmesine izin verin. " +"openpilot, kırmızı ışıklarda ve dur işaretlerinde durmak dahil, bir insan " +"nasıl sürer diye düşündüğüne göre sürer. Hızı sürüş modeli belirlediğinden, " +"ayarlanan hız yalnızca üst sınır olarak işlev görür. Bu bir alfa kalitesinde " +"özelliktir; hatalar beklenmelidir.

Yeni Sürüş Görselleştirmesi
Sürüş görselleştirmesi, düşük hızlarda bazı dönüşleri daha iyi " +"göstermek için yola bakan geniş açılı kameraya geçer. Deneysel mod logosu " +"sağ üst köşede de gösterilecektir." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:168 +#, fuzzy, python-format +msgid "" +"openpilot is continuously calibrating, resetting is rarely required. " +"Resetting calibration will restart openpilot if the car is powered on." +msgstr "" +" Bu ayarı değiştirmek, araç çalışıyorsa openpilot'u yeniden başlatacaktır." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/firehose.py:20 #, python-format @@ -867,7 +988,12 @@ msgid "" "Firehose Mode allows you to maximize your training data uploads to improve " "openpilot's driving models. More data means bigger models, which means " "better Experimental Mode." -msgstr "openpilot, sizin gibi insanların nasıl sürdüğünü izleyerek sürmeyi öğrenir.\n\nFirehose Modu, openpilot'un sürüş modellerini geliştirmek için eğitim veri yüklemelerinizi en üst düzeye çıkarmanıza olanak tanır. Daha fazla veri, daha büyük modeller demektir; bu da daha iyi Deneysel Mod anlamına gelir." +msgstr "" +"openpilot, sizin gibi insanların nasıl sürdüğünü izleyerek sürmeyi öğrenir.\n" +"\n" +"Firehose Modu, openpilot'un sürüş modellerini geliştirmek için eğitim veri " +"yüklemelerinizi en üst düzeye çıkarmanıza olanak tanır. Daha fazla veri, " +"daha büyük modeller demektir; bu da daha iyi Deneysel Mod anlamına gelir." #: /home/batman/openpilot/selfdrive/ui/layouts/settings/toggles.py:180 #, python-format @@ -879,7 +1005,19 @@ msgstr "openpilot boylamsal kontrolü gelecekteki bir güncellemede gelebilir." msgid "" "openpilot requires the device to be mounted within 4° left or right and " "within 5° up or 9° down." -msgstr "openpilot, cihazın sağa/sola 4° ve yukarı 5° veya aşağı 9° içinde monte edilmesini gerektirir." +msgstr "" +"openpilot, cihazın sağa/sola 4° ve yukarı 5° veya aşağı 9° içinde monte " +"edilmesini gerektirir." + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:137 +#, python-format +msgid "right" +msgstr "" + +#: /home/batman/openpilot/selfdrive/ui/layouts/settings/device.py:136 +#, python-format +msgid "up" +msgstr "" #: /home/batman/openpilot/selfdrive/ui/layouts/settings/software.py:116 #, python-format diff --git a/selfdrive/ui/widgets/ssh_key.py b/selfdrive/ui/widgets/ssh_key.py index e9cbc626e8..e44c4aad5d 100644 --- a/selfdrive/ui/widgets/ssh_key.py +++ b/selfdrive/ui/widgets/ssh_key.py @@ -123,7 +123,7 @@ class SshKeyAction(ItemAction): self._error_message = tr("Request timed out") self._state = SshKeyActionState.ADD except Exception: - self._error_message = tr(f"No SSH keys found for user '{username}'") + self._error_message = tr("No SSH keys found for user '{}'").format(username) self._state = SshKeyActionState.ADD diff --git a/system/ui/lib/multilang.py b/system/ui/lib/multilang.py index b604983681..45cc0586e0 100644 --- a/system/ui/lib/multilang.py +++ b/system/ui/lib/multilang.py @@ -4,7 +4,6 @@ import gettext from openpilot.common.params import Params from openpilot.common.basedir import BASEDIR - UI_DIR = os.path.join(BASEDIR, "selfdrive", "ui") TRANSLATIONS_DIR = os.path.join(UI_DIR, "translations") LANGUAGES_FILE = os.path.join(TRANSLATIONS_DIR, "languages.json") @@ -16,7 +15,6 @@ class Multilang: self.languages = {} self.codes = {} self._load_languages() - print(f"Multilang initialized with language: {self.language}") @property def language(self) -> str: @@ -39,29 +37,11 @@ class Multilang: return tr, trn - # def translate(self, text: str) -> str: - # if self._language not in self._translations: - # return text - # return self._translations[self._language].get(text, text) - # def _load_languages(self): with open(LANGUAGES_FILE, encoding='utf-8') as f: self.languages = json.load(f) self.codes = {v: k for k, v in self.languages.items()} - print(f"Available languages: {self.languages}") - - -# # l = gettext.translation('app_de', localedir=TRANSLATIONS_DIR, languages=['de']) -# with open(os.path.join(TRANSLATIONS_DIR, 'app_de.mo'), 'rb') as fh: -# l = gettext.GNUTranslations(fh) -# l.install() -# # tr = multilang.translate -# # tr = gettext.gettext -# tr = l.gettext -# trn = l.ngettext -# tr, trn = None, None -# multilang = Multilang() multilang = Multilang() tr, trn = multilang.setup()