Wrap new UI strings

pull/25430/head
Shane Smiskol 3 years ago
parent 7ddcde687e
commit 64c2d4b30f
  1. 4
      selfdrive/ui/qt/offroad/settings.cc
  2. 12
      selfdrive/ui/translations/main_ja.ts
  3. 12
      selfdrive/ui/translations/main_ko.ts
  4. 12
      selfdrive/ui/translations/main_pt-BR.ts
  5. 12
      selfdrive/ui/translations/main_zh-CHS.ts
  6. 12
      selfdrive/ui/translations/main_zh-CHT.ts

@ -134,8 +134,8 @@ void TogglesPanel::updateToggles() {
e2e_toggle->setEnabled(false);
params.remove("EndToEndLong");
const QString no_long = "openpilot longitudinal control is not currently available for this car.";
const QString exp_long = "Enable experimental longitudinal control to enable this.";
const QString no_long = tr("openpilot longitudinal control is not currently available for this car.");
const QString exp_long = tr("Enable experimental longitudinal control to enable this.");
e2e_toggle->setDescription("<b>" + (CP.getExperimentalLongitudinalAvailable() ? exp_long : no_long) + "</b><br><br>" + e2e_description);
}

@ -1187,7 +1187,17 @@ location set</source>
<translation>openpilotに任せますopenpilotが人間と同じように運転します</translation>
</message>
<message>
<location line="-55"/>
<location line="+24"/>
<source>openpilot longitudinal control is not currently available for this car.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Enable experimental longitudinal control to enable this.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-80"/>
<source>Disengage On Accelerator Pedal</source>
<translation> openpilot </translation>
</message>

@ -1187,7 +1187,17 @@ location set</source>
<translation> openpilot은 . ( )</translation>
</message>
<message>
<location line="-55"/>
<location line="+24"/>
<source>openpilot longitudinal control is not currently available for this car.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Enable experimental longitudinal control to enable this.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-80"/>
<source>Disengage On Accelerator Pedal</source>
<translation> </translation>
</message>

@ -1191,7 +1191,17 @@ trabalho definido</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-55"/>
<location line="+24"/>
<source>openpilot longitudinal control is not currently available for this car.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Enable experimental longitudinal control to enable this.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-80"/>
<source>Disengage On Accelerator Pedal</source>
<translation>Desacionar Com Pedal Do Acelerador</translation>
</message>

@ -1185,7 +1185,17 @@ location set</source>
<translation>openpilot将会模仿人类司机的驾驶方式</translation>
</message>
<message>
<location line="-55"/>
<location line="+24"/>
<source>openpilot longitudinal control is not currently available for this car.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Enable experimental longitudinal control to enable this.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-80"/>
<source>Disengage On Accelerator Pedal</source>
<translation></translation>
</message>

@ -1187,7 +1187,17 @@ location set</source>
<translation>openpilot將會模仿人類司機的駕駛方式</translation>
</message>
<message>
<location line="-55"/>
<location line="+24"/>
<source>openpilot longitudinal control is not currently available for this car.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Enable experimental longitudinal control to enable this.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-80"/>
<source>Disengage On Accelerator Pedal</source>
<translation></translation>
</message>

Loading…
Cancel
Save