@docx-editor.dev/i18n 2.22.0 → 2.23.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.
- package/README.md +9 -6
- package/dist/de.js +375 -314
- package/dist/de.mjs +375 -314
- package/dist/en.js +61 -0
- package/dist/en.mjs +61 -0
- package/dist/es.d.mts +33 -0
- package/dist/es.d.ts +33 -0
- package/dist/es.js +1079 -0
- package/dist/es.mjs +1052 -0
- package/dist/fr.js +386 -325
- package/dist/fr.mjs +386 -325
- package/dist/he.js +419 -358
- package/dist/he.mjs +419 -358
- package/dist/hi.js +374 -313
- package/dist/hi.mjs +374 -313
- package/dist/id.js +397 -336
- package/dist/id.mjs +397 -336
- package/dist/index.d.mts +67 -3
- package/dist/index.d.ts +67 -3
- package/dist/index.js +4590 -2931
- package/dist/index.mjs +4589 -2931
- package/dist/pl.js +380 -319
- package/dist/pl.mjs +380 -319
- package/dist/pt-BR.js +382 -321
- package/dist/pt-BR.mjs +382 -321
- package/dist/tr.js +389 -328
- package/dist/tr.mjs +389 -328
- package/dist/zh-CN.js +378 -317
- package/dist/zh-CN.mjs +378 -317
- package/package.json +6 -1
package/dist/en.js
CHANGED
|
@@ -128,6 +128,7 @@ var en_default = {
|
|
|
128
128
|
textFormatting: "Text formatting",
|
|
129
129
|
script: "Script",
|
|
130
130
|
alignment: "Alignment",
|
|
131
|
+
direction: "Text direction",
|
|
131
132
|
listFormatting: "List formatting",
|
|
132
133
|
format: "Format",
|
|
133
134
|
image: "Image",
|
|
@@ -351,6 +352,9 @@ var en_default = {
|
|
|
351
352
|
alignCenter: "Centered",
|
|
352
353
|
alignRight: "Right",
|
|
353
354
|
alignJustify: "Justified",
|
|
355
|
+
direction: "Direction",
|
|
356
|
+
directionLtr: "Left-to-right",
|
|
357
|
+
directionRtl: "Right-to-left",
|
|
354
358
|
indentation: "Indentation",
|
|
355
359
|
beforeText: "Before text",
|
|
356
360
|
afterText: "After text",
|
|
@@ -1006,6 +1010,63 @@ var en_default = {
|
|
|
1006
1010
|
scrolled: "Document updated. Scrolled to the changed paragraph.",
|
|
1007
1011
|
processingLabel: "Processing",
|
|
1008
1012
|
sampleEdited: "Your edits stay in the document. Reset the sample to run this demo again."
|
|
1013
|
+
},
|
|
1014
|
+
anchorNavigation: {
|
|
1015
|
+
title: "Paragraph references",
|
|
1016
|
+
description: "Choose a finding and an effect. The editor scrolls to the paragraph, highlights it, or both.",
|
|
1017
|
+
reference: "Reference",
|
|
1018
|
+
effect: "Effect",
|
|
1019
|
+
style: "Highlight style",
|
|
1020
|
+
duration: "Highlight duration",
|
|
1021
|
+
position: "Scroll position",
|
|
1022
|
+
motion: "Scroll motion",
|
|
1023
|
+
show: "Show reference",
|
|
1024
|
+
clear: "Clear highlight",
|
|
1025
|
+
code: "Calls for these settings",
|
|
1026
|
+
ready: "Choose a reference, and then select Show reference.",
|
|
1027
|
+
cleared: "The highlight is cleared.",
|
|
1028
|
+
scrollFailed: "This reference is unavailable. The document did not move.",
|
|
1029
|
+
highlightFailed: "Scrolled to the reference. Highlights support body paragraphs and table cells only.",
|
|
1030
|
+
highlightOnlyFailed: "This reference cannot receive a highlight. Highlights support body paragraphs and table cells only.",
|
|
1031
|
+
references: {
|
|
1032
|
+
payment: "Payment terms",
|
|
1033
|
+
fee: "Annual support fee (table cell)",
|
|
1034
|
+
liability: 'Second "Supplier" in the liability clause',
|
|
1035
|
+
law: '"State of New York" in governing law',
|
|
1036
|
+
header: "Draft notice (header)",
|
|
1037
|
+
missing: "Deleted paragraph (missing)"
|
|
1038
|
+
},
|
|
1039
|
+
effects: {
|
|
1040
|
+
both: "Scroll and highlight",
|
|
1041
|
+
scroll: "Scroll only",
|
|
1042
|
+
highlight: "Highlight only"
|
|
1043
|
+
},
|
|
1044
|
+
styles: {
|
|
1045
|
+
default: "Default blue",
|
|
1046
|
+
amber: "Amber with a dashed border",
|
|
1047
|
+
glow: "Green glow (CSS class)",
|
|
1048
|
+
instant: "Default blue without a fade"
|
|
1049
|
+
},
|
|
1050
|
+
durations: {
|
|
1051
|
+
short: "1.5 seconds",
|
|
1052
|
+
default: "3 seconds",
|
|
1053
|
+
manual: "Until cleared"
|
|
1054
|
+
},
|
|
1055
|
+
positions: {
|
|
1056
|
+
centerIfNeeded: "Center if needed",
|
|
1057
|
+
center: "Center",
|
|
1058
|
+
start: "Top of the viewport",
|
|
1059
|
+
nearest: "Nearest edge"
|
|
1060
|
+
},
|
|
1061
|
+
motions: {
|
|
1062
|
+
instant: "Instant",
|
|
1063
|
+
smooth: "Smooth"
|
|
1064
|
+
},
|
|
1065
|
+
done: {
|
|
1066
|
+
both: "Scrolled to the reference and highlighted it.",
|
|
1067
|
+
scroll: "Scrolled to the reference.",
|
|
1068
|
+
highlight: "Highlighted the reference. If it is offscreen, scroll to see it."
|
|
1069
|
+
}
|
|
1009
1070
|
}
|
|
1010
1071
|
};
|
|
1011
1072
|
|
package/dist/en.mjs
CHANGED
|
@@ -101,6 +101,7 @@ var en_default = {
|
|
|
101
101
|
textFormatting: "Text formatting",
|
|
102
102
|
script: "Script",
|
|
103
103
|
alignment: "Alignment",
|
|
104
|
+
direction: "Text direction",
|
|
104
105
|
listFormatting: "List formatting",
|
|
105
106
|
format: "Format",
|
|
106
107
|
image: "Image",
|
|
@@ -324,6 +325,9 @@ var en_default = {
|
|
|
324
325
|
alignCenter: "Centered",
|
|
325
326
|
alignRight: "Right",
|
|
326
327
|
alignJustify: "Justified",
|
|
328
|
+
direction: "Direction",
|
|
329
|
+
directionLtr: "Left-to-right",
|
|
330
|
+
directionRtl: "Right-to-left",
|
|
327
331
|
indentation: "Indentation",
|
|
328
332
|
beforeText: "Before text",
|
|
329
333
|
afterText: "After text",
|
|
@@ -979,6 +983,63 @@ var en_default = {
|
|
|
979
983
|
scrolled: "Document updated. Scrolled to the changed paragraph.",
|
|
980
984
|
processingLabel: "Processing",
|
|
981
985
|
sampleEdited: "Your edits stay in the document. Reset the sample to run this demo again."
|
|
986
|
+
},
|
|
987
|
+
anchorNavigation: {
|
|
988
|
+
title: "Paragraph references",
|
|
989
|
+
description: "Choose a finding and an effect. The editor scrolls to the paragraph, highlights it, or both.",
|
|
990
|
+
reference: "Reference",
|
|
991
|
+
effect: "Effect",
|
|
992
|
+
style: "Highlight style",
|
|
993
|
+
duration: "Highlight duration",
|
|
994
|
+
position: "Scroll position",
|
|
995
|
+
motion: "Scroll motion",
|
|
996
|
+
show: "Show reference",
|
|
997
|
+
clear: "Clear highlight",
|
|
998
|
+
code: "Calls for these settings",
|
|
999
|
+
ready: "Choose a reference, and then select Show reference.",
|
|
1000
|
+
cleared: "The highlight is cleared.",
|
|
1001
|
+
scrollFailed: "This reference is unavailable. The document did not move.",
|
|
1002
|
+
highlightFailed: "Scrolled to the reference. Highlights support body paragraphs and table cells only.",
|
|
1003
|
+
highlightOnlyFailed: "This reference cannot receive a highlight. Highlights support body paragraphs and table cells only.",
|
|
1004
|
+
references: {
|
|
1005
|
+
payment: "Payment terms",
|
|
1006
|
+
fee: "Annual support fee (table cell)",
|
|
1007
|
+
liability: 'Second "Supplier" in the liability clause',
|
|
1008
|
+
law: '"State of New York" in governing law',
|
|
1009
|
+
header: "Draft notice (header)",
|
|
1010
|
+
missing: "Deleted paragraph (missing)"
|
|
1011
|
+
},
|
|
1012
|
+
effects: {
|
|
1013
|
+
both: "Scroll and highlight",
|
|
1014
|
+
scroll: "Scroll only",
|
|
1015
|
+
highlight: "Highlight only"
|
|
1016
|
+
},
|
|
1017
|
+
styles: {
|
|
1018
|
+
default: "Default blue",
|
|
1019
|
+
amber: "Amber with a dashed border",
|
|
1020
|
+
glow: "Green glow (CSS class)",
|
|
1021
|
+
instant: "Default blue without a fade"
|
|
1022
|
+
},
|
|
1023
|
+
durations: {
|
|
1024
|
+
short: "1.5 seconds",
|
|
1025
|
+
default: "3 seconds",
|
|
1026
|
+
manual: "Until cleared"
|
|
1027
|
+
},
|
|
1028
|
+
positions: {
|
|
1029
|
+
centerIfNeeded: "Center if needed",
|
|
1030
|
+
center: "Center",
|
|
1031
|
+
start: "Top of the viewport",
|
|
1032
|
+
nearest: "Nearest edge"
|
|
1033
|
+
},
|
|
1034
|
+
motions: {
|
|
1035
|
+
instant: "Instant",
|
|
1036
|
+
smooth: "Smooth"
|
|
1037
|
+
},
|
|
1038
|
+
done: {
|
|
1039
|
+
both: "Scrolled to the reference and highlighted it.",
|
|
1040
|
+
scroll: "Scrolled to the reference.",
|
|
1041
|
+
highlight: "Highlighted the reference. If it is offscreen, scroll to see it."
|
|
1042
|
+
}
|
|
982
1043
|
}
|
|
983
1044
|
};
|
|
984
1045
|
|
package/dist/es.d.mts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @docx-editor.dev/i18n/es
|
|
3
|
+
*
|
|
4
|
+
* Spanish (`es`) — direct locale subpath for per-locale code-splitting.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* // Static — bundler ships only this locale's strings
|
|
8
|
+
* import es from '@docx-editor.dev/i18n/es';
|
|
9
|
+
*
|
|
10
|
+
* // Dynamic — splits into its own chunk, loaded on demand
|
|
11
|
+
* const es = (await import('@docx-editor.dev/i18n/es')).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
|
+
* Spanish (`es`) locale strings. Community-maintained; null leaves fall back to English.
|
|
25
|
+
*
|
|
26
|
+
* Identical content to the named `es` export from the package root;
|
|
27
|
+
* this subpath just lets bundlers code-split it.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
declare const es: PartialLocaleStrings;
|
|
32
|
+
|
|
33
|
+
export { es as default, es };
|
package/dist/es.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @docx-editor.dev/i18n/es
|
|
3
|
+
*
|
|
4
|
+
* Spanish (`es`) — direct locale subpath for per-locale code-splitting.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* // Static — bundler ships only this locale's strings
|
|
8
|
+
* import es from '@docx-editor.dev/i18n/es';
|
|
9
|
+
*
|
|
10
|
+
* // Dynamic — splits into its own chunk, loaded on demand
|
|
11
|
+
* const es = (await import('@docx-editor.dev/i18n/es')).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
|
+
* Spanish (`es`) locale strings. Community-maintained; null leaves fall back to English.
|
|
25
|
+
*
|
|
26
|
+
* Identical content to the named `es` export from the package root;
|
|
27
|
+
* this subpath just lets bundlers code-split it.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
declare const es: PartialLocaleStrings;
|
|
32
|
+
|
|
33
|
+
export { es as default, es };
|