You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
i18n: no coverage gate for the locales a deployment adds after zh-CN #102
and separately asserts that the bundles cover exactly i18n.supportedLocales. So adding ja-JP to supportedLocales plus a ja-JP.ts file would be caught by the locale-set assertion — but once the file exists, nothing checks its key coverage. A ja-JP bundle carrying ten of the 231 keys would pass every test in the file: the two directions are only ever run against zh-CN.
The fix is small and mechanical — iterate the non-source locales in dulyTranslations rather than naming one — and it is deliberately not done on #18, whose scope is the first Chinese deployment. It is filed rather than done so it is a decision on the record instead of a surprise for whoever adds the third locale.
Adjacent, same file, same shape: templateGaps() already iterates supportedLocales generically, so the email-template half of the gate does not have this problem. Only the bundle half does.
Activity
Gate every shipped locale, not just zh-CN (#102), and add the browser…