@eigenpal/docx-editor-i18n 1.0.2 → 1.1.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/LICENSE +13 -16
- package/README.md +1 -1
- package/dist/de.js +15 -0
- package/dist/de.mjs +15 -0
- package/dist/en.js +15 -0
- package/dist/en.mjs +15 -0
- package/dist/fr.d.mts +33 -0
- package/dist/fr.d.ts +33 -0
- package/dist/fr.js +873 -0
- package/dist/fr.mjs +846 -0
- package/dist/he.js +15 -0
- package/dist/he.mjs +15 -0
- package/dist/hi.d.mts +33 -0
- package/dist/hi.d.ts +33 -0
- package/dist/hi.js +873 -0
- package/dist/hi.mjs +846 -0
- package/dist/index.d.mts +22 -2
- package/dist/index.d.ts +22 -2
- package/dist/index.js +1791 -0
- package/dist/index.mjs +1789 -0
- package/dist/pl.js +15 -0
- package/dist/pl.mjs +15 -0
- package/dist/pt-BR.js +15 -0
- package/dist/pt-BR.mjs +15 -0
- package/dist/tr.js +15 -0
- package/dist/tr.mjs +15 -0
- package/dist/zh-CN.js +15 -0
- package/dist/zh-CN.mjs +15 -0
- package/package.json +11 -1
package/LICENSE
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
to the Licensor or its representatives, including but not limited to
|
|
56
56
|
communication on electronic mailing lists, source code control systems,
|
|
57
57
|
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
59
|
excluding communication that is conspicuously marked or otherwise
|
|
60
60
|
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
61
|
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
|
|
138
138
|
6. Trademarks. This License does not grant permission to use the trade
|
|
139
139
|
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for
|
|
141
|
-
reproducing the content of the NOTICE file.
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
142
|
|
|
143
143
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
144
|
agreed to in writing, Licensor provides the Work (and each
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
other commercial damages or losses), even if such Contributor
|
|
163
163
|
has been advised of the possibility of such damages.
|
|
164
164
|
|
|
165
|
-
9. Accepting Warranty or
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
166
|
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
167
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
168
|
or other liability obligations and/or rights consistent with this
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
of any other Contributor, and only if You agree to indemnify,
|
|
172
172
|
defend, and hold each Contributor harmless for any liability
|
|
173
173
|
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
175
|
|
|
176
176
|
END OF TERMS AND CONDITIONS
|
|
177
177
|
|
|
@@ -181,13 +181,12 @@
|
|
|
181
181
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
182
|
replaced with your own identifying information. (Don't include
|
|
183
183
|
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
to be reproduced in any Derivative Works.
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
189
188
|
|
|
190
|
-
Copyright
|
|
189
|
+
Copyright 2026 EigenPal Inc.
|
|
191
190
|
|
|
192
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
192
|
you may not use this file except in compliance with the License.
|
|
@@ -197,8 +196,6 @@
|
|
|
197
196
|
|
|
198
197
|
Unless required by applicable law or agreed to in writing, software
|
|
199
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
PARTICULAR PURPOSE. See the License for the specific language governing
|
|
204
|
-
permissions and limitations under the License.
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://www.docx-editor.dev/">
|
|
3
|
-
<img src="https://raw.githubusercontent.com/eigenpal/docx-editor/main/assets/header.png" alt="DOCX Editor — .docx in, .docx out. Open source, agent ready, client-side." width="500" />
|
|
3
|
+
<img src="https://raw.githubusercontent.com/eigenpal/docx-editor/main/.github/assets/header.png" alt="DOCX Editor — .docx in, .docx out. Open source, agent ready, client-side." width="500" />
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
package/dist/de.js
CHANGED
|
@@ -846,6 +846,21 @@ var de_default = {
|
|
|
846
846
|
deleteImage: "Bild löschen",
|
|
847
847
|
imageProperties: "Bildeigenschaften",
|
|
848
848
|
rotate: "Drehen"
|
|
849
|
+
},
|
|
850
|
+
revisions: {
|
|
851
|
+
cellDeleted: null,
|
|
852
|
+
cellInserted: null,
|
|
853
|
+
cellMerged: null,
|
|
854
|
+
cellPropertiesChanged: null,
|
|
855
|
+
paragraphMarkDeleted: null,
|
|
856
|
+
paragraphMarkInserted: null,
|
|
857
|
+
paragraphPropertiesChanged: null,
|
|
858
|
+
rowDeleted: null,
|
|
859
|
+
rowInserted: null,
|
|
860
|
+
rowPropertiesChanged: null,
|
|
861
|
+
tablePropertiesChanged: null,
|
|
862
|
+
tableDeleted: null,
|
|
863
|
+
tableInserted: null
|
|
849
864
|
}
|
|
850
865
|
};
|
|
851
866
|
|
package/dist/de.mjs
CHANGED
|
@@ -819,6 +819,21 @@ var de_default = {
|
|
|
819
819
|
deleteImage: "Bild löschen",
|
|
820
820
|
imageProperties: "Bildeigenschaften",
|
|
821
821
|
rotate: "Drehen"
|
|
822
|
+
},
|
|
823
|
+
revisions: {
|
|
824
|
+
cellDeleted: null,
|
|
825
|
+
cellInserted: null,
|
|
826
|
+
cellMerged: null,
|
|
827
|
+
cellPropertiesChanged: null,
|
|
828
|
+
paragraphMarkDeleted: null,
|
|
829
|
+
paragraphMarkInserted: null,
|
|
830
|
+
paragraphPropertiesChanged: null,
|
|
831
|
+
rowDeleted: null,
|
|
832
|
+
rowInserted: null,
|
|
833
|
+
rowPropertiesChanged: null,
|
|
834
|
+
tablePropertiesChanged: null,
|
|
835
|
+
tableDeleted: null,
|
|
836
|
+
tableInserted: null
|
|
822
837
|
}
|
|
823
838
|
};
|
|
824
839
|
|
package/dist/en.js
CHANGED
|
@@ -578,6 +578,21 @@ var en_default = {
|
|
|
578
578
|
added: "Added",
|
|
579
579
|
deleted: "Deleted"
|
|
580
580
|
},
|
|
581
|
+
revisions: {
|
|
582
|
+
paragraphMarkInserted: "Inserted paragraph break",
|
|
583
|
+
paragraphMarkDeleted: "Deleted paragraph break",
|
|
584
|
+
paragraphPropertiesChanged: "Changed paragraph properties",
|
|
585
|
+
rowInserted: "Inserted row",
|
|
586
|
+
rowDeleted: "Deleted row",
|
|
587
|
+
rowPropertiesChanged: "Changed row properties",
|
|
588
|
+
cellInserted: "Inserted cell",
|
|
589
|
+
cellDeleted: "Deleted cell",
|
|
590
|
+
cellMerged: "Merged cells",
|
|
591
|
+
cellPropertiesChanged: "Changed cell properties",
|
|
592
|
+
tablePropertiesChanged: "Changed table properties",
|
|
593
|
+
tableInserted: "Inserted table",
|
|
594
|
+
tableDeleted: "Deleted table"
|
|
595
|
+
},
|
|
581
596
|
contextMenu: {
|
|
582
597
|
ariaLabel: "AI actions menu",
|
|
583
598
|
textMenuAriaLabel: "Text editing menu",
|
package/dist/en.mjs
CHANGED
|
@@ -551,6 +551,21 @@ var en_default = {
|
|
|
551
551
|
added: "Added",
|
|
552
552
|
deleted: "Deleted"
|
|
553
553
|
},
|
|
554
|
+
revisions: {
|
|
555
|
+
paragraphMarkInserted: "Inserted paragraph break",
|
|
556
|
+
paragraphMarkDeleted: "Deleted paragraph break",
|
|
557
|
+
paragraphPropertiesChanged: "Changed paragraph properties",
|
|
558
|
+
rowInserted: "Inserted row",
|
|
559
|
+
rowDeleted: "Deleted row",
|
|
560
|
+
rowPropertiesChanged: "Changed row properties",
|
|
561
|
+
cellInserted: "Inserted cell",
|
|
562
|
+
cellDeleted: "Deleted cell",
|
|
563
|
+
cellMerged: "Merged cells",
|
|
564
|
+
cellPropertiesChanged: "Changed cell properties",
|
|
565
|
+
tablePropertiesChanged: "Changed table properties",
|
|
566
|
+
tableInserted: "Inserted table",
|
|
567
|
+
tableDeleted: "Deleted table"
|
|
568
|
+
},
|
|
554
569
|
contextMenu: {
|
|
555
570
|
ariaLabel: "AI actions menu",
|
|
556
571
|
textMenuAriaLabel: "Text editing menu",
|
package/dist/fr.d.mts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @eigenpal/docx-editor-i18n/fr
|
|
3
|
+
*
|
|
4
|
+
* French (`fr`) — direct locale subpath for per-locale code-splitting.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* // Static — bundler ships only this locale's strings
|
|
8
|
+
* import fr from '@eigenpal/docx-editor-i18n/fr';
|
|
9
|
+
*
|
|
10
|
+
* // Dynamic — splits into its own chunk, loaded on demand
|
|
11
|
+
* const fr = (await import('@eigenpal/docx-editor-i18n/fr')).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
|
+
* French (`fr`) locale strings. Community-maintained; null leaves fall back to English.
|
|
25
|
+
*
|
|
26
|
+
* Identical content to the named `fr` export from the package root;
|
|
27
|
+
* this subpath just lets bundlers code-split it.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
declare const fr: PartialLocaleStrings;
|
|
32
|
+
|
|
33
|
+
export { fr as default, fr };
|
package/dist/fr.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @eigenpal/docx-editor-i18n/fr
|
|
3
|
+
*
|
|
4
|
+
* French (`fr`) — direct locale subpath for per-locale code-splitting.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* // Static — bundler ships only this locale's strings
|
|
8
|
+
* import fr from '@eigenpal/docx-editor-i18n/fr';
|
|
9
|
+
*
|
|
10
|
+
* // Dynamic — splits into its own chunk, loaded on demand
|
|
11
|
+
* const fr = (await import('@eigenpal/docx-editor-i18n/fr')).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
|
+
* French (`fr`) locale strings. Community-maintained; null leaves fall back to English.
|
|
25
|
+
*
|
|
26
|
+
* Identical content to the named `fr` export from the package root;
|
|
27
|
+
* this subpath just lets bundlers code-split it.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
declare const fr: PartialLocaleStrings;
|
|
32
|
+
|
|
33
|
+
export { fr as default, fr };
|