mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
Merge branch 'main' into fix/cockpit-subject-camera-hud
This commit is contained in:
363 files changed
+13745
-1912
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/** Instrument values, routes and vision controls for the Cockpit controller. */
|
||||
import { formatNumber, t } from '../i18n/index.js';
|
||||
import { formatNumber, t, tn } from '../i18n/index.js';
|
||||
import {
|
||||
COCKPIT_VISION_MODES,
|
||||
normalizeCockpitVisionMode,
|
||||
@@ -526,7 +526,10 @@ export function updateRadar(info) {
|
||||
);
|
||||
this.publishRadar({
|
||||
...picture,
|
||||
rangeLabel: t('{range} NM', { range: formatNumber(rangeNm) }),
|
||||
// A plural, as the ring spacing is: ru «3 МОР. МИЛИ», «12 МОР. МИЛЬ».
|
||||
rangeLabel: tn(rangeNm, '{range} NM', '{range} NM', {
|
||||
range: formatNumber(rangeNm),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user