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