245 keys had accumulated in en/es only (trustUi, labOptions, cordnUi, socialUi, walletUi, marketTerms, …), leaving every other locale at 97%. Backfilled 245x20 = 4,900 strings into src/i18n/<lang>/drift.ts and merged them through a new shared src/i18n/deepMerge.ts — a shallow ...drift spread would clobber existing namespaces, so index.ts deep-merges instead. Verified: check-i18n all 20 at 100%, tsc + eslint clean.
26 lines
503 B
TypeScript
26 lines
503 B
TypeScript
import batch1 from './batch1';
|
|
import batch2 from './batch2';
|
|
import batch3 from './batch3';
|
|
import batch4 from './batch4';
|
|
import batch5 from './batch5';
|
|
import batch6 from './batch6';
|
|
import batch7 from './batch7';
|
|
import batch8 from './batch8';
|
|
import drift from './drift';
|
|
import { deepMerge } from '../deepMerge';
|
|
|
|
const cs = deepMerge(
|
|
{
|
|
...batch1,
|
|
...batch2,
|
|
...batch3,
|
|
...batch4,
|
|
...batch5,
|
|
...batch6,
|
|
...batch7,
|
|
...batch8,
|
|
},
|
|
drift,
|
|
);
|
|
|
|
export default cs;
|