nav: improve no route alert text (#29076)

* kind of

* Revert "kind of"

This reverts commit 25abbbf176.

* more generic alert text, whenever we're waiting for navd.

* actual better comment

* update translations
old-commit-hash: d70c4916db
beeps
Shane Smiskol 2 years ago committed by GitHub
parent b0c3778aae
commit b8bf3fc0c2
  1. 3
      selfdrive/ui/qt/maps/map.cc
  2. 4
      selfdrive/ui/translations/main_de.ts
  3. 4
      selfdrive/ui/translations/main_ja.ts
  4. 4
      selfdrive/ui/translations/main_ko.ts
  5. 4
      selfdrive/ui/translations/main_pt-BR.ts
  6. 4
      selfdrive/ui/translations/main_zh-CHS.ts
  7. 4
      selfdrive/ui/translations/main_zh-CHT.ts

@ -205,7 +205,7 @@ void MapWindow::updateState(const UIState &s) {
if (!locationd_valid) { if (!locationd_valid) {
setError(tr("Waiting for GPS")); setError(tr("Waiting for GPS"));
} else if (routing_problem) { } else if (routing_problem) {
setError(tr("Waiting for internet")); setError(tr("Waiting for route"));
} else { } else {
setError(""); setError("");
} }
@ -237,6 +237,7 @@ void MapWindow::updateState(const UIState &s) {
// an invalid navInstruction packet with a nav destination is only possible if: // an invalid navInstruction packet with a nav destination is only possible if:
// - API exception/no internet // - API exception/no internet
// - route response is empty // - route response is empty
// - any time navd is waiting for recompute_countdown
auto dest = coordinate_from_param("NavDestination"); auto dest = coordinate_from_param("NavDestination");
routing_problem = !sm.valid("navInstruction") && dest.has_value(); routing_problem = !sm.valid("navInstruction") && dest.has_value();

@ -404,8 +404,8 @@
<translation>Warten auf GPS</translation> <translation>Warten auf GPS</translation>
</message> </message>
<message> <message>
<source>Waiting for internet</source> <source>Waiting for route</source>
<translation type="unfinished">Auf Internet warten</translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

@ -403,8 +403,8 @@
<translation>GPS信号を探しています</translation> <translation>GPS信号を探しています</translation>
</message> </message>
<message> <message>
<source>Waiting for internet</source> <source>Waiting for route</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

@ -403,8 +403,8 @@
<translation>GPS </translation> <translation>GPS </translation>
</message> </message>
<message> <message>
<source>Waiting for internet</source> <source>Waiting for route</source>
<translation type="unfinished"> </translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

@ -404,8 +404,8 @@
<translation>Esperando por GPS</translation> <translation>Esperando por GPS</translation>
</message> </message>
<message> <message>
<source>Waiting for internet</source> <source>Waiting for route</source>
<translation type="unfinished">Esperando pela internet</translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

@ -403,8 +403,8 @@
<translation> GPS</translation> <translation> GPS</translation>
</message> </message>
<message> <message>
<source>Waiting for internet</source> <source>Waiting for route</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

@ -403,8 +403,8 @@
<translation> GPS</translation> <translation> GPS</translation>
</message> </message>
<message> <message>
<source>Waiting for internet</source> <source>Waiting for route</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>

Loading…
Cancel
Save