diff --git a/deploy/apps/lang/bg.lang b/deploy/apps/lang/bg.lang index 21885b1..8a4950e 100644 --- a/deploy/apps/lang/bg.lang +++ b/deploy/apps/lang/bg.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Запазено — рестарт Saved — reconnecting… Запазено — повторно свързване… Saved: %s\nFlash it from the Launcher. Запазено: %s\nФлашнете го от Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Запис на SD… %d%% Saving to SD… 0% Запис на SD… 0% Scan to open on phone Сканирай, за да отвориш на телефона diff --git a/deploy/apps/lang/de.lang b/deploy/apps/lang/de.lang index 1e1f818..9b1ce84 100644 --- a/deploy/apps/lang/de.lang +++ b/deploy/apps/lang/de.lang @@ -722,6 +722,8 @@ Saved — applying… Gespeichert – wird angewendet … Saved — rebooting Gespeichert — Neustart Saved — reconnecting… Gespeichert — verbinde neu… Saved: %s\nFlash it from the Launcher. Gespeichert: %s\nFlashe es über den Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Speichern auf SD… %d%% Saving to SD… 0% Speichern auf SD… 0% Scan to open on phone Scannen, um am Handy zu öffnen diff --git a/deploy/apps/lang/el.lang b/deploy/apps/lang/el.lang index 3ce3742..5d74319 100644 --- a/deploy/apps/lang/el.lang +++ b/deploy/apps/lang/el.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Αποθηκεύτηκε — επανεκκίνηση Saved — reconnecting… Αποθηκεύτηκε — επανασύνδεση… Saved: %s\nFlash it from the Launcher. Αποθηκεύτηκε: %s\nΕγκαταστήστε το από τον Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Αποθήκευση στην SD… %d%% Saving to SD… 0% Αποθήκευση στην SD… 0% Scan to open on phone Σαρώστε για άνοιγμα στο κινητό diff --git a/deploy/apps/lang/es.lang b/deploy/apps/lang/es.lang index a2a1efa..4303baa 100644 --- a/deploy/apps/lang/es.lang +++ b/deploy/apps/lang/es.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Guardado — reiniciando Saved — reconnecting… Guardado — reconectando… Saved: %s\nFlash it from the Launcher. Guardado: %s\nFlashéalo desde el Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Guardando en SD… %d%% Saving to SD… 0% Guardando en SD… 0% Scan to open on phone Escanea para abrir en el móvil diff --git a/deploy/apps/lang/fr.lang b/deploy/apps/lang/fr.lang index 8c1378b..f3c9280 100644 --- a/deploy/apps/lang/fr.lang +++ b/deploy/apps/lang/fr.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Enregistré — redémarrage Saved — reconnecting… Enregistré — reconnexion… Saved: %s\nFlash it from the Launcher. Enregistré : %s\nFlashez-le depuis le Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Enregistrement sur SD… %d%% Saving to SD… 0% Enregistrement sur SD… 0% Scan to open on phone Scannez pour ouvrir sur le téléphone diff --git a/deploy/apps/lang/hu.lang b/deploy/apps/lang/hu.lang index bc46a26..0f344fb 100644 --- a/deploy/apps/lang/hu.lang +++ b/deploy/apps/lang/hu.lang @@ -733,6 +733,8 @@ Saved — applying… Mentve — alkalmazás folyamatban… Saved — rebooting Mentve — újraindítás Saved — reconnecting… Mentve — újracsatlakozás… Saved: %s\nFlash it from the Launcher. Mentett: %s\nFlash-eld a Launcher-ből. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Mentés SD-kártyára… %d%% Saving to SD… 0% Mentés SD-kártyára… 0% Scan to open on phone Olvasd be a telefonos megnyitáshoz diff --git a/deploy/apps/lang/it.lang b/deploy/apps/lang/it.lang index 2d65198..bc1ea47 100644 --- a/deploy/apps/lang/it.lang +++ b/deploy/apps/lang/it.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Salvato — riavvio Saved — reconnecting… Salvato — riconnessione… Saved: %s\nFlash it from the Launcher. Salvato: %s\nFlashalo dal Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Salvataggio su SD… %d%% Saving to SD… 0% Salvataggio su SD… 0% Scan to open on phone Scansiona per aprire sul telefono diff --git a/deploy/apps/lang/nl.lang b/deploy/apps/lang/nl.lang index 762d504..7240e4c 100644 --- a/deploy/apps/lang/nl.lang +++ b/deploy/apps/lang/nl.lang @@ -722,6 +722,8 @@ Saved — applying… Opgeslagen — wordt toegepast… Saved — rebooting Opgeslagen — opnieuw opstarten Saved — reconnecting… Opgeslagen — opnieuw verbinden… Saved: %s\nFlash it from the Launcher. Opgeslagen: %s\nFlash het vanuit de Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Opslaan naar SD… %d%% Saving to SD… 0% Opslaan naar SD… 0% Scan to open on phone Scan om op je telefoon te openen diff --git a/deploy/apps/lang/pt-br.lang b/deploy/apps/lang/pt-br.lang index 7f974d1..a53d581 100644 --- a/deploy/apps/lang/pt-br.lang +++ b/deploy/apps/lang/pt-br.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Salvo — reiniciando Saved — reconnecting… Salvo — reconectando… Saved: %s\nFlash it from the Launcher. Salvo: %s\nInstale pelo Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Salvando no SD… %d%% Saving to SD… 0% Salvando no SD… 0% Scan to open on phone Escaneie para abrir no celular diff --git a/deploy/apps/lang/ro.lang b/deploy/apps/lang/ro.lang index ff7c8d2..86d4772 100644 --- a/deploy/apps/lang/ro.lang +++ b/deploy/apps/lang/ro.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Salvat — se reporneşte Saved — reconnecting… Salvat — se reconectează… Saved: %s\nFlash it from the Launcher. Salvat: %s\nInstalează-l din Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Se salvează pe SD… %d%% Saving to SD… 0% Se salvează pe SD… 0% Scan to open on phone Scanează pentru a deschide pe telefon diff --git a/deploy/apps/lang/ru.lang b/deploy/apps/lang/ru.lang index 2fbddc2..78e21c5 100644 --- a/deploy/apps/lang/ru.lang +++ b/deploy/apps/lang/ru.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Сохранено — перезагрузка Saved — reconnecting… Сохранено — переподключение… Saved: %s\nFlash it from the Launcher. Сохранено: %s\nПрошейте из Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Сохранение на SD… %d%% Saving to SD… 0% Сохранение на SD… 0% Scan to open on phone Отсканируйте, чтобы открыть на телефоне diff --git a/deploy/apps/lang/sr.lang b/deploy/apps/lang/sr.lang index 377722d..c379e9f 100644 --- a/deploy/apps/lang/sr.lang +++ b/deploy/apps/lang/sr.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Сачувано — рестарт Saved — reconnecting… Сачувано — поновно повезивање… Saved: %s\nFlash it from the Launcher. Сачувано: %s\nФлешујте га из Launcher-а. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Чување на SD… %d%% Saving to SD… 0% Чување на SD… 0% Scan to open on phone Скенирај да отвориш на телефону diff --git a/deploy/apps/lang/uk.lang b/deploy/apps/lang/uk.lang index 2605f07..074a464 100644 --- a/deploy/apps/lang/uk.lang +++ b/deploy/apps/lang/uk.lang @@ -722,6 +722,8 @@ Saved — applying… Saved — rebooting Збережено — перезавантаження Saved — reconnecting… Збережено — перепідключення… Saved: %s\nFlash it from the Launcher. Збережено: %s\nПрошийте з Launcher. +Saved: %s\nReady for offline flashing. Saved: %s\nReady for offline flashing. +Saves the latest firmware of the selected channel to the SD card (BINS folder). Saves the latest firmware of the selected channel to the SD card (BINS folder). Saving to SD… %d%% Збереження на SD… %d%% Saving to SD… 0% Збереження на SD… 0% Scan to open on phone Відскануйте, щоб відкрити на телефоні diff --git a/src/ui-touch/UITask.cpp b/src/ui-touch/UITask.cpp index 1c95f31..36a4844 100644 --- a/src/ui-touch/UITask.cpp +++ b/src/ui-touch/UITask.cpp @@ -5377,6 +5377,21 @@ static void otaButtonRefreshState() { // the ACTIVE update channel (stable, or beta when "Get test builds" is on) // into /BINS/wadamesh-beta_-.bin on the SD card. The download // streams on the tile worker; this UI side mirrors the OTA poll pattern. +// Wording is board-conditional and the two sets are SEPARATE TR() keys on purpose. +// Only the T-Deck has bmorcelli's Launcher; now that this feature is gated on +// CAP_SD it also compiles for the Pager, the ThinkNode M9 and the Heltec V4-R8, +// where "flash it from the Launcher" names something the user does not have. The +// T-Deck strings must stay byte-identical: they are translated in all 13 .lang +// files, and editing the English key orphans every translation of it (audit with +// scripts/build/audit-lang.py). +#if defined(HAS_TDECK_GT911) + #define SDFW_SAVED_FMT TR("Saved: %s\nFlash it from the Launcher.") + #define SDFW_HINT_TEXT TR("For Launcher installs: saves the latest firmware of the selected channel to the SD card (BINS folder).") +#else + #define SDFW_SAVED_FMT TR("Saved: %s\nReady for offline flashing.") + #define SDFW_HINT_TEXT TR("Saves the latest firmware of the selected channel to the SD card (BINS folder).") +#endif + static volatile bool s_sdfw_request = false; // UI -> worker static volatile int s_sdfw_state = 0; // 0 idle, 1 running, 2 ok, 3 error static volatile int s_sdfw_pct = 0; @@ -5400,7 +5415,7 @@ static void sdFwPollTimerCb(lv_timer_t* t) { if (st == 2) { if (s_sdfw_status_lbl) { char b[112]; - snprintf(b, sizeof b, TR("Saved: %s\nFlash it from the Launcher."), s_sdfw_msg); + snprintf(b, sizeof b, SDFW_SAVED_FMT, s_sdfw_msg); lv_label_set_text(s_sdfw_status_lbl, b); } if (g_lv.task) g_lv.task->showAlert(TR("Update bin saved to SD"), 3000); @@ -30965,7 +30980,7 @@ static void settingsCatBuild(int cat) { lv_obj_set_width(s_sdfw_status_lbl, lblw); lv_obj_set_style_text_font(s_sdfw_status_lbl, &g_font_12, LV_PART_MAIN); lv_obj_set_style_text_color(s_sdfw_status_lbl, lv_color_hex(COLOR_SUB), LV_PART_MAIN); - lv_label_set_text(s_sdfw_status_lbl, TR("For Launcher installs: saves the latest firmware of the selected channel to the SD card (BINS folder).")); + lv_label_set_text(s_sdfw_status_lbl, SDFW_HINT_TEXT); } #endif }