mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
- 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]>
8 lines
399 B
JavaScript
8 lines
399 B
JavaScript
// msg() for modules the server, tools or other portable code also import:
|
|
// marks English that stays in data for `npm run i18n`, without loading the
|
|
// catalogs (src/i18n/index.js). The UI shows it later through t().
|
|
// Browser-only modules import msg from src/i18n/index.js instead.
|
|
|
|
/** Mark English text that is stored in data and translated later by t(). */
|
|
export const msg = (text) => text;
|