@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/index.d.mts
CHANGED
|
@@ -125,6 +125,7 @@ var formattingBar = {
|
|
|
125
125
|
textFormatting: "Text formatting",
|
|
126
126
|
script: "Script",
|
|
127
127
|
alignment: "Alignment",
|
|
128
|
+
direction: "Text direction",
|
|
128
129
|
listFormatting: "List formatting",
|
|
129
130
|
format: "Format",
|
|
130
131
|
image: "Image",
|
|
@@ -348,6 +349,9 @@ var dialogs = {
|
|
|
348
349
|
alignCenter: "Centered",
|
|
349
350
|
alignRight: "Right",
|
|
350
351
|
alignJustify: "Justified",
|
|
352
|
+
direction: "Direction",
|
|
353
|
+
directionLtr: "Left-to-right",
|
|
354
|
+
directionRtl: "Right-to-left",
|
|
351
355
|
indentation: "Indentation",
|
|
352
356
|
beforeText: "Before text",
|
|
353
357
|
afterText: "After text",
|
|
@@ -1004,6 +1008,63 @@ var documentRefresh = {
|
|
|
1004
1008
|
processingLabel: "Processing",
|
|
1005
1009
|
sampleEdited: "Your edits stay in the document. Reset the sample to run this demo again."
|
|
1006
1010
|
};
|
|
1011
|
+
var anchorNavigation = {
|
|
1012
|
+
title: "Paragraph references",
|
|
1013
|
+
description: "Choose a finding and an effect. The editor scrolls to the paragraph, highlights it, or both.",
|
|
1014
|
+
reference: "Reference",
|
|
1015
|
+
effect: "Effect",
|
|
1016
|
+
style: "Highlight style",
|
|
1017
|
+
duration: "Highlight duration",
|
|
1018
|
+
position: "Scroll position",
|
|
1019
|
+
motion: "Scroll motion",
|
|
1020
|
+
show: "Show reference",
|
|
1021
|
+
clear: "Clear highlight",
|
|
1022
|
+
code: "Calls for these settings",
|
|
1023
|
+
ready: "Choose a reference, and then select Show reference.",
|
|
1024
|
+
cleared: "The highlight is cleared.",
|
|
1025
|
+
scrollFailed: "This reference is unavailable. The document did not move.",
|
|
1026
|
+
highlightFailed: "Scrolled to the reference. Highlights support body paragraphs and table cells only.",
|
|
1027
|
+
highlightOnlyFailed: "This reference cannot receive a highlight. Highlights support body paragraphs and table cells only.",
|
|
1028
|
+
references: {
|
|
1029
|
+
payment: "Payment terms",
|
|
1030
|
+
fee: "Annual support fee (table cell)",
|
|
1031
|
+
liability: "Second \"Supplier\" in the liability clause",
|
|
1032
|
+
law: "\"State of New York\" in governing law",
|
|
1033
|
+
header: "Draft notice (header)",
|
|
1034
|
+
missing: "Deleted paragraph (missing)"
|
|
1035
|
+
},
|
|
1036
|
+
effects: {
|
|
1037
|
+
both: "Scroll and highlight",
|
|
1038
|
+
scroll: "Scroll only",
|
|
1039
|
+
highlight: "Highlight only"
|
|
1040
|
+
},
|
|
1041
|
+
styles: {
|
|
1042
|
+
"default": "Default blue",
|
|
1043
|
+
amber: "Amber with a dashed border",
|
|
1044
|
+
glow: "Green glow (CSS class)",
|
|
1045
|
+
instant: "Default blue without a fade"
|
|
1046
|
+
},
|
|
1047
|
+
durations: {
|
|
1048
|
+
short: "1.5 seconds",
|
|
1049
|
+
"default": "3 seconds",
|
|
1050
|
+
manual: "Until cleared"
|
|
1051
|
+
},
|
|
1052
|
+
positions: {
|
|
1053
|
+
centerIfNeeded: "Center if needed",
|
|
1054
|
+
center: "Center",
|
|
1055
|
+
start: "Top of the viewport",
|
|
1056
|
+
nearest: "Nearest edge"
|
|
1057
|
+
},
|
|
1058
|
+
motions: {
|
|
1059
|
+
instant: "Instant",
|
|
1060
|
+
smooth: "Smooth"
|
|
1061
|
+
},
|
|
1062
|
+
done: {
|
|
1063
|
+
both: "Scrolled to the reference and highlighted it.",
|
|
1064
|
+
scroll: "Scrolled to the reference.",
|
|
1065
|
+
highlight: "Highlighted the reference. If it is offscreen, scroll to see it."
|
|
1066
|
+
}
|
|
1067
|
+
};
|
|
1007
1068
|
var enJson = {
|
|
1008
1069
|
_lang: _lang,
|
|
1009
1070
|
common: common,
|
|
@@ -1051,7 +1112,8 @@ var enJson = {
|
|
|
1051
1112
|
collaborationDemo: collaborationDemo,
|
|
1052
1113
|
review: review,
|
|
1053
1114
|
textFormField: textFormField,
|
|
1054
|
-
documentRefresh: documentRefresh
|
|
1115
|
+
documentRefresh: documentRefresh,
|
|
1116
|
+
anchorNavigation: anchorNavigation
|
|
1055
1117
|
};
|
|
1056
1118
|
|
|
1057
1119
|
/**
|
|
@@ -1129,11 +1191,13 @@ type LocaleStrings = typeof enJson;
|
|
|
1129
1191
|
*
|
|
1130
1192
|
* @public
|
|
1131
1193
|
*/
|
|
1132
|
-
type LocaleCode = 'en' | 'de' | 'fr' | 'he' | 'hi' | 'id' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
1194
|
+
type LocaleCode = 'en' | 'de' | 'es' | 'fr' | 'he' | 'hi' | 'id' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
1133
1195
|
/** English (`en`) — the source of truth, 100% covered. @public */
|
|
1134
1196
|
declare const en: LocaleStrings;
|
|
1135
1197
|
/** German (`de`). Community-maintained; null leaves fall back to English. @public */
|
|
1136
1198
|
declare const de: PartialLocaleStrings;
|
|
1199
|
+
/** Spanish (`es`). Community-maintained; null leaves fall back to English. @public */
|
|
1200
|
+
declare const es: PartialLocaleStrings;
|
|
1137
1201
|
/** French (`fr`). Community-maintained; null leaves fall back to English. @public */
|
|
1138
1202
|
declare const fr: PartialLocaleStrings;
|
|
1139
1203
|
/** Hebrew (`he`). Community-maintained; null leaves fall back to English. @public */
|
|
@@ -1250,4 +1314,4 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
|
|
|
1250
1314
|
*/
|
|
1251
1315
|
declare function createT(strings: LocaleStrings, lang?: string): TFunction;
|
|
1252
1316
|
|
|
1253
|
-
export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, fr, he, hi, id, isApplePlatform, locales, localizeDisabledReason, pl, platformShortcut, ptBR, tr, zhCN };
|
|
1317
|
+
export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, es, fr, he, hi, id, isApplePlatform, locales, localizeDisabledReason, pl, platformShortcut, ptBR, tr, zhCN };
|
package/dist/index.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ var formattingBar = {
|
|
|
125
125
|
textFormatting: "Text formatting",
|
|
126
126
|
script: "Script",
|
|
127
127
|
alignment: "Alignment",
|
|
128
|
+
direction: "Text direction",
|
|
128
129
|
listFormatting: "List formatting",
|
|
129
130
|
format: "Format",
|
|
130
131
|
image: "Image",
|
|
@@ -348,6 +349,9 @@ var dialogs = {
|
|
|
348
349
|
alignCenter: "Centered",
|
|
349
350
|
alignRight: "Right",
|
|
350
351
|
alignJustify: "Justified",
|
|
352
|
+
direction: "Direction",
|
|
353
|
+
directionLtr: "Left-to-right",
|
|
354
|
+
directionRtl: "Right-to-left",
|
|
351
355
|
indentation: "Indentation",
|
|
352
356
|
beforeText: "Before text",
|
|
353
357
|
afterText: "After text",
|
|
@@ -1004,6 +1008,63 @@ var documentRefresh = {
|
|
|
1004
1008
|
processingLabel: "Processing",
|
|
1005
1009
|
sampleEdited: "Your edits stay in the document. Reset the sample to run this demo again."
|
|
1006
1010
|
};
|
|
1011
|
+
var anchorNavigation = {
|
|
1012
|
+
title: "Paragraph references",
|
|
1013
|
+
description: "Choose a finding and an effect. The editor scrolls to the paragraph, highlights it, or both.",
|
|
1014
|
+
reference: "Reference",
|
|
1015
|
+
effect: "Effect",
|
|
1016
|
+
style: "Highlight style",
|
|
1017
|
+
duration: "Highlight duration",
|
|
1018
|
+
position: "Scroll position",
|
|
1019
|
+
motion: "Scroll motion",
|
|
1020
|
+
show: "Show reference",
|
|
1021
|
+
clear: "Clear highlight",
|
|
1022
|
+
code: "Calls for these settings",
|
|
1023
|
+
ready: "Choose a reference, and then select Show reference.",
|
|
1024
|
+
cleared: "The highlight is cleared.",
|
|
1025
|
+
scrollFailed: "This reference is unavailable. The document did not move.",
|
|
1026
|
+
highlightFailed: "Scrolled to the reference. Highlights support body paragraphs and table cells only.",
|
|
1027
|
+
highlightOnlyFailed: "This reference cannot receive a highlight. Highlights support body paragraphs and table cells only.",
|
|
1028
|
+
references: {
|
|
1029
|
+
payment: "Payment terms",
|
|
1030
|
+
fee: "Annual support fee (table cell)",
|
|
1031
|
+
liability: "Second \"Supplier\" in the liability clause",
|
|
1032
|
+
law: "\"State of New York\" in governing law",
|
|
1033
|
+
header: "Draft notice (header)",
|
|
1034
|
+
missing: "Deleted paragraph (missing)"
|
|
1035
|
+
},
|
|
1036
|
+
effects: {
|
|
1037
|
+
both: "Scroll and highlight",
|
|
1038
|
+
scroll: "Scroll only",
|
|
1039
|
+
highlight: "Highlight only"
|
|
1040
|
+
},
|
|
1041
|
+
styles: {
|
|
1042
|
+
"default": "Default blue",
|
|
1043
|
+
amber: "Amber with a dashed border",
|
|
1044
|
+
glow: "Green glow (CSS class)",
|
|
1045
|
+
instant: "Default blue without a fade"
|
|
1046
|
+
},
|
|
1047
|
+
durations: {
|
|
1048
|
+
short: "1.5 seconds",
|
|
1049
|
+
"default": "3 seconds",
|
|
1050
|
+
manual: "Until cleared"
|
|
1051
|
+
},
|
|
1052
|
+
positions: {
|
|
1053
|
+
centerIfNeeded: "Center if needed",
|
|
1054
|
+
center: "Center",
|
|
1055
|
+
start: "Top of the viewport",
|
|
1056
|
+
nearest: "Nearest edge"
|
|
1057
|
+
},
|
|
1058
|
+
motions: {
|
|
1059
|
+
instant: "Instant",
|
|
1060
|
+
smooth: "Smooth"
|
|
1061
|
+
},
|
|
1062
|
+
done: {
|
|
1063
|
+
both: "Scrolled to the reference and highlighted it.",
|
|
1064
|
+
scroll: "Scrolled to the reference.",
|
|
1065
|
+
highlight: "Highlighted the reference. If it is offscreen, scroll to see it."
|
|
1066
|
+
}
|
|
1067
|
+
};
|
|
1007
1068
|
var enJson = {
|
|
1008
1069
|
_lang: _lang,
|
|
1009
1070
|
common: common,
|
|
@@ -1051,7 +1112,8 @@ var enJson = {
|
|
|
1051
1112
|
collaborationDemo: collaborationDemo,
|
|
1052
1113
|
review: review,
|
|
1053
1114
|
textFormField: textFormField,
|
|
1054
|
-
documentRefresh: documentRefresh
|
|
1115
|
+
documentRefresh: documentRefresh,
|
|
1116
|
+
anchorNavigation: anchorNavigation
|
|
1055
1117
|
};
|
|
1056
1118
|
|
|
1057
1119
|
/**
|
|
@@ -1129,11 +1191,13 @@ type LocaleStrings = typeof enJson;
|
|
|
1129
1191
|
*
|
|
1130
1192
|
* @public
|
|
1131
1193
|
*/
|
|
1132
|
-
type LocaleCode = 'en' | 'de' | 'fr' | 'he' | 'hi' | 'id' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
1194
|
+
type LocaleCode = 'en' | 'de' | 'es' | 'fr' | 'he' | 'hi' | 'id' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
1133
1195
|
/** English (`en`) — the source of truth, 100% covered. @public */
|
|
1134
1196
|
declare const en: LocaleStrings;
|
|
1135
1197
|
/** German (`de`). Community-maintained; null leaves fall back to English. @public */
|
|
1136
1198
|
declare const de: PartialLocaleStrings;
|
|
1199
|
+
/** Spanish (`es`). Community-maintained; null leaves fall back to English. @public */
|
|
1200
|
+
declare const es: PartialLocaleStrings;
|
|
1137
1201
|
/** French (`fr`). Community-maintained; null leaves fall back to English. @public */
|
|
1138
1202
|
declare const fr: PartialLocaleStrings;
|
|
1139
1203
|
/** Hebrew (`he`). Community-maintained; null leaves fall back to English. @public */
|
|
@@ -1250,4 +1314,4 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
|
|
|
1250
1314
|
*/
|
|
1251
1315
|
declare function createT(strings: LocaleStrings, lang?: string): TFunction;
|
|
1252
1316
|
|
|
1253
|
-
export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, fr, he, hi, id, isApplePlatform, locales, localizeDisabledReason, pl, platformShortcut, ptBR, tr, zhCN };
|
|
1317
|
+
export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, es, fr, he, hi, id, isApplePlatform, locales, localizeDisabledReason, pl, platformShortcut, ptBR, tr, zhCN };
|