diff --git a/selfdrive/ui/qt/offroad/firehose.cc b/selfdrive/ui/qt/offroad/firehose.cc index fe42178a4c..2923dbffe5 100644 --- a/selfdrive/ui/qt/offroad/firehose.cc +++ b/selfdrive/ui/qt/offroad/firehose.cc @@ -88,7 +88,7 @@ FirehosePanel::FirehosePanel(SettingsWindow *parent) : QWidget((QWidget*)parent) QJsonDocument doc = QJsonDocument::fromJson(response.toUtf8()); QJsonObject json = doc.object(); int count = json["firehose"].toInt(); - contribution_label->setText(tr("%1 %2 of your driving are in the training dataset so far.").arg(count).arg(count == 1 ? "segment" : "segments")); + contribution_label->setText(tr("%n segment(s) of your driving is in the training dataset so far.", "", count)); contribution_label->show(); } }); diff --git a/selfdrive/ui/translations/main_ar.ts b/selfdrive/ui/translations/main_ar.ts index bb5cec335c..a41bc45713 100644 --- a/selfdrive/ui/translations/main_ar.ts +++ b/selfdrive/ui/translations/main_ar.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,17 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + + + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_de.ts b/selfdrive/ui/translations/main_de.ts index 34aadcc733..d440e790fc 100644 --- a/selfdrive/ui/translations/main_de.ts +++ b/selfdrive/ui/translations/main_de.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,13 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_en.ts b/selfdrive/ui/translations/main_en.ts index 3f9692e5fa..fbccbedb20 100644 --- a/selfdrive/ui/translations/main_en.ts +++ b/selfdrive/ui/translations/main_en.ts @@ -1,6 +1,16 @@ + + FirehosePanel + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + <b>%n segment</b> of your driving is in the training dataset so far. + <b>%n segments</b> of your driving are in the training dataset so far. + + + InputDialog diff --git a/selfdrive/ui/translations/main_es.ts b/selfdrive/ui/translations/main_es.ts index 9c7510856f..235051bb73 100644 --- a/selfdrive/ui/translations/main_es.ts +++ b/selfdrive/ui/translations/main_es.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,13 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_fr.ts b/selfdrive/ui/translations/main_fr.ts index 08b310dcd9..4ed97e2338 100644 --- a/selfdrive/ui/translations/main_fr.ts +++ b/selfdrive/ui/translations/main_fr.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,13 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_ja.ts b/selfdrive/ui/translations/main_ja.ts index 591594edb4..7c67d83020 100644 --- a/selfdrive/ui/translations/main_ja.ts +++ b/selfdrive/ui/translations/main_ja.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,12 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_ko.ts b/selfdrive/ui/translations/main_ko.ts index 5b9024bfd3..5abc6ce9b2 100644 --- a/selfdrive/ui/translations/main_ko.ts +++ b/selfdrive/ui/translations/main_ko.ts @@ -323,10 +323,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE 파이어호스 모드: 활성화 - - <b>%1 %2</b> of your driving are in the training dataset so far. - <b>%1 %2</b> 의 운전이 지금까지의 학습 데이터셋에 포함되어 있습니다. - ACTIVE 활성화 @@ -339,6 +335,12 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. 최대한의 효과를 얻으려면 매주 장치를 실내로 가져와 좋은 USB-C 케이블에 연결하고 Wi-Fi에 연결하세요.<br><br>파이어호스 모드는 핫스팟 또는 무제한 SIM 카드에 연결된 경우에는 운전 중에도 작동할 수 있습니다.<br><br><br><b>자주 묻는 질문</b><br><br><i>운전 방법이나 장소가 중요한가요?</i> 아니요, 평소처럼 운전하시면 됩니다.<br><br><i>파이어호스 모드에서 제 모든 구간을 가져오나요?.<br><br><i> 아니요, 저희는 여러분의 구간 중 일부를 선별적으로 가져옵니다.<br><br><i>좋은 USB-C 케이블은 무엇인가요?</i> 휴대폰이나 노트북 고속 충전기가 있으면 됩니다.<br><br><i>어떤 소프트웨어를 실행하는지가 중요한가요?</i> 예, 오직 공식 openpilot의 특정 포크만 트레이닝에 사용할 수 있습니다. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_pt-BR.ts b/selfdrive/ui/translations/main_pt-BR.ts index fb67a5d9e1..5cfd6a9bf7 100644 --- a/selfdrive/ui/translations/main_pt-BR.ts +++ b/selfdrive/ui/translations/main_pt-BR.ts @@ -323,10 +323,6 @@ O Modo Firehose permite maximizar o envio de dados de treinamento para melhorar Firehose Mode: ACTIVE Modo Firehose: ATIVO - - <b>%1 %2</b> of your driving are in the training dataset so far. - <b>%1 %2</b> da sua direção já está no conjunto de dados de treinamento até agora. - ACTIVE ATIVO @@ -339,6 +335,13 @@ O Modo Firehose permite maximizar o envio de dados de treinamento para melhorar For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. Para maior eficácia, leve seu dispositivo para dentro de casa e conecte-o a um bom adaptador USB-C e Wi-Fi semanalmente.<br><br>O Modo Firehose também pode funcionar enquanto você dirige, se estiver conectado a um hotspot ou a um chip SIM com dados ilimitados.<br><br><br><b>Perguntas Frequentes</b><br><br><i>Importa como ou onde eu dirijo?</i> Não, basta dirigir normalmente.<br><br><i>Todos os meus segmentos são enviados no Modo Firehose?</i> Não, selecionamos apenas um subconjunto dos seus segmentos.<br><br><i>Qual é um bom adaptador USB-C?</i> Qualquer carregador rápido de telefone ou laptop deve ser suficiente.<br><br><i>Importa qual software eu uso?</i> Sim, apenas o openpilot oficial (e alguns forks específicos) podem ser usados para treinamento. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_th.ts b/selfdrive/ui/translations/main_th.ts index e041d799ef..6db0085567 100644 --- a/selfdrive/ui/translations/main_th.ts +++ b/selfdrive/ui/translations/main_th.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,12 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_tr.ts b/selfdrive/ui/translations/main_tr.ts index 1147ff0b94..e640eeab4d 100644 --- a/selfdrive/ui/translations/main_tr.ts +++ b/selfdrive/ui/translations/main_tr.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,12 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_zh-CHS.ts b/selfdrive/ui/translations/main_zh-CHS.ts index 91839fd68a..f78d8dcdff 100644 --- a/selfdrive/ui/translations/main_zh-CHS.ts +++ b/selfdrive/ui/translations/main_zh-CHS.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,12 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + HudRenderer diff --git a/selfdrive/ui/translations/main_zh-CHT.ts b/selfdrive/ui/translations/main_zh-CHT.ts index 29cc095698..8547c90410 100644 --- a/selfdrive/ui/translations/main_zh-CHT.ts +++ b/selfdrive/ui/translations/main_zh-CHT.ts @@ -321,10 +321,6 @@ Firehose Mode allows you to maximize your training data uploads to improve openp Firehose Mode: ACTIVE - - <b>%1 %2</b> of your driving are in the training dataset so far. - - ACTIVE @@ -337,6 +333,12 @@ Firehose Mode allows you to maximize your training data uploads to improve openp For maximum effectiveness, bring your device inside and connect to a good USB-C adapter and Wi-Fi weekly.<br><br>Firehose Mode can also work while you're driving if connected to a hotspot or unlimited SIM card.<br><br><br><b>Frequently Asked Questions</b><br><br><i>Does it matter how or where I drive?</i> Nope, just drive as you normally would.<br><br><i>Do all of my segments get pulled in Firehose Mode?</i> No, we selectively pull a subset of your segments.<br><br><i>What's a good USB-C adapter?</i> Any fast phone or laptop charger should be fine.<br><br><i>Does it matter which software I run?</i> Yes, only upstream openpilot (and particular forks) are able to be used for training. + + <b>%n segment(s)</b> of your driving is in the training dataset so far. + + + + HudRenderer