@sqren/docx-editor-i18n 1.7.0-fork.1

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.
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @sqren/docx-editor-i18n/zh-CN
3
+ *
4
+ * Simplified Chinese (`zh-CN`) — direct locale subpath for per-locale code-splitting.
5
+ *
6
+ * ```ts
7
+ * // Static — bundler ships only this locale's strings
8
+ * import zhCN from '@sqren/docx-editor-i18n/zh-CN';
9
+ *
10
+ * // Dynamic — splits into its own chunk, loaded on demand
11
+ * const zhCN = (await import('@sqren/docx-editor-i18n/zh-CN')).default;
12
+ * ```
13
+ *
14
+ * For multi-locale apps, prefer the per-locale subpaths over importing
15
+ * `locales` from the package root — `locales` pulls every locale into
16
+ * the bundle.
17
+ *
18
+ * @packageDocumentation
19
+ * @public
20
+ */
21
+ import { PartialLocaleStrings } from './index.mjs';
22
+
23
+ /**
24
+ * Simplified Chinese (`zh-CN`) locale strings. Community-maintained; null leaves fall back to English.
25
+ *
26
+ * Identical content to the named `zhCN` export from the package root;
27
+ * this subpath just lets bundlers code-split it.
28
+ *
29
+ * @public
30
+ */
31
+ declare const zhCN: PartialLocaleStrings;
32
+
33
+ export { zhCN as default, zhCN };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @sqren/docx-editor-i18n/zh-CN
3
+ *
4
+ * Simplified Chinese (`zh-CN`) — direct locale subpath for per-locale code-splitting.
5
+ *
6
+ * ```ts
7
+ * // Static — bundler ships only this locale's strings
8
+ * import zhCN from '@sqren/docx-editor-i18n/zh-CN';
9
+ *
10
+ * // Dynamic — splits into its own chunk, loaded on demand
11
+ * const zhCN = (await import('@sqren/docx-editor-i18n/zh-CN')).default;
12
+ * ```
13
+ *
14
+ * For multi-locale apps, prefer the per-locale subpaths over importing
15
+ * `locales` from the package root — `locales` pulls every locale into
16
+ * the bundle.
17
+ *
18
+ * @packageDocumentation
19
+ * @public
20
+ */
21
+ import { PartialLocaleStrings } from './index.js';
22
+
23
+ /**
24
+ * Simplified Chinese (`zh-CN`) locale strings. Community-maintained; null leaves fall back to English.
25
+ *
26
+ * Identical content to the named `zhCN` export from the package root;
27
+ * this subpath just lets bundlers code-split it.
28
+ *
29
+ * @public
30
+ */
31
+ declare const zhCN: PartialLocaleStrings;
32
+
33
+ export { zhCN as default, zhCN };