mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 09:12:18 +00:00
i18n: follow-up to the review of the plural and context fixes
- The street-level plan step names its place the way show_street_level reads its arguments: a pointed or numbered thing has no place yet, and "this spot" needs both coordinates. - The view-centre error message is removed: the Street Level layer always gives its own translated text for an empty search, so it never showed. "the view centre" is one exported constant for both voice modules. - The orbital site status uses the word of the FOCUS card in es, fr, it, pt and he, and the Wildlife chip agrees with "avistamientos" and "avvistamenti". - CURRENTLY OVER is the noun for an overflight in de, uk, it and pt, shorter than before, so the place name keeps its room on a phone. - The glossaries record the new terms; I18N.md words two rules more exactly.
This commit is contained in:
1 parent
3953421aad
commit
69fa1bf222
30 files changed
+80
-75
No files matched your search
@@ -540,7 +540,12 @@ test('a site row turns the camera onto it, holds it, and reads its off-nadir ang
|
||||
setLocale('es');
|
||||
await refreshRows(scene);
|
||||
const heldEs = rows(scene).find((row) => row.target?.id === SITES.alpha.id);
|
||||
assert.match(heldEs.detail, /^ENFOCADO · /);
|
||||
assert.match(heldEs.detail, /^ENFOQUE · /);
|
||||
assert.match(
|
||||
$('#cockpit-orbital-focus').textContent,
|
||||
/^ENFOQUE · /,
|
||||
'the card names the held site with the same word',
|
||||
);
|
||||
assert.equal(translate('FOCUS'), 'ENFOCAR', 'the command keeps its verb');
|
||||
});
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ function siteRows(info, { settled = true } = {}) {
|
||||
}),
|
||||
});
|
||||
const words = [installationClassLabel(site.class), angle];
|
||||
// A status, not the FOCUS command: es «ENFOCADO», not «ENFOCAR».
|
||||
// A status, as on the focus card, not the command: es «ENFOQUE», not «ENFOCAR».
|
||||
if (focused) words.unshift(t('FOCUS', { context: 'site status' }));
|
||||
return {
|
||||
key: `site:${site.id}`,
|
||||
|
||||
Reference in new issue
Block a user