mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
feat: add contributing guidelines and pull request template; update schema comments and documentation
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
// CONTRACT:
|
||||
// Locale bundles are standalone and loaded on demand. Adding a locale requires
|
||||
// updating Locale, AVAILABLE_LOCALES, browser-language detection, localeLoaders,
|
||||
// scripts/i18n-utils.cjs, and the locale file itself.
|
||||
//
|
||||
// Do not call t() at module scope for exported arrays/constants; async init can
|
||||
// otherwise leave raw txt_* keys in the rendered UI.
|
||||
export type Locale =
|
||||
| 'en'
|
||||
| 'zh-CN'
|
||||
|
||||
Reference in New Issue
Block a user