@docx-editor.dev/i18n 2.5.0 → 2.6.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/de.js +21 -2
- package/dist/de.mjs +21 -2
- package/dist/en.js +19 -0
- package/dist/en.mjs +19 -0
- package/dist/fr.js +21 -2
- package/dist/fr.mjs +21 -2
- package/dist/he.js +21 -2
- package/dist/he.mjs +21 -2
- package/dist/hi.js +21 -2
- package/dist/hi.mjs +21 -2
- package/dist/id.js +21 -2
- package/dist/id.mjs +21 -2
- package/dist/index.d.mts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.js +234 -18
- package/dist/index.mjs +233 -18
- package/dist/pl.js +21 -2
- package/dist/pl.mjs +21 -2
- package/dist/pt-BR.js +21 -2
- package/dist/pt-BR.mjs +21 -2
- package/dist/tr.js +21 -2
- package/dist/tr.mjs +21 -2
- package/dist/zh-CN.js +21 -2
- package/dist/zh-CN.mjs +21 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(index_exports, {
|
|
|
29
29
|
hi: () => hi,
|
|
30
30
|
id: () => id,
|
|
31
31
|
locales: () => locales,
|
|
32
|
+
localizeDisabledReason: () => localizeDisabledReason,
|
|
32
33
|
pl: () => pl,
|
|
33
34
|
ptBR: () => ptBR,
|
|
34
35
|
tr: () => tr,
|
|
@@ -46,6 +47,22 @@ var en_default = {
|
|
|
46
47
|
comment: "Comment",
|
|
47
48
|
dismiss: "Dismiss"
|
|
48
49
|
},
|
|
50
|
+
disabledReason: {
|
|
51
|
+
editorNotReady: "The editor is not ready",
|
|
52
|
+
notWired: "This control is not connected to an editor command",
|
|
53
|
+
viewing: "This document is open for viewing",
|
|
54
|
+
trackedOnly: "This document permits edits only as tracked changes",
|
|
55
|
+
noDocument: "No document is loaded",
|
|
56
|
+
noContentControl: "No content control is selected",
|
|
57
|
+
noDrawing: "No image is selected",
|
|
58
|
+
drawingLocked: "This image is locked",
|
|
59
|
+
commentSelection: "Select a range before adding a comment",
|
|
60
|
+
mergeUnsupported: "Cell merge is not supported",
|
|
61
|
+
splitUnsupported: "Cell split is not supported",
|
|
62
|
+
imageSuggesting: "Image property edits are unavailable in suggesting mode",
|
|
63
|
+
invalidValue: "This value is not valid for the command",
|
|
64
|
+
unavailable: "This command is unavailable"
|
|
65
|
+
},
|
|
49
66
|
toolbar: {
|
|
50
67
|
ariaLabel: "Formatting toolbar",
|
|
51
68
|
file: "File",
|
|
@@ -62,6 +79,7 @@ var en_default = {
|
|
|
62
79
|
rightToLeft: "Right-to-left text",
|
|
63
80
|
image: "Image",
|
|
64
81
|
table: "Table",
|
|
82
|
+
insertTable: "Insert table",
|
|
65
83
|
break: "Break",
|
|
66
84
|
insertFootnote: "Insert Footnote",
|
|
67
85
|
insertEndnote: "Insert Endnote",
|
|
@@ -679,6 +697,8 @@ var en_default = {
|
|
|
679
697
|
structural: "Changed the document structure",
|
|
680
698
|
replyRefused: "Could not post the reply",
|
|
681
699
|
showPane: "Show comments",
|
|
700
|
+
resolved: "Resolved",
|
|
701
|
+
showResolvedComment: "Show resolved comment",
|
|
682
702
|
replaced: "Replaced",
|
|
683
703
|
replacedWith: "with",
|
|
684
704
|
commentRefused: "Could not add the comment"
|
|
@@ -720,7 +740,8 @@ var de_default = {
|
|
|
720
740
|
sectionBreakContinuous: "Abschnittsumbruch (fortlaufend)",
|
|
721
741
|
sectionBreakNextPage: "Abschnittsumbruch (nächste Seite)",
|
|
722
742
|
insertFootnote: "Fußnote einfügen",
|
|
723
|
-
insertEndnote: "Endnote einfügen"
|
|
743
|
+
insertEndnote: "Endnote einfügen",
|
|
744
|
+
insertTable: null
|
|
724
745
|
},
|
|
725
746
|
formattingBar: {
|
|
726
747
|
groups: {
|
|
@@ -1290,7 +1311,9 @@ var de_default = {
|
|
|
1290
1311
|
showPane: "Kommentare anzeigen",
|
|
1291
1312
|
structural: "Dokumentstruktur geändert",
|
|
1292
1313
|
deleteComment: "Kommentar löschen",
|
|
1293
|
-
discardChange: "Änderung verwerfen"
|
|
1314
|
+
discardChange: "Änderung verwerfen",
|
|
1315
|
+
showResolvedComment: null,
|
|
1316
|
+
resolved: null
|
|
1294
1317
|
},
|
|
1295
1318
|
imageAltText: {
|
|
1296
1319
|
description: "Beschreibung",
|
|
@@ -1331,6 +1354,22 @@ var de_default = {
|
|
|
1331
1354
|
relativeToHorizontal: "Relativ zu (horizontal)",
|
|
1332
1355
|
relativeToVertical: "Relativ zu (vertikal)",
|
|
1333
1356
|
verticalOffset: "Vertikaler Versatz"
|
|
1357
|
+
},
|
|
1358
|
+
disabledReason: {
|
|
1359
|
+
commentSelection: null,
|
|
1360
|
+
drawingLocked: null,
|
|
1361
|
+
editorNotReady: null,
|
|
1362
|
+
imageSuggesting: null,
|
|
1363
|
+
invalidValue: null,
|
|
1364
|
+
mergeUnsupported: null,
|
|
1365
|
+
noContentControl: null,
|
|
1366
|
+
noDocument: null,
|
|
1367
|
+
noDrawing: null,
|
|
1368
|
+
notWired: null,
|
|
1369
|
+
splitUnsupported: null,
|
|
1370
|
+
trackedOnly: null,
|
|
1371
|
+
unavailable: null,
|
|
1372
|
+
viewing: null
|
|
1334
1373
|
}
|
|
1335
1374
|
};
|
|
1336
1375
|
|
|
@@ -1369,7 +1408,8 @@ var fr_default = {
|
|
|
1369
1408
|
sectionBreakContinuous: "Saut de section (continu)",
|
|
1370
1409
|
sectionBreakNextPage: "Saut de section (page suivante)",
|
|
1371
1410
|
insertFootnote: "Insérer une note de bas de page",
|
|
1372
|
-
insertEndnote: "Insérer une note de fin"
|
|
1411
|
+
insertEndnote: "Insérer une note de fin",
|
|
1412
|
+
insertTable: null
|
|
1373
1413
|
},
|
|
1374
1414
|
formattingBar: {
|
|
1375
1415
|
groups: {
|
|
@@ -1939,7 +1979,9 @@ var fr_default = {
|
|
|
1939
1979
|
showPane: "Afficher les commentaires",
|
|
1940
1980
|
structural: "Structure du document modifiée",
|
|
1941
1981
|
deleteComment: "Supprimer le commentaire",
|
|
1942
|
-
discardChange: "Ignorer la modification"
|
|
1982
|
+
discardChange: "Ignorer la modification",
|
|
1983
|
+
showResolvedComment: null,
|
|
1984
|
+
resolved: null
|
|
1943
1985
|
},
|
|
1944
1986
|
imageAltText: {
|
|
1945
1987
|
description: "Description",
|
|
@@ -1980,6 +2022,22 @@ var fr_default = {
|
|
|
1980
2022
|
relativeToHorizontal: "Par rapport à (horizontal)",
|
|
1981
2023
|
relativeToVertical: "Par rapport à (vertical)",
|
|
1982
2024
|
verticalOffset: "Décalage vertical"
|
|
2025
|
+
},
|
|
2026
|
+
disabledReason: {
|
|
2027
|
+
commentSelection: null,
|
|
2028
|
+
drawingLocked: null,
|
|
2029
|
+
editorNotReady: null,
|
|
2030
|
+
imageSuggesting: null,
|
|
2031
|
+
invalidValue: null,
|
|
2032
|
+
mergeUnsupported: null,
|
|
2033
|
+
noContentControl: null,
|
|
2034
|
+
noDocument: null,
|
|
2035
|
+
noDrawing: null,
|
|
2036
|
+
notWired: null,
|
|
2037
|
+
splitUnsupported: null,
|
|
2038
|
+
trackedOnly: null,
|
|
2039
|
+
unavailable: null,
|
|
2040
|
+
viewing: null
|
|
1983
2041
|
}
|
|
1984
2042
|
};
|
|
1985
2043
|
|
|
@@ -2018,7 +2076,8 @@ var he_default = {
|
|
|
2018
2076
|
sectionBreakContinuous: "מעבר מקטע (רציף)",
|
|
2019
2077
|
sectionBreakNextPage: "מעבר מקטע (עמוד הבא)",
|
|
2020
2078
|
insertFootnote: "הוסף הערת שוליים",
|
|
2021
|
-
insertEndnote: "הוסף הערת סוף"
|
|
2079
|
+
insertEndnote: "הוסף הערת סוף",
|
|
2080
|
+
insertTable: null
|
|
2022
2081
|
},
|
|
2023
2082
|
formattingBar: {
|
|
2024
2083
|
groups: {
|
|
@@ -2588,7 +2647,9 @@ var he_default = {
|
|
|
2588
2647
|
showPane: "הצג הערות",
|
|
2589
2648
|
structural: "מבנה המסמך שונה",
|
|
2590
2649
|
deleteComment: "מחק הערה",
|
|
2591
|
-
discardChange: "בטל שינוי"
|
|
2650
|
+
discardChange: "בטל שינוי",
|
|
2651
|
+
showResolvedComment: null,
|
|
2652
|
+
resolved: null
|
|
2592
2653
|
},
|
|
2593
2654
|
imageAltText: {
|
|
2594
2655
|
description: "תיאור",
|
|
@@ -2629,6 +2690,22 @@ var he_default = {
|
|
|
2629
2690
|
relativeToHorizontal: "ביחס ל (אופקי)",
|
|
2630
2691
|
relativeToVertical: "ביחס ל (אנכי)",
|
|
2631
2692
|
verticalOffset: "היסט אנכי"
|
|
2693
|
+
},
|
|
2694
|
+
disabledReason: {
|
|
2695
|
+
commentSelection: null,
|
|
2696
|
+
drawingLocked: null,
|
|
2697
|
+
editorNotReady: null,
|
|
2698
|
+
imageSuggesting: null,
|
|
2699
|
+
invalidValue: null,
|
|
2700
|
+
mergeUnsupported: null,
|
|
2701
|
+
noContentControl: null,
|
|
2702
|
+
noDocument: null,
|
|
2703
|
+
noDrawing: null,
|
|
2704
|
+
notWired: null,
|
|
2705
|
+
splitUnsupported: null,
|
|
2706
|
+
trackedOnly: null,
|
|
2707
|
+
unavailable: null,
|
|
2708
|
+
viewing: null
|
|
2632
2709
|
}
|
|
2633
2710
|
};
|
|
2634
2711
|
|
|
@@ -2667,7 +2744,8 @@ var hi_default = {
|
|
|
2667
2744
|
sectionBreakContinuous: "अनुभाग ब्रेक (निरंतर)",
|
|
2668
2745
|
sectionBreakNextPage: "अनुभाग ब्रेक (अगला पृष्ठ)",
|
|
2669
2746
|
insertFootnote: "फ़ुटनोट डालें",
|
|
2670
|
-
insertEndnote: "एंडनोट डालें"
|
|
2747
|
+
insertEndnote: "एंडनोट डालें",
|
|
2748
|
+
insertTable: null
|
|
2671
2749
|
},
|
|
2672
2750
|
formattingBar: {
|
|
2673
2751
|
groups: {
|
|
@@ -3237,7 +3315,9 @@ var hi_default = {
|
|
|
3237
3315
|
showPane: "टिप्पणियाँ दिखाएँ",
|
|
3238
3316
|
structural: "दस्तावेज़ संरचना बदली गई",
|
|
3239
3317
|
deleteComment: "टिप्पणी हटाएँ",
|
|
3240
|
-
discardChange: "परिवर्तन छोड़ें"
|
|
3318
|
+
discardChange: "परिवर्तन छोड़ें",
|
|
3319
|
+
showResolvedComment: null,
|
|
3320
|
+
resolved: null
|
|
3241
3321
|
},
|
|
3242
3322
|
imageAltText: {
|
|
3243
3323
|
description: "विवरण",
|
|
@@ -3278,6 +3358,22 @@ var hi_default = {
|
|
|
3278
3358
|
relativeToHorizontal: "सापेक्ष (क्षैतिज)",
|
|
3279
3359
|
relativeToVertical: "सापेक्ष (लंबवत)",
|
|
3280
3360
|
verticalOffset: "लंबवत ऑफ़सेट"
|
|
3361
|
+
},
|
|
3362
|
+
disabledReason: {
|
|
3363
|
+
commentSelection: null,
|
|
3364
|
+
drawingLocked: null,
|
|
3365
|
+
editorNotReady: null,
|
|
3366
|
+
imageSuggesting: null,
|
|
3367
|
+
invalidValue: null,
|
|
3368
|
+
mergeUnsupported: null,
|
|
3369
|
+
noContentControl: null,
|
|
3370
|
+
noDocument: null,
|
|
3371
|
+
noDrawing: null,
|
|
3372
|
+
notWired: null,
|
|
3373
|
+
splitUnsupported: null,
|
|
3374
|
+
trackedOnly: null,
|
|
3375
|
+
unavailable: null,
|
|
3376
|
+
viewing: null
|
|
3281
3377
|
}
|
|
3282
3378
|
};
|
|
3283
3379
|
|
|
@@ -3316,7 +3412,8 @@ var id_default = {
|
|
|
3316
3412
|
help: "Bantuan",
|
|
3317
3413
|
reportIssue: "Laporkan Masalah",
|
|
3318
3414
|
insertFootnote: "Sisipkan catatan kaki",
|
|
3319
|
-
insertEndnote: "Sisipkan catatan akhir"
|
|
3415
|
+
insertEndnote: "Sisipkan catatan akhir",
|
|
3416
|
+
insertTable: null
|
|
3320
3417
|
},
|
|
3321
3418
|
formattingBar: {
|
|
3322
3419
|
groups: {
|
|
@@ -3886,7 +3983,9 @@ var id_default = {
|
|
|
3886
3983
|
showPane: "Tampilkan komentar",
|
|
3887
3984
|
structural: "Struktur dokumen diubah",
|
|
3888
3985
|
deleteComment: "Hapus komentar",
|
|
3889
|
-
discardChange: "Buang perubahan"
|
|
3986
|
+
discardChange: "Buang perubahan",
|
|
3987
|
+
showResolvedComment: null,
|
|
3988
|
+
resolved: null
|
|
3890
3989
|
},
|
|
3891
3990
|
imageAltText: {
|
|
3892
3991
|
description: "Deskripsi",
|
|
@@ -3927,6 +4026,22 @@ var id_default = {
|
|
|
3927
4026
|
relativeToHorizontal: "Relatif terhadap (horizontal)",
|
|
3928
4027
|
relativeToVertical: "Relatif terhadap (vertikal)",
|
|
3929
4028
|
verticalOffset: "Offset vertikal"
|
|
4029
|
+
},
|
|
4030
|
+
disabledReason: {
|
|
4031
|
+
commentSelection: null,
|
|
4032
|
+
drawingLocked: null,
|
|
4033
|
+
editorNotReady: null,
|
|
4034
|
+
imageSuggesting: null,
|
|
4035
|
+
invalidValue: null,
|
|
4036
|
+
mergeUnsupported: null,
|
|
4037
|
+
noContentControl: null,
|
|
4038
|
+
noDocument: null,
|
|
4039
|
+
noDrawing: null,
|
|
4040
|
+
notWired: null,
|
|
4041
|
+
splitUnsupported: null,
|
|
4042
|
+
trackedOnly: null,
|
|
4043
|
+
unavailable: null,
|
|
4044
|
+
viewing: null
|
|
3930
4045
|
}
|
|
3931
4046
|
};
|
|
3932
4047
|
|
|
@@ -3965,7 +4080,8 @@ var pl_default = {
|
|
|
3965
4080
|
sectionBreakContinuous: "Podział sekcji (ciągły)",
|
|
3966
4081
|
sectionBreakNextPage: "Podział sekcji (następna strona)",
|
|
3967
4082
|
insertFootnote: "Wstaw przypis dolny",
|
|
3968
|
-
insertEndnote: "Wstaw przypis końcowy"
|
|
4083
|
+
insertEndnote: "Wstaw przypis końcowy",
|
|
4084
|
+
insertTable: null
|
|
3969
4085
|
},
|
|
3970
4086
|
formattingBar: {
|
|
3971
4087
|
groups: {
|
|
@@ -4535,7 +4651,9 @@ var pl_default = {
|
|
|
4535
4651
|
showPane: "Pokaż komentarze",
|
|
4536
4652
|
structural: "Zmieniono strukturę dokumentu",
|
|
4537
4653
|
deleteComment: "Usuń komentarz",
|
|
4538
|
-
discardChange: "Odrzuć zmianę"
|
|
4654
|
+
discardChange: "Odrzuć zmianę",
|
|
4655
|
+
showResolvedComment: null,
|
|
4656
|
+
resolved: null
|
|
4539
4657
|
},
|
|
4540
4658
|
imageAltText: {
|
|
4541
4659
|
description: "Opis",
|
|
@@ -4576,6 +4694,22 @@ var pl_default = {
|
|
|
4576
4694
|
relativeToHorizontal: "Względem (w poziomie)",
|
|
4577
4695
|
relativeToVertical: "Względem (w pionie)",
|
|
4578
4696
|
verticalOffset: "Przesunięcie w pionie"
|
|
4697
|
+
},
|
|
4698
|
+
disabledReason: {
|
|
4699
|
+
commentSelection: null,
|
|
4700
|
+
drawingLocked: null,
|
|
4701
|
+
editorNotReady: null,
|
|
4702
|
+
imageSuggesting: null,
|
|
4703
|
+
invalidValue: null,
|
|
4704
|
+
mergeUnsupported: null,
|
|
4705
|
+
noContentControl: null,
|
|
4706
|
+
noDocument: null,
|
|
4707
|
+
noDrawing: null,
|
|
4708
|
+
notWired: null,
|
|
4709
|
+
splitUnsupported: null,
|
|
4710
|
+
trackedOnly: null,
|
|
4711
|
+
unavailable: null,
|
|
4712
|
+
viewing: null
|
|
4579
4713
|
}
|
|
4580
4714
|
};
|
|
4581
4715
|
|
|
@@ -4614,7 +4748,8 @@ var pt_BR_default = {
|
|
|
4614
4748
|
sectionBreakContinuous: "Quebra de seção (contínua)",
|
|
4615
4749
|
sectionBreakNextPage: "Quebra de seção (próxima página)",
|
|
4616
4750
|
insertFootnote: "Inserir nota de rodapé",
|
|
4617
|
-
insertEndnote: "Inserir nota de fim"
|
|
4751
|
+
insertEndnote: "Inserir nota de fim",
|
|
4752
|
+
insertTable: null
|
|
4618
4753
|
},
|
|
4619
4754
|
formattingBar: {
|
|
4620
4755
|
groups: {
|
|
@@ -5184,7 +5319,9 @@ var pt_BR_default = {
|
|
|
5184
5319
|
showPane: "Mostrar comentários",
|
|
5185
5320
|
structural: "Estrutura do documento alterada",
|
|
5186
5321
|
deleteComment: "Excluir comentário",
|
|
5187
|
-
discardChange: "Descartar alteração"
|
|
5322
|
+
discardChange: "Descartar alteração",
|
|
5323
|
+
showResolvedComment: null,
|
|
5324
|
+
resolved: null
|
|
5188
5325
|
},
|
|
5189
5326
|
imageAltText: {
|
|
5190
5327
|
description: "Descrição",
|
|
@@ -5225,6 +5362,22 @@ var pt_BR_default = {
|
|
|
5225
5362
|
relativeToHorizontal: "Em relação a (horizontal)",
|
|
5226
5363
|
relativeToVertical: "Em relação a (vertical)",
|
|
5227
5364
|
verticalOffset: "Deslocamento vertical"
|
|
5365
|
+
},
|
|
5366
|
+
disabledReason: {
|
|
5367
|
+
commentSelection: null,
|
|
5368
|
+
drawingLocked: null,
|
|
5369
|
+
editorNotReady: null,
|
|
5370
|
+
imageSuggesting: null,
|
|
5371
|
+
invalidValue: null,
|
|
5372
|
+
mergeUnsupported: null,
|
|
5373
|
+
noContentControl: null,
|
|
5374
|
+
noDocument: null,
|
|
5375
|
+
noDrawing: null,
|
|
5376
|
+
notWired: null,
|
|
5377
|
+
splitUnsupported: null,
|
|
5378
|
+
trackedOnly: null,
|
|
5379
|
+
unavailable: null,
|
|
5380
|
+
viewing: null
|
|
5228
5381
|
}
|
|
5229
5382
|
};
|
|
5230
5383
|
|
|
@@ -5263,7 +5416,8 @@ var tr_default = {
|
|
|
5263
5416
|
sectionBreakContinuous: "Bölüm sonu (sürekli)",
|
|
5264
5417
|
sectionBreakNextPage: "Bölüm sonu (sonraki sayfa)",
|
|
5265
5418
|
insertFootnote: "Dipnot ekle",
|
|
5266
|
-
insertEndnote: "Sonnot ekle"
|
|
5419
|
+
insertEndnote: "Sonnot ekle",
|
|
5420
|
+
insertTable: null
|
|
5267
5421
|
},
|
|
5268
5422
|
formattingBar: {
|
|
5269
5423
|
groups: {
|
|
@@ -5833,7 +5987,9 @@ var tr_default = {
|
|
|
5833
5987
|
showPane: "Açıklamaları göster",
|
|
5834
5988
|
structural: "Belge yapısı değiştirildi",
|
|
5835
5989
|
deleteComment: "Açıklamayı sil",
|
|
5836
|
-
discardChange: "Değişikliği at"
|
|
5990
|
+
discardChange: "Değişikliği at",
|
|
5991
|
+
showResolvedComment: null,
|
|
5992
|
+
resolved: null
|
|
5837
5993
|
},
|
|
5838
5994
|
imageAltText: {
|
|
5839
5995
|
description: "Açıklama",
|
|
@@ -5874,6 +6030,22 @@ var tr_default = {
|
|
|
5874
6030
|
relativeToHorizontal: "Göreli konum (yatay)",
|
|
5875
6031
|
relativeToVertical: "Göreli konum (dikey)",
|
|
5876
6032
|
verticalOffset: "Dikey uzaklık"
|
|
6033
|
+
},
|
|
6034
|
+
disabledReason: {
|
|
6035
|
+
commentSelection: null,
|
|
6036
|
+
drawingLocked: null,
|
|
6037
|
+
editorNotReady: null,
|
|
6038
|
+
imageSuggesting: null,
|
|
6039
|
+
invalidValue: null,
|
|
6040
|
+
mergeUnsupported: null,
|
|
6041
|
+
noContentControl: null,
|
|
6042
|
+
noDocument: null,
|
|
6043
|
+
noDrawing: null,
|
|
6044
|
+
notWired: null,
|
|
6045
|
+
splitUnsupported: null,
|
|
6046
|
+
trackedOnly: null,
|
|
6047
|
+
unavailable: null,
|
|
6048
|
+
viewing: null
|
|
5877
6049
|
}
|
|
5878
6050
|
};
|
|
5879
6051
|
|
|
@@ -5912,7 +6084,8 @@ var zh_CN_default = {
|
|
|
5912
6084
|
sectionBreakContinuous: "分节符(连续)",
|
|
5913
6085
|
sectionBreakNextPage: "分节符(下一页)",
|
|
5914
6086
|
insertFootnote: "插入脚注",
|
|
5915
|
-
insertEndnote: "插入尾注"
|
|
6087
|
+
insertEndnote: "插入尾注",
|
|
6088
|
+
insertTable: null
|
|
5916
6089
|
},
|
|
5917
6090
|
formattingBar: {
|
|
5918
6091
|
groups: {
|
|
@@ -6482,7 +6655,9 @@ var zh_CN_default = {
|
|
|
6482
6655
|
showPane: "显示批注",
|
|
6483
6656
|
structural: "已更改文档结构",
|
|
6484
6657
|
deleteComment: "删除批注",
|
|
6485
|
-
discardChange: "放弃更改"
|
|
6658
|
+
discardChange: "放弃更改",
|
|
6659
|
+
showResolvedComment: null,
|
|
6660
|
+
resolved: null
|
|
6486
6661
|
},
|
|
6487
6662
|
imageAltText: {
|
|
6488
6663
|
description: "说明",
|
|
@@ -6523,6 +6698,22 @@ var zh_CN_default = {
|
|
|
6523
6698
|
relativeToHorizontal: "相对于(水平)",
|
|
6524
6699
|
relativeToVertical: "相对于(垂直)",
|
|
6525
6700
|
verticalOffset: "垂直偏移"
|
|
6701
|
+
},
|
|
6702
|
+
disabledReason: {
|
|
6703
|
+
commentSelection: null,
|
|
6704
|
+
drawingLocked: null,
|
|
6705
|
+
editorNotReady: null,
|
|
6706
|
+
imageSuggesting: null,
|
|
6707
|
+
invalidValue: null,
|
|
6708
|
+
mergeUnsupported: null,
|
|
6709
|
+
noContentControl: null,
|
|
6710
|
+
noDocument: null,
|
|
6711
|
+
noDrawing: null,
|
|
6712
|
+
notWired: null,
|
|
6713
|
+
splitUnsupported: null,
|
|
6714
|
+
trackedOnly: null,
|
|
6715
|
+
unavailable: null,
|
|
6716
|
+
viewing: null
|
|
6526
6717
|
}
|
|
6527
6718
|
};
|
|
6528
6719
|
|
|
@@ -6614,6 +6805,30 @@ function formatMessage(template, vars, lang) {
|
|
|
6614
6805
|
return val !== void 0 ? String(val) : `{${key}}`;
|
|
6615
6806
|
});
|
|
6616
6807
|
}
|
|
6808
|
+
var DISABLED_REASON_KEYS = Object.freeze({
|
|
6809
|
+
"editor is not ready": "disabledReason.editorNotReady",
|
|
6810
|
+
"not wired to an editor command": "disabledReason.notWired",
|
|
6811
|
+
"this document was opened for viewing": "disabledReason.viewing",
|
|
6812
|
+
"the document is open for viewing": "disabledReason.viewing",
|
|
6813
|
+
"this document permits editing only as tracked changes": "disabledReason.trackedOnly",
|
|
6814
|
+
"no document is loaded": "disabledReason.noDocument",
|
|
6815
|
+
"no document is open": "disabledReason.noDocument",
|
|
6816
|
+
"no content control at the selection": "disabledReason.noContentControl",
|
|
6817
|
+
"no drawing is selected": "disabledReason.noDrawing",
|
|
6818
|
+
"the drawing is locked": "disabledReason.drawingLocked",
|
|
6819
|
+
"a comment needs a selected range": "disabledReason.commentSelection",
|
|
6820
|
+
"cell merge is not supported yet": "disabledReason.mergeUnsupported",
|
|
6821
|
+
"cell split is not supported yet": "disabledReason.splitUnsupported",
|
|
6822
|
+
"image property edits are not supported in suggesting mode": "disabledReason.imageSuggesting",
|
|
6823
|
+
"invalid table chrome value": "disabledReason.invalidValue",
|
|
6824
|
+
"invalid value for toolbar command": "disabledReason.invalidValue",
|
|
6825
|
+
"unsupported table command": "disabledReason.unavailable"
|
|
6826
|
+
});
|
|
6827
|
+
function localizeDisabledReason(reason, t) {
|
|
6828
|
+
if (!reason) return null;
|
|
6829
|
+
const key = DISABLED_REASON_KEYS[reason];
|
|
6830
|
+
return key ? t(key) : reason;
|
|
6831
|
+
}
|
|
6617
6832
|
function createT(strings, lang = "en") {
|
|
6618
6833
|
return (key, vars) => {
|
|
6619
6834
|
const value = lookupKey(strings, key);
|
|
@@ -6631,6 +6846,7 @@ function createT(strings, lang = "en") {
|
|
|
6631
6846
|
hi,
|
|
6632
6847
|
id,
|
|
6633
6848
|
locales,
|
|
6849
|
+
localizeDisabledReason,
|
|
6634
6850
|
pl,
|
|
6635
6851
|
ptBR,
|
|
6636
6852
|
tr,
|