@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/en.js CHANGED
@@ -112,7 +112,8 @@ var en_default = {
112
112
  printLoadFailed: "The PDF did not load for printing. Select Open PDF, then print from the PDF viewer.",
113
113
  printRefused: "The browser did not allow printing from the page. Select Open PDF, then print from the PDF viewer.",
114
114
  printNoViewer: "This browser cannot print PDF files from the page. Select Open PDF, then print from the PDF viewer.",
115
- printPdfMissing: "Printing uses PDF conversion. Install @docx-editor.dev/docx-to-pdf on your Node.js server and configure menu.exporters.pdf."
115
+ printPdfMissing: "Printing uses PDF conversion. Install @docx-editor.dev/docx-to-pdf on your Node.js server and configure menu.exporters.pdf.",
116
+ insertTextBox: "Text Box"
116
117
  },
117
118
  toc: {
118
119
  refresh: "Refresh table of contents",
@@ -128,6 +129,7 @@ var en_default = {
128
129
  textFormatting: "Text formatting",
129
130
  script: "Script",
130
131
  alignment: "Alignment",
132
+ direction: "Text direction",
131
133
  listFormatting: "List formatting",
132
134
  format: "Format",
133
135
  image: "Image",
@@ -351,6 +353,9 @@ var en_default = {
351
353
  alignCenter: "Centered",
352
354
  alignRight: "Right",
353
355
  alignJustify: "Justified",
356
+ direction: "Direction",
357
+ directionLtr: "Left-to-right",
358
+ directionRtl: "Right-to-left",
354
359
  indentation: "Indentation",
355
360
  beforeText: "Before text",
356
361
  afterText: "After text",
@@ -1006,6 +1011,63 @@ var en_default = {
1006
1011
  scrolled: "Document updated. Scrolled to the changed paragraph.",
1007
1012
  processingLabel: "Processing",
1008
1013
  sampleEdited: "Your edits stay in the document. Reset the sample to run this demo again."
1014
+ },
1015
+ anchorNavigation: {
1016
+ title: "Paragraph references",
1017
+ description: "Choose a finding and an effect. The editor scrolls to the paragraph, highlights it, or both.",
1018
+ reference: "Reference",
1019
+ effect: "Effect",
1020
+ style: "Highlight style",
1021
+ duration: "Highlight duration",
1022
+ position: "Scroll position",
1023
+ motion: "Scroll motion",
1024
+ show: "Show reference",
1025
+ clear: "Clear highlight",
1026
+ code: "Calls for these settings",
1027
+ ready: "Choose a reference, and then select Show reference.",
1028
+ cleared: "The highlight is cleared.",
1029
+ scrollFailed: "This reference is unavailable. The document did not move.",
1030
+ highlightFailed: "Scrolled to the reference. Highlights support body paragraphs and table cells only.",
1031
+ highlightOnlyFailed: "This reference cannot receive a highlight. Highlights support body paragraphs and table cells only.",
1032
+ references: {
1033
+ payment: "Payment terms",
1034
+ fee: "Annual support fee (table cell)",
1035
+ liability: 'Second "Supplier" in the liability clause',
1036
+ law: '"State of New York" in governing law',
1037
+ header: "Draft notice (header)",
1038
+ missing: "Deleted paragraph (missing)"
1039
+ },
1040
+ effects: {
1041
+ both: "Scroll and highlight",
1042
+ scroll: "Scroll only",
1043
+ highlight: "Highlight only"
1044
+ },
1045
+ styles: {
1046
+ default: "Default blue",
1047
+ amber: "Amber with a dashed border",
1048
+ glow: "Green glow (CSS class)",
1049
+ instant: "Default blue without a fade"
1050
+ },
1051
+ durations: {
1052
+ short: "1.5 seconds",
1053
+ default: "3 seconds",
1054
+ manual: "Until cleared"
1055
+ },
1056
+ positions: {
1057
+ centerIfNeeded: "Center if needed",
1058
+ center: "Center",
1059
+ start: "Top of the viewport",
1060
+ nearest: "Nearest edge"
1061
+ },
1062
+ motions: {
1063
+ instant: "Instant",
1064
+ smooth: "Smooth"
1065
+ },
1066
+ done: {
1067
+ both: "Scrolled to the reference and highlighted it.",
1068
+ scroll: "Scrolled to the reference.",
1069
+ highlight: "Highlighted the reference. If it is offscreen, scroll to see it."
1070
+ }
1009
1071
  }
1010
1072
  };
1011
1073
 
package/dist/en.mjs CHANGED
@@ -85,7 +85,8 @@ var en_default = {
85
85
  printLoadFailed: "The PDF did not load for printing. Select Open PDF, then print from the PDF viewer.",
86
86
  printRefused: "The browser did not allow printing from the page. Select Open PDF, then print from the PDF viewer.",
87
87
  printNoViewer: "This browser cannot print PDF files from the page. Select Open PDF, then print from the PDF viewer.",
88
- printPdfMissing: "Printing uses PDF conversion. Install @docx-editor.dev/docx-to-pdf on your Node.js server and configure menu.exporters.pdf."
88
+ printPdfMissing: "Printing uses PDF conversion. Install @docx-editor.dev/docx-to-pdf on your Node.js server and configure menu.exporters.pdf.",
89
+ insertTextBox: "Text Box"
89
90
  },
90
91
  toc: {
91
92
  refresh: "Refresh table of contents",
@@ -101,6 +102,7 @@ var en_default = {
101
102
  textFormatting: "Text formatting",
102
103
  script: "Script",
103
104
  alignment: "Alignment",
105
+ direction: "Text direction",
104
106
  listFormatting: "List formatting",
105
107
  format: "Format",
106
108
  image: "Image",
@@ -324,6 +326,9 @@ var en_default = {
324
326
  alignCenter: "Centered",
325
327
  alignRight: "Right",
326
328
  alignJustify: "Justified",
329
+ direction: "Direction",
330
+ directionLtr: "Left-to-right",
331
+ directionRtl: "Right-to-left",
327
332
  indentation: "Indentation",
328
333
  beforeText: "Before text",
329
334
  afterText: "After text",
@@ -979,6 +984,63 @@ var en_default = {
979
984
  scrolled: "Document updated. Scrolled to the changed paragraph.",
980
985
  processingLabel: "Processing",
981
986
  sampleEdited: "Your edits stay in the document. Reset the sample to run this demo again."
987
+ },
988
+ anchorNavigation: {
989
+ title: "Paragraph references",
990
+ description: "Choose a finding and an effect. The editor scrolls to the paragraph, highlights it, or both.",
991
+ reference: "Reference",
992
+ effect: "Effect",
993
+ style: "Highlight style",
994
+ duration: "Highlight duration",
995
+ position: "Scroll position",
996
+ motion: "Scroll motion",
997
+ show: "Show reference",
998
+ clear: "Clear highlight",
999
+ code: "Calls for these settings",
1000
+ ready: "Choose a reference, and then select Show reference.",
1001
+ cleared: "The highlight is cleared.",
1002
+ scrollFailed: "This reference is unavailable. The document did not move.",
1003
+ highlightFailed: "Scrolled to the reference. Highlights support body paragraphs and table cells only.",
1004
+ highlightOnlyFailed: "This reference cannot receive a highlight. Highlights support body paragraphs and table cells only.",
1005
+ references: {
1006
+ payment: "Payment terms",
1007
+ fee: "Annual support fee (table cell)",
1008
+ liability: 'Second "Supplier" in the liability clause',
1009
+ law: '"State of New York" in governing law',
1010
+ header: "Draft notice (header)",
1011
+ missing: "Deleted paragraph (missing)"
1012
+ },
1013
+ effects: {
1014
+ both: "Scroll and highlight",
1015
+ scroll: "Scroll only",
1016
+ highlight: "Highlight only"
1017
+ },
1018
+ styles: {
1019
+ default: "Default blue",
1020
+ amber: "Amber with a dashed border",
1021
+ glow: "Green glow (CSS class)",
1022
+ instant: "Default blue without a fade"
1023
+ },
1024
+ durations: {
1025
+ short: "1.5 seconds",
1026
+ default: "3 seconds",
1027
+ manual: "Until cleared"
1028
+ },
1029
+ positions: {
1030
+ centerIfNeeded: "Center if needed",
1031
+ center: "Center",
1032
+ start: "Top of the viewport",
1033
+ nearest: "Nearest edge"
1034
+ },
1035
+ motions: {
1036
+ instant: "Instant",
1037
+ smooth: "Smooth"
1038
+ },
1039
+ done: {
1040
+ both: "Scrolled to the reference and highlighted it.",
1041
+ scroll: "Scrolled to the reference.",
1042
+ highlight: "Highlighted the reference. If it is offscreen, scroll to see it."
1043
+ }
982
1044
  }
983
1045
  };
984
1046
 
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 };