nav: improve no route alert text (#29076)

* kind of

* Revert "kind of"

This reverts commit 25abbbf1764b0f7e8fbcb83e37159ba6f8cdf641.

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

* actual better comment

* update translations
old-commit-hash: d70c4916db0af3c5288034db9a361fd0aff39f7b
This commit is contained in:
Shane Smiskol
2023-07-20 22:40:31 -07:00
committed by GitHub
parent b0c3778aae
commit b8bf3fc0c2
7 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -205,7 +205,7 @@ void MapWindow::updateState(const UIState &s) {
if (!locationd_valid) {
setError(tr("Waiting for GPS"));
} else if (routing_problem) {
setError(tr("Waiting for internet"));
setError(tr("Waiting for route"));
} else {
setError("");
}
@@ -237,6 +237,7 @@ void MapWindow::updateState(const UIState &s) {
// an invalid navInstruction packet with a nav destination is only possible if:
// - API exception/no internet
// - route response is empty
// - any time navd is waiting for recompute_countdown
auto dest = coordinate_from_param("NavDestination");
routing_problem = !sm.valid("navInstruction") && dest.has_value();
+2 -2
View File
@@ -404,8 +404,8 @@
<translation>Warten auf GPS</translation>
</message>
<message>
<source>Waiting for internet</source>
<translation type="unfinished">Auf Internet warten</translation>
<source>Waiting for route</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
+2 -2
View File
@@ -403,8 +403,8 @@
<translation>GPS信号を探しています</translation>
</message>
<message>
<source>Waiting for internet</source>
<translation type="unfinished"></translation>
<source>Waiting for route</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
+2 -2
View File
@@ -403,8 +403,8 @@
<translation>GPS </translation>
</message>
<message>
<source>Waiting for internet</source>
<translation type="unfinished"> </translation>
<source>Waiting for route</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
+2 -2
View File
@@ -404,8 +404,8 @@
<translation>Esperando por GPS</translation>
</message>
<message>
<source>Waiting for internet</source>
<translation type="unfinished">Esperando pela internet</translation>
<source>Waiting for route</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
+2 -2
View File
@@ -403,8 +403,8 @@
<translation> GPS</translation>
</message>
<message>
<source>Waiting for internet</source>
<translation type="unfinished"></translation>
<source>Waiting for route</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
+2 -2
View File
@@ -403,8 +403,8 @@
<translation> GPS</translation>
</message>
<message>
<source>Waiting for internet</source>
<translation type="unfinished"></translation>
<source>Waiting for route</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>