mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
fix(i18n): restore English output changed by the i18n foundation
A side-by-side English comparison with main found text the branch changed: - Layer list names: #601 let its own catalog names win over the panel's English names, so "Live Vessels" read "Live AIS Vessels", "Bike Share" "Bikeshare", "Cameras" "CCTV", "Data Centers" "Datacenters", "Active Fires" "FIRMS Active Fires". The panel names win again. - HUD feed-state suffix is "UNAVAILABLE LIVE AIS VESSELS" again (Russian keeps its colon); the mission panel aria-label is "Selected Space Mission" again; scene shot timing is "4.0s + 0.9s" again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f3da0e1761
commit
a28e29e05e
7 files changed
+22
-13
No files matched your search
@@ -129,10 +129,11 @@ const PANEL_LABELS = {
|
||||
'local-firms': msg('Active Fires'),
|
||||
};
|
||||
|
||||
// The panel's own English names win, as before i18n; module names otherwise.
|
||||
function panelLabel(layer) {
|
||||
if (PANEL_LABELS[layer.id]) return t(PANEL_LABELS[layer.id]);
|
||||
const key = LAYER_NAME_KEYS[layer.id];
|
||||
if (key) return t(key);
|
||||
return PANEL_LABELS[layer.id] ? t(PANEL_LABELS[layer.id]) : layer.name;
|
||||
return key ? t(key) : layer.name;
|
||||
}
|
||||
|
||||
// English module names (layer.name) that other surfaces print, such as the
|
||||
|
||||
Reference in new issue
Block a user