From 7baa1f6de99c6ebe9f9906193da7e83dad79511a Mon Sep 17 00:00:00 2001 From: "Quantizr (Jimmy)" <9859727+Quantizr@users.noreply.github.com> Date: Mon, 23 Jun 2025 16:54:45 -0700 Subject: [PATCH] change description and add translation placeholders --- selfdrive/ui/layouts/settings/toggles.py | 4 ++-- selfdrive/ui/qt/offroad/settings.cc | 4 ++-- selfdrive/ui/translations/main_ar.ts | 8 ++++++++ selfdrive/ui/translations/main_de.ts | 8 ++++++++ selfdrive/ui/translations/main_es.ts | 8 ++++++++ selfdrive/ui/translations/main_fr.ts | 8 ++++++++ selfdrive/ui/translations/main_ja.ts | 8 ++++++++ selfdrive/ui/translations/main_ko.ts | 8 ++++++++ selfdrive/ui/translations/main_nl.ts | 8 ++++++++ selfdrive/ui/translations/main_pl.ts | 8 ++++++++ selfdrive/ui/translations/main_pt-BR.ts | 8 ++++++++ selfdrive/ui/translations/main_th.ts | 8 ++++++++ selfdrive/ui/translations/main_tr.ts | 8 ++++++++ selfdrive/ui/translations/main_zh-CHS.ts | 8 ++++++++ selfdrive/ui/translations/main_zh-CHT.ts | 8 ++++++++ 15 files changed, 108 insertions(+), 4 deletions(-) diff --git a/selfdrive/ui/layouts/settings/toggles.py b/selfdrive/ui/layouts/settings/toggles.py index 133c1fd012..719b2904bf 100644 --- a/selfdrive/ui/layouts/settings/toggles.py +++ b/selfdrive/ui/layouts/settings/toggles.py @@ -21,7 +21,7 @@ DESCRIPTIONS = { "AlwaysOnDM": "Enable driver monitoring even when openpilot is not engaged.", 'RecordFront': "Upload data from the driver facing camera and help improve the driver monitoring algorithm.", "IsMetric": "Display speed in km/h instead of mph.", - "RecordAudio": "Records microphone audio.", + "RecordAudio": "Records and stores microphone audio while driving.", } @@ -81,7 +81,7 @@ class TogglesLayout(Widget): "Record Microphone Audio", DESCRIPTIONS["RecordAudio"], self._params.get_bool("RecordAudio"), - icon="monitoring.png", + icon="microphone.png", ), ] diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index cd13ee08ec..37aec44bd6 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -71,8 +71,8 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) { { "RecordAudio", tr("Record Microphone Audio"), - tr("Records microphone audio."), - "../assets/icons/monitoring.png", + tr("Records and stores microphone audio while driving."), + "../assets/icons/microphone.png", true, }, }; diff --git a/selfdrive/ui/translations/main_ar.ts b/selfdrive/ui/translations/main_ar.ts index df13a5d2e9..b440e80093 100644 --- a/selfdrive/ui/translations/main_ar.ts +++ b/selfdrive/ui/translations/main_ar.ts @@ -1182,6 +1182,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_de.ts b/selfdrive/ui/translations/main_de.ts index 7cf794774f..6e5770e233 100644 --- a/selfdrive/ui/translations/main_de.ts +++ b/selfdrive/ui/translations/main_de.ts @@ -1164,6 +1164,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_es.ts b/selfdrive/ui/translations/main_es.ts index 5941e53c73..6e4d2dfaf7 100644 --- a/selfdrive/ui/translations/main_es.ts +++ b/selfdrive/ui/translations/main_es.ts @@ -1162,6 +1162,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_fr.ts b/selfdrive/ui/translations/main_fr.ts index 08b390701a..f236366880 100644 --- a/selfdrive/ui/translations/main_fr.ts +++ b/selfdrive/ui/translations/main_fr.ts @@ -1160,6 +1160,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_ja.ts b/selfdrive/ui/translations/main_ja.ts index f3243d8769..deef518416 100644 --- a/selfdrive/ui/translations/main_ja.ts +++ b/selfdrive/ui/translations/main_ja.ts @@ -1157,6 +1157,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. この設定を変更すると車の電源が入っている場合はopenpilotが再起動します。 + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_ko.ts b/selfdrive/ui/translations/main_ko.ts index 9846093f2e..cbc2126982 100644 --- a/selfdrive/ui/translations/main_ko.ts +++ b/selfdrive/ui/translations/main_ko.ts @@ -1157,6 +1157,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. 이 설정을 변경하면 차량이 재가동된후 오픈파일럿이 시작됩니다. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_nl.ts b/selfdrive/ui/translations/main_nl.ts index 10651a4160..f9dd3e12f5 100644 --- a/selfdrive/ui/translations/main_nl.ts +++ b/selfdrive/ui/translations/main_nl.ts @@ -1062,6 +1062,14 @@ ingesteld Enable experimental longitudinal control to enable this. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_pl.ts b/selfdrive/ui/translations/main_pl.ts index 4f8b03ef50..1e9eb56bfe 100644 --- a/selfdrive/ui/translations/main_pl.ts +++ b/selfdrive/ui/translations/main_pl.ts @@ -1066,6 +1066,14 @@ nie zostało ustawione Enable experimental longitudinal control to enable this. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_pt-BR.ts b/selfdrive/ui/translations/main_pt-BR.ts index 736f09d826..06f532494c 100644 --- a/selfdrive/ui/translations/main_pt-BR.ts +++ b/selfdrive/ui/translations/main_pt-BR.ts @@ -1162,6 +1162,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. Alterar esta configuração fará com que o openpilot reinicie se o carro estiver ligado. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_th.ts b/selfdrive/ui/translations/main_th.ts index e8dd3c74a0..214d2a9168 100644 --- a/selfdrive/ui/translations/main_th.ts +++ b/selfdrive/ui/translations/main_th.ts @@ -1157,6 +1157,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_tr.ts b/selfdrive/ui/translations/main_tr.ts index 5243b0365a..6cc90a8937 100644 --- a/selfdrive/ui/translations/main_tr.ts +++ b/selfdrive/ui/translations/main_tr.ts @@ -1153,6 +1153,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_zh-CHS.ts b/selfdrive/ui/translations/main_zh-CHS.ts index 7af7db1a27..e4106deae3 100644 --- a/selfdrive/ui/translations/main_zh-CHS.ts +++ b/selfdrive/ui/translations/main_zh-CHS.ts @@ -1157,6 +1157,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. 如果车辆已通电,更改此设置将会重新启动 openpilot。 + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater diff --git a/selfdrive/ui/translations/main_zh-CHT.ts b/selfdrive/ui/translations/main_zh-CHT.ts index 8eeebc78d5..0206f8d2da 100644 --- a/selfdrive/ui/translations/main_zh-CHT.ts +++ b/selfdrive/ui/translations/main_zh-CHT.ts @@ -1157,6 +1157,14 @@ If you'd like to proceed, use https://flash.comma.ai to restore your device Changing this setting will restart openpilot if the car is powered on. 若車輛電源為開啟狀態,變更此設定將會重新啟動 openpilot。 + + Record Microphone Audio + + + + Records and stores microphone audio while driving. + + Updater