From 3db77272bca1dd77be9f500e8ebf4e83869db054 Mon Sep 17 00:00:00 2001 From: German Khokhlov Date: Tue, 13 Oct 2026 20:11:57 +0400 Subject: [PATCH] fix(i18n): English HUD summary keeps its original shape MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fallback summary reads "NORMAL CITY NEAR …" again in English; the translations keep the " · " separators that stop the style and view band reading as one phrase. Co-Authored-By: Claude Opus 5.5 --- src/hud.js | 2 +- src/i18n/locales/es.json | 4 ++-- src/i18n/locales/ru.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hud.js b/src/hud.js index 400a4d51e..c827bb574 100644 --- a/src/hud.js +++ b/src/hud.js @@ -786,7 +786,7 @@ export class IntelHUD { ); // ALT, SUN and ONA are sensor codes, as in the corner readouts. const line = t( - '{mode} · {band} · {locality} | {region} | ALT {alt} | WINDOW {window} | SUN {sun}° | ONA {ona}° | {zone}', + '{mode} {band} {locality} | {region} | ALT {alt} | WINDOW {window} | SUN {sun}° | ONA {ona}° | {zone}', { mode: modeLabel, band: viewBandLabel(band), diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index 8c8115e82..37fc7be88 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -2010,7 +2010,6 @@ "Box and images cleared": "Recuadro e imágenes borrados", "Box is {size} wide · limit {limit}": "El recuadro mide {size} · límite {limit}", "View is {size} wide · limit {limit}": "La vista mide {size} · límite {limit}", - "{mode} · {band} · {locality} | {region} | ALT {alt} | WINDOW {window} | SUN {sun}° | ONA {ona}° | {zone}": "{mode} · {band} · {locality} | {region} | ALT {alt} | VENTANA {window} | SUN {sun}° | ONA {ona}° | {zone}", "Frame unavailable; previous observation retained": "Fotograma no disponible; se mantiene la observación anterior", "Weather imagery unavailable": "Imágenes meteorológicas no disponibles", "Weather source unavailable; previous observation retained": "Fuente meteorológica no disponible; se mantiene la observación anterior", @@ -2032,5 +2031,6 @@ "Google 3D tiles unavailable — check the key's API restrictions, quota, or network": "Teselas de Google 3D no disponibles: revisa las restricciones de API de la clave, la cuota o la red", "Needs {envVars} — add it in Provider Settings — or a Cesium ion token for the ion-hosted route": "Necesita {envVars} — añádela en Ajustes de proveedores — o un token de Cesium ion para la ruta alojada en ion", "Comparison in use by another scene": "La comparación está en uso por otra escena", - "A location reading needs a loaded forecast and the Earth at the center of the view.": "Una lectura en un punto necesita un pronóstico cargado y la Tierra en el centro de la vista." + "A location reading needs a loaded forecast and the Earth at the center of the view.": "Una lectura en un punto necesita un pronóstico cargado y la Tierra en el centro de la vista.", + "{mode} {band} {locality} | {region} | ALT {alt} | WINDOW {window} | SUN {sun}° | ONA {ona}° | {zone}": "{mode} · {band} · {locality} | {region} | ALT {alt} | VENTANA {window} | SUN {sun}° | ONA {ona}° | {zone}" } diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index aa9dd4562..d2ea82fdf 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -2042,7 +2042,6 @@ "Box and images cleared": "Область и снимки сброшены", "Box is {size} wide · limit {limit}": "Область шириной {size} · предел {limit}", "View is {size} wide · limit {limit}": "Вид шириной {size} · предел {limit}", - "{mode} · {band} · {locality} | {region} | ALT {alt} | WINDOW {window} | SUN {sun}° | ONA {ona}° | {zone}": "{mode} · {band} · {locality} | {region} | ALT {alt} | ОКНО {window} | SUN {sun}° | ONA {ona}° | {zone}", "Frame unavailable; previous observation retained": "Кадр недоступен; показано предыдущее наблюдение", "Weather imagery unavailable": "Погодные снимки недоступны", "Weather source unavailable; previous observation retained": "Источник погоды недоступен; показано предыдущее наблюдение", @@ -2064,5 +2063,6 @@ "Google 3D tiles unavailable — check the key's API restrictions, quota, or network": "Тайлы Google 3D недоступны — проверьте ограничения API ключа, квоту или сеть", "Needs {envVars} — add it in Provider Settings — or a Cesium ion token for the ion-hosted route": "Нужен {envVars} — добавьте его в «Настройках провайдеров» — или токен Cesium ion для маршрута через ion", "Comparison in use by another scene": "Сравнение занято другой сценой", - "A location reading needs a loaded forecast and the Earth at the center of the view.": "Для показания в точке нужен загруженный прогноз и Земля в центре вида." + "A location reading needs a loaded forecast and the Earth at the center of the view.": "Для показания в точке нужен загруженный прогноз и Земля в центре вида.", + "{mode} {band} {locality} | {region} | ALT {alt} | WINDOW {window} | SUN {sun}° | ONA {ona}° | {zone}": "{mode} · {band} · {locality} | {region} | ALT {alt} | ОКНО {window} | SUN {sun}° | ONA {ona}° | {zone}" }