mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
i18n(ar): apply review round 2
Catalog: refresh/updates wording, received SDR aircraft, playing states, move-start button, impersonal layer note, live-data descriptions, arrival steps, retry timing, tracking spelling, military chip, dollar amounts, label: value statuses, upstream source, globe map, stage recovery, comparison signs as words, ellipses and earlier round-2 fixes. Code: FIRMS cell cards use the plural entry for their count (FIRES pruned), translated locator pin titles are isolated in RTL, legend stops keep their sign, voice timeout minutes agree with the number, CCTV badges are translated, first-run and referenced-item alignment. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
4f44a17b44
commit
8540535817
15 files changed
+253
-174
No files matched your search
@@ -12,7 +12,7 @@ import {
|
||||
} from './dataCredits.js';
|
||||
import { BHOTE_KOSHI_FLOOD_PATH } from './bhoteKoshiFloodPath.js';
|
||||
import { INCIDENT_OVERVIEW_PLACES } from './bhoteKoshiIncidentPlaces.js';
|
||||
import { t, msg, getLocale } from '../i18n/index.js';
|
||||
import { t, msg, getLocale, isolate } from '../i18n/index.js';
|
||||
|
||||
const BHOTE_KOSHI_LOCATOR_LAYER_ID = 'bhote-koshi-locator';
|
||||
export const BHOTE_KOSHI_LOCATOR_OVERLAY_SOURCE_ID =
|
||||
@@ -67,7 +67,10 @@ const PLACE_TITLE_TEXT = new Map(
|
||||
|
||||
function placeTitle(title) {
|
||||
const text = PLACE_TITLE_TEXT.get(title);
|
||||
return text ? t(text).toLocaleUpperCase(getLocale()) : title;
|
||||
// Isolated: the card draws left to right after its "11 · " counter, so in
|
||||
// Arabic a translated title with a Latin place name («نقطة الإطلالة في
|
||||
// DANDAGAUN») must keep its own right-to-left order.
|
||||
return text ? isolate(t(text).toLocaleUpperCase(getLocale())) : title;
|
||||
}
|
||||
|
||||
const INCIDENT = Object.freeze({
|
||||
|
||||
Reference in new issue
Block a user