mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
i18n: fix the LGTM review findings and tidy the branch texts
- i18n scanner: lastError sink, no false sinks on defaults and ternaries - shared src/i18n/marker.js for modules that only mark strings - wind field messages move to wind/fields.js; CITY_POIS imports from cityPois.js - drop review IDs, change history and stale references from comments and docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0ed05568f7
commit
20f4cf3763
178 files changed
+918
-948
No files matched your search
@@ -1,6 +1,5 @@
|
||||
// Share-tracking restore notices are ready-made sentences per policy: a label
|
||||
// dropped into a template cannot take the case (ru) or article (es) the
|
||||
// sentence needs. English stays exactly as it was composed before.
|
||||
// dropped into a template cannot take the case (ru) or article (es) needed.
|
||||
import { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { setLocale } from '../i18n/index.js';
|
||||
@@ -11,7 +10,7 @@ const { flights, military, satellites } = SHARE_TRACKING_RESTORE_POLICIES;
|
||||
|
||||
test.afterEach(() => setLocale('en'));
|
||||
|
||||
test('en: the notices read as before for every policy and outcome', () => {
|
||||
test('en: the notices for every policy and outcome', () => {
|
||||
setLocale('en');
|
||||
const notice = (policy, classification) =>
|
||||
shareTrackingRestoreNotice({ ...policy, classification });
|
||||
|
||||
Reference in new issue
Block a user