@rexezuge/i18n 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/getLocalizedStrings.d.ts +1 -1
  2. package/dist/getLocalizedStrings.d.ts.map +1 -1
  3. package/dist/getLocalizedStrings.js +13 -13
  4. package/dist/getLocalizedStrings.js.map +1 -1
  5. package/dist/index.d.ts +15 -15
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +14 -14
  8. package/dist/index.js.map +1 -1
  9. package/dist/locales/de.d.ts +1 -1
  10. package/dist/locales/de.d.ts.map +1 -1
  11. package/dist/locales/de.js.map +1 -1
  12. package/dist/locales/en.d.ts +1 -1
  13. package/dist/locales/en.d.ts.map +1 -1
  14. package/dist/locales/en.js.map +1 -1
  15. package/dist/locales/es.d.ts +1 -1
  16. package/dist/locales/es.d.ts.map +1 -1
  17. package/dist/locales/es.js.map +1 -1
  18. package/dist/locales/fr.d.ts +1 -1
  19. package/dist/locales/fr.d.ts.map +1 -1
  20. package/dist/locales/fr.js.map +1 -1
  21. package/dist/locales/it.d.ts +1 -1
  22. package/dist/locales/it.d.ts.map +1 -1
  23. package/dist/locales/it.js.map +1 -1
  24. package/dist/locales/ja.d.ts +1 -1
  25. package/dist/locales/ja.d.ts.map +1 -1
  26. package/dist/locales/ja.js.map +1 -1
  27. package/dist/locales/ko.d.ts +1 -1
  28. package/dist/locales/ko.d.ts.map +1 -1
  29. package/dist/locales/ko.js.map +1 -1
  30. package/dist/locales/nl.d.ts +1 -1
  31. package/dist/locales/nl.d.ts.map +1 -1
  32. package/dist/locales/nl.js.map +1 -1
  33. package/dist/locales/pl.d.ts +1 -1
  34. package/dist/locales/pl.d.ts.map +1 -1
  35. package/dist/locales/pl.js.map +1 -1
  36. package/dist/locales/pt.d.ts +1 -1
  37. package/dist/locales/pt.d.ts.map +1 -1
  38. package/dist/locales/pt.js.map +1 -1
  39. package/dist/locales/zh-CN.d.ts +1 -1
  40. package/dist/locales/zh-CN.d.ts.map +1 -1
  41. package/dist/locales/zh-CN.js.map +1 -1
  42. package/dist/locales/zh-TW.d.ts +1 -1
  43. package/dist/locales/zh-TW.d.ts.map +1 -1
  44. package/dist/locales/zh-TW.js.map +1 -1
  45. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { BackendStrings, SupportedLocale } from './BackendStrings';
1
+ import type { BackendStrings, SupportedLocale } from './BackendStrings.ts';
2
2
  /**
3
3
  * The twelve bundles, keyed by locale.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getLocalizedStrings.d.ts","sourceRoot":"","sources":["../src/getLocalizedStrings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAexE;;;;;;GAMG;AACH,QAAA,MAAM,cAAc,EAAE,MAAM,CAAC,eAAe,EAAE,cAAc,CAa3D,CAAC;AAEF;;;;;;;GAOG;AACH,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,cAAc,CAE9E;AAED;;;;;;;;;;GAUG;AACH,iBAAS,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,cAAc,CAGjG;AAED,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,CAAC"}
1
+ {"version":3,"file":"getLocalizedStrings.d.ts","sourceRoot":"","sources":["../src/getLocalizedStrings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAe3E;;;;;;GAMG;AACH,QAAA,MAAM,cAAc,EAAE,MAAM,CAAC,eAAe,EAAE,cAAc,CAa3D,CAAC;AAEF;;;;;;;GAOG;AACH,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,cAAc,CAE9E;AAED;;;;;;;;;;GAUG;AACH,iBAAS,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,cAAc,CAGjG;AAED,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,CAAC"}
@@ -1,16 +1,16 @@
1
- import { normalizeLocale } from './BackendStrings';
2
- import { deStrings } from './locales/de';
3
- import { enStrings } from './locales/en';
4
- import { esStrings } from './locales/es';
5
- import { frStrings } from './locales/fr';
6
- import { itStrings } from './locales/it';
7
- import { jaStrings } from './locales/ja';
8
- import { koStrings } from './locales/ko';
9
- import { nlStrings } from './locales/nl';
10
- import { plStrings } from './locales/pl';
11
- import { ptStrings } from './locales/pt';
12
- import { zhCNStrings } from './locales/zh-CN';
13
- import { zhTWStrings } from './locales/zh-TW';
1
+ import { normalizeLocale } from "./BackendStrings.js";
2
+ import { deStrings } from "./locales/de.js";
3
+ import { enStrings } from "./locales/en.js";
4
+ import { esStrings } from "./locales/es.js";
5
+ import { frStrings } from "./locales/fr.js";
6
+ import { itStrings } from "./locales/it.js";
7
+ import { jaStrings } from "./locales/ja.js";
8
+ import { koStrings } from "./locales/ko.js";
9
+ import { nlStrings } from "./locales/nl.js";
10
+ import { plStrings } from "./locales/pl.js";
11
+ import { ptStrings } from "./locales/pt.js";
12
+ import { zhCNStrings } from "./locales/zh-CN.js";
13
+ import { zhTWStrings } from "./locales/zh-TW.js";
14
14
  /**
15
15
  * The twelve bundles, keyed by locale.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getLocalizedStrings.js","sourceRoot":"","sources":["../src/getLocalizedStrings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,cAAc,GAA4C;IAC9D,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,EAAE,EAAE,SAAS;CACd,CAAC;AAEF;;;;;;;GAOG;AACH,SAAS,mBAAmB,CAAC,MAAiC;IAC5D,OAAO,cAAc,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AACjD,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,uBAAuB,CAAC,MAAsB,EAAE,QAAwB;IAC/E,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,mBAAmB,CAAC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;AACrF,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,CAAC","sourcesContent":["import type { BackendStrings, SupportedLocale } from './BackendStrings';\nimport { normalizeLocale } from './BackendStrings';\nimport { deStrings } from './locales/de';\nimport { enStrings } from './locales/en';\nimport { esStrings } from './locales/es';\nimport { frStrings } from './locales/fr';\nimport { itStrings } from './locales/it';\nimport { jaStrings } from './locales/ja';\nimport { koStrings } from './locales/ko';\nimport { nlStrings } from './locales/nl';\nimport { plStrings } from './locales/pl';\nimport { ptStrings } from './locales/pt';\nimport { zhCNStrings } from './locales/zh-CN';\nimport { zhTWStrings } from './locales/zh-TW';\n\n/**\n * The twelve bundles, keyed by locale.\n *\n * Typed as a total `Record` rather than a partial map with a `??` at the read\n * site: adding a locale to `SUPPORTED_LOCALES` without adding a bundle is a\n * compile error here instead of a runtime `undefined` string at the boundary.\n */\nconst LOCALE_STRINGS: Record<SupportedLocale, BackendStrings> = {\n en: enStrings,\n de: deStrings,\n fr: frStrings,\n es: esStrings,\n it: itStrings,\n nl: nlStrings,\n pt: ptStrings,\n pl: plStrings,\n ja: jaStrings,\n 'zh-CN': zhCNStrings,\n 'zh-TW': zhTWStrings,\n ko: koStrings,\n};\n\n/**\n * Look up the bundle for a language tag.\n *\n * `null`/`undefined`/`\"\"`/unknown all land on `en` through `normalizeLocale`,\n * so a caller cannot get `undefined` back and never has to guard the read.\n * Prefer this over indexing `LOCALE_STRINGS` directly — the index would happily\n * return `undefined` for a tag that has no bundle.\n */\nfunction getLocalizedStrings(locale: string | null | undefined): BackendStrings {\n return LOCALE_STRINGS[normalizeLocale(locale)];\n}\n\n/**\n * Look up a bundle, falling back to a second preference before `en`.\n *\n * This is the `Accept-Language` plus stored-user-preference pair: the header is\n * what the *client* sent this request, the stored preference is what the user\n * chose once. The stored preference only speaks when the header does not\n * express a real choice, which is what `primary === 'en'` means — an explicit\n * `en` header and an absent header are indistinguishable to this resolver, and\n * that is deliberate, because a browser that sends `en` while the user picked\n * `ja` should still get `ja`.\n */\nfunction resolveLocalizedStrings(locale?: string | null, fallback?: string | null): BackendStrings {\n const primary = normalizeLocale(locale);\n return getLocalizedStrings(primary === 'en' ? normalizeLocale(fallback) : primary);\n}\n\nexport { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings };\n"]}
1
+ {"version":3,"file":"getLocalizedStrings.js","sourceRoot":"","sources":["../src/getLocalizedStrings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,cAAc,GAA4C;IAC9D,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,EAAE,EAAE,SAAS;CACd,CAAC;AAEF;;;;;;;GAOG;AACH,SAAS,mBAAmB,CAAC,MAAiC;IAC5D,OAAO,cAAc,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AACjD,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,uBAAuB,CAAC,MAAsB,EAAE,QAAwB;IAC/E,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,mBAAmB,CAAC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;AACrF,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,CAAC","sourcesContent":["import type { BackendStrings, SupportedLocale } from './BackendStrings.ts';\nimport { normalizeLocale } from './BackendStrings.ts';\nimport { deStrings } from './locales/de.ts';\nimport { enStrings } from './locales/en.ts';\nimport { esStrings } from './locales/es.ts';\nimport { frStrings } from './locales/fr.ts';\nimport { itStrings } from './locales/it.ts';\nimport { jaStrings } from './locales/ja.ts';\nimport { koStrings } from './locales/ko.ts';\nimport { nlStrings } from './locales/nl.ts';\nimport { plStrings } from './locales/pl.ts';\nimport { ptStrings } from './locales/pt.ts';\nimport { zhCNStrings } from './locales/zh-CN.ts';\nimport { zhTWStrings } from './locales/zh-TW.ts';\n\n/**\n * The twelve bundles, keyed by locale.\n *\n * Typed as a total `Record` rather than a partial map with a `??` at the read\n * site: adding a locale to `SUPPORTED_LOCALES` without adding a bundle is a\n * compile error here instead of a runtime `undefined` string at the boundary.\n */\nconst LOCALE_STRINGS: Record<SupportedLocale, BackendStrings> = {\n en: enStrings,\n de: deStrings,\n fr: frStrings,\n es: esStrings,\n it: itStrings,\n nl: nlStrings,\n pt: ptStrings,\n pl: plStrings,\n ja: jaStrings,\n 'zh-CN': zhCNStrings,\n 'zh-TW': zhTWStrings,\n ko: koStrings,\n};\n\n/**\n * Look up the bundle for a language tag.\n *\n * `null`/`undefined`/`\"\"`/unknown all land on `en` through `normalizeLocale`,\n * so a caller cannot get `undefined` back and never has to guard the read.\n * Prefer this over indexing `LOCALE_STRINGS` directly — the index would happily\n * return `undefined` for a tag that has no bundle.\n */\nfunction getLocalizedStrings(locale: string | null | undefined): BackendStrings {\n return LOCALE_STRINGS[normalizeLocale(locale)];\n}\n\n/**\n * Look up a bundle, falling back to a second preference before `en`.\n *\n * This is the `Accept-Language` plus stored-user-preference pair: the header is\n * what the *client* sent this request, the stored preference is what the user\n * chose once. The stored preference only speaks when the header does not\n * express a real choice, which is what `primary === 'en'` means — an explicit\n * `en` header and an absent header are indistinguishable to this resolver, and\n * that is deliberate, because a browser that sends `en` while the user picked\n * `ja` should still get `ja`.\n */\nfunction resolveLocalizedStrings(locale?: string | null, fallback?: string | null): BackendStrings {\n const primary = normalizeLocale(locale);\n return getLocalizedStrings(primary === 'en' ? normalizeLocale(fallback) : primary);\n}\n\nexport { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings };\n"]}
package/dist/index.d.ts CHANGED
@@ -6,19 +6,19 @@
6
6
  * `git` groups are not here); the locale table, the fallback chain, and the
7
7
  * lookup are the parts every consumer boundary needs.
8
8
  */
9
- export { SUPPORTED_LOCALES, canonicalizeLanguageTag, normalizeLocale } from './BackendStrings';
10
- export type { BackendStrings, CommonStrings, SupportedLocale } from './BackendStrings';
11
- export { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings } from './getLocalizedStrings';
12
- export { deStrings } from './locales/de';
13
- export { enStrings } from './locales/en';
14
- export { esStrings } from './locales/es';
15
- export { frStrings } from './locales/fr';
16
- export { itStrings } from './locales/it';
17
- export { jaStrings } from './locales/ja';
18
- export { koStrings } from './locales/ko';
19
- export { nlStrings } from './locales/nl';
20
- export { plStrings } from './locales/pl';
21
- export { ptStrings } from './locales/pt';
22
- export { zhCNStrings } from './locales/zh-CN';
23
- export { zhTWStrings } from './locales/zh-TW';
9
+ export { SUPPORTED_LOCALES, canonicalizeLanguageTag, normalizeLocale } from './BackendStrings.ts';
10
+ export type { BackendStrings, CommonStrings, SupportedLocale } from './BackendStrings.ts';
11
+ export { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings } from './getLocalizedStrings.ts';
12
+ export { deStrings } from './locales/de.ts';
13
+ export { enStrings } from './locales/en.ts';
14
+ export { esStrings } from './locales/es.ts';
15
+ export { frStrings } from './locales/fr.ts';
16
+ export { itStrings } from './locales/it.ts';
17
+ export { jaStrings } from './locales/ja.ts';
18
+ export { koStrings } from './locales/ko.ts';
19
+ export { nlStrings } from './locales/nl.ts';
20
+ export { plStrings } from './locales/pl.ts';
21
+ export { ptStrings } from './locales/pt.ts';
22
+ export { zhCNStrings } from './locales/zh-CN.ts';
23
+ export { zhTWStrings } from './locales/zh-TW.ts';
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/F,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKrG,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAClG,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAKxG,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -6,21 +6,21 @@
6
6
  * `git` groups are not here); the locale table, the fallback chain, and the
7
7
  * lookup are the parts every consumer boundary needs.
8
8
  */
9
- export { SUPPORTED_LOCALES, canonicalizeLanguageTag, normalizeLocale } from './BackendStrings';
10
- export { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings } from './getLocalizedStrings';
9
+ export { SUPPORTED_LOCALES, canonicalizeLanguageTag, normalizeLocale } from "./BackendStrings.js";
10
+ export { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings } from "./getLocalizedStrings.js";
11
11
  // The bundles themselves, exported so a consumer can read one directly (a
12
12
  // migration script, a test, a bundle-level integrity check) without reaching
13
13
  // through the table.
14
- export { deStrings } from './locales/de';
15
- export { enStrings } from './locales/en';
16
- export { esStrings } from './locales/es';
17
- export { frStrings } from './locales/fr';
18
- export { itStrings } from './locales/it';
19
- export { jaStrings } from './locales/ja';
20
- export { koStrings } from './locales/ko';
21
- export { nlStrings } from './locales/nl';
22
- export { plStrings } from './locales/pl';
23
- export { ptStrings } from './locales/pt';
24
- export { zhCNStrings } from './locales/zh-CN';
25
- export { zhTWStrings } from './locales/zh-TW';
14
+ export { deStrings } from "./locales/de.js";
15
+ export { enStrings } from "./locales/en.js";
16
+ export { esStrings } from "./locales/es.js";
17
+ export { frStrings } from "./locales/fr.js";
18
+ export { itStrings } from "./locales/it.js";
19
+ export { jaStrings } from "./locales/ja.js";
20
+ export { koStrings } from "./locales/ko.js";
21
+ export { nlStrings } from "./locales/nl.js";
22
+ export { plStrings } from "./locales/pl.js";
23
+ export { ptStrings } from "./locales/pt.js";
24
+ export { zhCNStrings } from "./locales/zh-CN.js";
25
+ export { zhTWStrings } from "./locales/zh-TW.js";
26
26
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE/F,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErG,0EAA0E;AAC1E,6EAA6E;AAC7E,qBAAqB;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["/**\n * `@rexezuge/i18n` — the backend string bundle and its twelve locales.\n *\n * Zero runtime dependencies. The bundle is one `common` group of three keys\n * (see `BackendStrings.ts` for the provenance and for why the `repo`/`token`/\n * `git` groups are not here); the locale table, the fallback chain, and the\n * lookup are the parts every consumer boundary needs.\n */\nexport { SUPPORTED_LOCALES, canonicalizeLanguageTag, normalizeLocale } from './BackendStrings';\nexport type { BackendStrings, CommonStrings, SupportedLocale } from './BackendStrings';\nexport { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings } from './getLocalizedStrings';\n\n// The bundles themselves, exported so a consumer can read one directly (a\n// migration script, a test, a bundle-level integrity check) without reaching\n// through the table.\nexport { deStrings } from './locales/de';\nexport { enStrings } from './locales/en';\nexport { esStrings } from './locales/es';\nexport { frStrings } from './locales/fr';\nexport { itStrings } from './locales/it';\nexport { jaStrings } from './locales/ja';\nexport { koStrings } from './locales/ko';\nexport { nlStrings } from './locales/nl';\nexport { plStrings } from './locales/pl';\nexport { ptStrings } from './locales/pt';\nexport { zhCNStrings } from './locales/zh-CN';\nexport { zhTWStrings } from './locales/zh-TW';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAElG,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAExG,0EAA0E;AAC1E,6EAA6E;AAC7E,qBAAqB;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["/**\n * `@rexezuge/i18n` — the backend string bundle and its twelve locales.\n *\n * Zero runtime dependencies. The bundle is one `common` group of three keys\n * (see `BackendStrings.ts` for the provenance and for why the `repo`/`token`/\n * `git` groups are not here); the locale table, the fallback chain, and the\n * lookup are the parts every consumer boundary needs.\n */\nexport { SUPPORTED_LOCALES, canonicalizeLanguageTag, normalizeLocale } from './BackendStrings.ts';\nexport type { BackendStrings, CommonStrings, SupportedLocale } from './BackendStrings.ts';\nexport { LOCALE_STRINGS, getLocalizedStrings, resolveLocalizedStrings } from './getLocalizedStrings.ts';\n\n// The bundles themselves, exported so a consumer can read one directly (a\n// migration script, a test, a bundle-level integrity check) without reaching\n// through the table.\nexport { deStrings } from './locales/de.ts';\nexport { enStrings } from './locales/en.ts';\nexport { esStrings } from './locales/es.ts';\nexport { frStrings } from './locales/fr.ts';\nexport { itStrings } from './locales/it.ts';\nexport { jaStrings } from './locales/ja.ts';\nexport { koStrings } from './locales/ko.ts';\nexport { nlStrings } from './locales/nl.ts';\nexport { plStrings } from './locales/pl.ts';\nexport { ptStrings } from './locales/pt.ts';\nexport { zhCNStrings } from './locales/zh-CN.ts';\nexport { zhTWStrings } from './locales/zh-TW.ts';\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const deStrings: BackendStrings;
3
3
  export { deStrings };
4
4
  //# sourceMappingURL=de.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../src/locales/de.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../src/locales/de.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"de.js","sourceRoot":"","sources":["../../src/locales/de.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,iCAAiC;QAC/C,SAAS,EAAE,qBAAqB;QAChC,aAAa,EAAE,wBAAwB;KACxC;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst deStrings: BackendStrings = {\n common: {\n unauthorized: 'Authentifizierung Erforderlich.',\n forbidden: 'Zugriff Verweigert.',\n internalError: 'Interner Serverfehler.',\n },\n};\n\nexport { deStrings };\n"]}
1
+ {"version":3,"file":"de.js","sourceRoot":"","sources":["../../src/locales/de.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,iCAAiC;QAC/C,SAAS,EAAE,qBAAqB;QAChC,aAAa,EAAE,wBAAwB;KACxC;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst deStrings: BackendStrings = {\n common: {\n unauthorized: 'Authentifizierung Erforderlich.',\n forbidden: 'Zugriff Verweigert.',\n internalError: 'Interner Serverfehler.',\n },\n};\n\nexport { deStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const enStrings: BackendStrings;
3
3
  export { enStrings };
4
4
  //# sourceMappingURL=en.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,gBAAgB;QAC3B,aAAa,EAAE,wBAAwB;KACxC;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst enStrings: BackendStrings = {\n common: {\n unauthorized: 'Authentication Required.',\n forbidden: 'Access Denied.',\n internalError: 'Internal Server Error.',\n },\n};\n\nexport { enStrings };\n"]}
1
+ {"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,gBAAgB;QAC3B,aAAa,EAAE,wBAAwB;KACxC;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst enStrings: BackendStrings = {\n common: {\n unauthorized: 'Authentication Required.',\n forbidden: 'Access Denied.',\n internalError: 'Internal Server Error.',\n },\n};\n\nexport { enStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const esStrings: BackendStrings;
3
3
  export { esStrings };
4
4
  //# sourceMappingURL=es.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,kBAAkB;QAC7B,aAAa,EAAE,6BAA6B;KAC7C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst esStrings: BackendStrings = {\n common: {\n unauthorized: 'Autenticación Requerida.',\n forbidden: 'Acceso Denegado.',\n internalError: 'Error Interno Del Servidor.',\n },\n};\n\nexport { esStrings };\n"]}
1
+ {"version":3,"file":"es.js","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,kBAAkB;QAC7B,aAAa,EAAE,6BAA6B;KAC7C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst esStrings: BackendStrings = {\n common: {\n unauthorized: 'Autenticación Requerida.',\n forbidden: 'Acceso Denegado.',\n internalError: 'Error Interno Del Servidor.',\n },\n};\n\nexport { esStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const frStrings: BackendStrings;
3
3
  export { frStrings };
4
4
  //# sourceMappingURL=fr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/locales/fr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/locales/fr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fr.js","sourceRoot":"","sources":["../../src/locales/fr.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,2BAA2B;QACzC,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,4BAA4B;KAC5C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst frStrings: BackendStrings = {\n common: {\n unauthorized: 'Authentification Requise.',\n forbidden: 'Accès Refusé.',\n internalError: 'Erreur Interne Du Serveur.',\n },\n};\n\nexport { frStrings };\n"]}
1
+ {"version":3,"file":"fr.js","sourceRoot":"","sources":["../../src/locales/fr.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,2BAA2B;QACzC,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,4BAA4B;KAC5C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst frStrings: BackendStrings = {\n common: {\n unauthorized: 'Authentification Requise.',\n forbidden: 'Accès Refusé.',\n internalError: 'Erreur Interne Du Serveur.',\n },\n};\n\nexport { frStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const itStrings: BackendStrings;
3
3
  export { itStrings };
4
4
  //# sourceMappingURL=it.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../src/locales/it.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../src/locales/it.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"it.js","sourceRoot":"","sources":["../../src/locales/it.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,2BAA2B;QACzC,SAAS,EAAE,iBAAiB;QAC5B,aAAa,EAAE,4BAA4B;KAC5C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst itStrings: BackendStrings = {\n common: {\n unauthorized: 'Autenticazione Richiesta.',\n forbidden: 'Accesso Negato.',\n internalError: 'Errore Interno Del Server.',\n },\n};\n\nexport { itStrings };\n"]}
1
+ {"version":3,"file":"it.js","sourceRoot":"","sources":["../../src/locales/it.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,2BAA2B;QACzC,SAAS,EAAE,iBAAiB;QAC5B,aAAa,EAAE,4BAA4B;KAC5C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst itStrings: BackendStrings = {\n common: {\n unauthorized: 'Autenticazione Richiesta.',\n forbidden: 'Accesso Negato.',\n internalError: 'Errore Interno Del Server.',\n },\n};\n\nexport { itStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const jaStrings: BackendStrings;
3
3
  export { jaStrings };
4
4
  //# sourceMappingURL=ja.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../src/locales/ja.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../src/locales/ja.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ja.js","sourceRoot":"","sources":["../../src/locales/ja.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,UAAU;QACxB,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,YAAY;KAC5B;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst jaStrings: BackendStrings = {\n common: {\n unauthorized: '認証が必要です。',\n forbidden: 'アクセスが拒否されました。',\n internalError: 'サーバー内部エラー。',\n },\n};\n\nexport { jaStrings };\n"]}
1
+ {"version":3,"file":"ja.js","sourceRoot":"","sources":["../../src/locales/ja.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,UAAU;QACxB,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,YAAY;KAC5B;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst jaStrings: BackendStrings = {\n common: {\n unauthorized: '認証が必要です。',\n forbidden: 'アクセスが拒否されました。',\n internalError: 'サーバー内部エラー。',\n },\n};\n\nexport { jaStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const koStrings: BackendStrings;
3
3
  export { koStrings };
4
4
  //# sourceMappingURL=ko.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../src/locales/ko.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../src/locales/ko.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ko.js","sourceRoot":"","sources":["../../src/locales/ko.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst koStrings: BackendStrings = {\n common: {\n unauthorized: '인증이 필요합니다.',\n forbidden: '액세스가 거부되었습니다.',\n internalError: '서버 내부 오류.',\n },\n};\n\nexport { koStrings };\n"]}
1
+ {"version":3,"file":"ko.js","sourceRoot":"","sources":["../../src/locales/ko.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,SAAS,EAAE,eAAe;QAC1B,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst koStrings: BackendStrings = {\n common: {\n unauthorized: '인증이 필요합니다.',\n forbidden: '액세스가 거부되었습니다.',\n internalError: '서버 내부 오류.',\n },\n};\n\nexport { koStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const nlStrings: BackendStrings;
3
3
  export { nlStrings };
4
4
  //# sourceMappingURL=nl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../src/locales/nl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../src/locales/nl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"nl.js","sourceRoot":"","sources":["../../src/locales/nl.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,wBAAwB;QACtC,SAAS,EAAE,oBAAoB;QAC/B,aAAa,EAAE,qBAAqB;KACrC;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst nlStrings: BackendStrings = {\n common: {\n unauthorized: 'Authenticatie Vereist.',\n forbidden: 'Toegang Geweigerd.',\n internalError: 'Interne Serverfout.',\n },\n};\n\nexport { nlStrings };\n"]}
1
+ {"version":3,"file":"nl.js","sourceRoot":"","sources":["../../src/locales/nl.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,wBAAwB;QACtC,SAAS,EAAE,oBAAoB;QAC/B,aAAa,EAAE,qBAAqB;KACrC;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst nlStrings: BackendStrings = {\n common: {\n unauthorized: 'Authenticatie Vereist.',\n forbidden: 'Toegang Geweigerd.',\n internalError: 'Interne Serverfout.',\n },\n};\n\nexport { nlStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const plStrings: BackendStrings;
3
3
  export { plStrings };
4
4
  //# sourceMappingURL=pl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/locales/pl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/locales/pl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pl.js","sourceRoot":"","sources":["../../src/locales/pl.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,uBAAuB;QACrC,SAAS,EAAE,iBAAiB;QAC5B,aAAa,EAAE,0BAA0B;KAC1C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst plStrings: BackendStrings = {\n common: {\n unauthorized: 'Wymagana Autoryzacja.',\n forbidden: 'Odmowa Dostępu.',\n internalError: 'Wewnętrzny Błąd Serwera.',\n },\n};\n\nexport { plStrings };\n"]}
1
+ {"version":3,"file":"pl.js","sourceRoot":"","sources":["../../src/locales/pl.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,uBAAuB;QACrC,SAAS,EAAE,iBAAiB;QAC5B,aAAa,EAAE,0BAA0B;KAC1C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst plStrings: BackendStrings = {\n common: {\n unauthorized: 'Wymagana Autoryzacja.',\n forbidden: 'Odmowa Dostępu.',\n internalError: 'Wewnętrzny Błąd Serwera.',\n },\n};\n\nexport { plStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const ptStrings: BackendStrings;
3
3
  export { ptStrings };
4
4
  //# sourceMappingURL=pt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../src/locales/pt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../src/locales/pt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,SAAS,EAAE,cAMhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pt.js","sourceRoot":"","sources":["../../src/locales/pt.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,gBAAgB;QAC3B,aAAa,EAAE,2BAA2B;KAC3C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst ptStrings: BackendStrings = {\n common: {\n unauthorized: 'Autenticação Necessária.',\n forbidden: 'Acesso Negado.',\n internalError: 'Erro Interno Do Servidor.',\n },\n};\n\nexport { ptStrings };\n"]}
1
+ {"version":3,"file":"pt.js","sourceRoot":"","sources":["../../src/locales/pt.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAmB;IAChC,MAAM,EAAE;QACN,YAAY,EAAE,0BAA0B;QACxC,SAAS,EAAE,gBAAgB;QAC3B,aAAa,EAAE,2BAA2B;KAC3C;CACF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst ptStrings: BackendStrings = {\n common: {\n unauthorized: 'Autenticação Necessária.',\n forbidden: 'Acesso Negado.',\n internalError: 'Erro Interno Do Servidor.',\n },\n};\n\nexport { ptStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const zhCNStrings: BackendStrings;
3
3
  export { zhCNStrings };
4
4
  //# sourceMappingURL=zh-CN.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../src/locales/zh-CN.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,WAAW,EAAE,cAMlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../src/locales/zh-CN.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,WAAW,EAAE,cAMlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.js","sourceRoot":"","sources":["../../src/locales/zh-CN.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAmB;IAClC,MAAM,EAAE;QACN,YAAY,EAAE,SAAS;QACvB,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,UAAU;KAC1B;CACF,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst zhCNStrings: BackendStrings = {\n common: {\n unauthorized: '需要身份验证。',\n forbidden: '访问被拒绝。',\n internalError: '服务器内部错误。',\n },\n};\n\nexport { zhCNStrings };\n"]}
1
+ {"version":3,"file":"zh-CN.js","sourceRoot":"","sources":["../../src/locales/zh-CN.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAmB;IAClC,MAAM,EAAE;QACN,YAAY,EAAE,SAAS;QACvB,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,UAAU;KAC1B;CACF,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst zhCNStrings: BackendStrings = {\n common: {\n unauthorized: '需要身份验证。',\n forbidden: '访问被拒绝。',\n internalError: '服务器内部错误。',\n },\n};\n\nexport { zhCNStrings };\n"]}
@@ -1,4 +1,4 @@
1
- import type { BackendStrings } from '../BackendStrings';
1
+ import type { BackendStrings } from '../BackendStrings.ts';
2
2
  declare const zhTWStrings: BackendStrings;
3
3
  export { zhTWStrings };
4
4
  //# sourceMappingURL=zh-TW.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../src/locales/zh-TW.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,QAAA,MAAM,WAAW,EAAE,cAMlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../src/locales/zh-TW.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,WAAW,EAAE,cAMlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zh-TW.js","sourceRoot":"","sources":["../../src/locales/zh-TW.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAmB;IAClC,MAAM,EAAE;QACN,YAAY,EAAE,OAAO;QACrB,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,UAAU;KAC1B;CACF,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings';\n\nconst zhTWStrings: BackendStrings = {\n common: {\n unauthorized: '需要驗證。',\n forbidden: '存取被拒絕。',\n internalError: '伺服器內部錯誤。',\n },\n};\n\nexport { zhTWStrings };\n"]}
1
+ {"version":3,"file":"zh-TW.js","sourceRoot":"","sources":["../../src/locales/zh-TW.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAmB;IAClC,MAAM,EAAE;QACN,YAAY,EAAE,OAAO;QACrB,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,UAAU;KAC1B;CACF,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import type { BackendStrings } from '../BackendStrings.ts';\n\nconst zhTWStrings: BackendStrings = {\n common: {\n unauthorized: '需要驗證。',\n forbidden: '存取被拒絕。',\n internalError: '伺服器內部錯誤。',\n },\n};\n\nexport { zhTWStrings };\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rexezuge/i18n",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {