@docx-editor.dev/i18n 2.4.1 → 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/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",
@@ -305,6 +323,9 @@ var en_default = {
305
323
  },
306
324
  revisions: {
307
325
  paragraphMarkInserted: "Inserted paragraph break",
326
+ paragraphMarkDeleted: "Deleted paragraph break",
327
+ paragraphMarkMovedFrom: "Moved paragraph break away",
328
+ paragraphMarkMovedTo: "Moved paragraph break here",
308
329
  runPropertiesChanged: "Changed text formatting"
309
330
  },
310
331
  contextMenu: {
@@ -676,6 +697,8 @@ var en_default = {
676
697
  structural: "Changed the document structure",
677
698
  replyRefused: "Could not post the reply",
678
699
  showPane: "Show comments",
700
+ resolved: "Resolved",
701
+ showResolvedComment: "Show resolved comment",
679
702
  replaced: "Replaced",
680
703
  replacedWith: "with",
681
704
  commentRefused: "Could not add the comment"
@@ -717,7 +740,8 @@ var de_default = {
717
740
  sectionBreakContinuous: "Abschnittsumbruch (fortlaufend)",
718
741
  sectionBreakNextPage: "Abschnittsumbruch (nächste Seite)",
719
742
  insertFootnote: "Fußnote einfügen",
720
- insertEndnote: "Endnote einfügen"
743
+ insertEndnote: "Endnote einfügen",
744
+ insertTable: null
721
745
  },
722
746
  formattingBar: {
723
747
  groups: {
@@ -1167,7 +1191,10 @@ var de_default = {
1167
1191
  },
1168
1192
  revisions: {
1169
1193
  paragraphMarkInserted: "Absatzmarke eingefügt",
1170
- runPropertiesChanged: "Textformatierung geändert"
1194
+ runPropertiesChanged: "Textformatierung geändert",
1195
+ paragraphMarkDeleted: null,
1196
+ paragraphMarkMovedFrom: null,
1197
+ paragraphMarkMovedTo: null
1171
1198
  },
1172
1199
  toc: {
1173
1200
  refresh: "Gesamtes Verzeichnis aktualisieren",
@@ -1284,7 +1311,9 @@ var de_default = {
1284
1311
  showPane: "Kommentare anzeigen",
1285
1312
  structural: "Dokumentstruktur geändert",
1286
1313
  deleteComment: "Kommentar löschen",
1287
- discardChange: "Änderung verwerfen"
1314
+ discardChange: "Änderung verwerfen",
1315
+ showResolvedComment: null,
1316
+ resolved: null
1288
1317
  },
1289
1318
  imageAltText: {
1290
1319
  description: "Beschreibung",
@@ -1325,6 +1354,22 @@ var de_default = {
1325
1354
  relativeToHorizontal: "Relativ zu (horizontal)",
1326
1355
  relativeToVertical: "Relativ zu (vertikal)",
1327
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
1328
1373
  }
1329
1374
  };
1330
1375
 
@@ -1363,7 +1408,8 @@ var fr_default = {
1363
1408
  sectionBreakContinuous: "Saut de section (continu)",
1364
1409
  sectionBreakNextPage: "Saut de section (page suivante)",
1365
1410
  insertFootnote: "Insérer une note de bas de page",
1366
- insertEndnote: "Insérer une note de fin"
1411
+ insertEndnote: "Insérer une note de fin",
1412
+ insertTable: null
1367
1413
  },
1368
1414
  formattingBar: {
1369
1415
  groups: {
@@ -1813,7 +1859,10 @@ var fr_default = {
1813
1859
  },
1814
1860
  revisions: {
1815
1861
  paragraphMarkInserted: "Marque de paragraphe insérée",
1816
- runPropertiesChanged: "Mise en forme du texte modifiée"
1862
+ runPropertiesChanged: "Mise en forme du texte modifiée",
1863
+ paragraphMarkDeleted: null,
1864
+ paragraphMarkMovedFrom: null,
1865
+ paragraphMarkMovedTo: null
1817
1866
  },
1818
1867
  toc: {
1819
1868
  refresh: "Mettre à jour toute la table",
@@ -1930,7 +1979,9 @@ var fr_default = {
1930
1979
  showPane: "Afficher les commentaires",
1931
1980
  structural: "Structure du document modifiée",
1932
1981
  deleteComment: "Supprimer le commentaire",
1933
- discardChange: "Ignorer la modification"
1982
+ discardChange: "Ignorer la modification",
1983
+ showResolvedComment: null,
1984
+ resolved: null
1934
1985
  },
1935
1986
  imageAltText: {
1936
1987
  description: "Description",
@@ -1971,6 +2022,22 @@ var fr_default = {
1971
2022
  relativeToHorizontal: "Par rapport à (horizontal)",
1972
2023
  relativeToVertical: "Par rapport à (vertical)",
1973
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
1974
2041
  }
1975
2042
  };
1976
2043
 
@@ -2009,7 +2076,8 @@ var he_default = {
2009
2076
  sectionBreakContinuous: "מעבר מקטע (רציף)",
2010
2077
  sectionBreakNextPage: "מעבר מקטע (עמוד הבא)",
2011
2078
  insertFootnote: "הוסף הערת שוליים",
2012
- insertEndnote: "הוסף הערת סוף"
2079
+ insertEndnote: "הוסף הערת סוף",
2080
+ insertTable: null
2013
2081
  },
2014
2082
  formattingBar: {
2015
2083
  groups: {
@@ -2459,7 +2527,10 @@ var he_default = {
2459
2527
  },
2460
2528
  revisions: {
2461
2529
  paragraphMarkInserted: "סימן פסקה נוסף",
2462
- runPropertiesChanged: "עיצוב הטקסט שונה"
2530
+ runPropertiesChanged: "עיצוב הטקסט שונה",
2531
+ paragraphMarkDeleted: null,
2532
+ paragraphMarkMovedFrom: null,
2533
+ paragraphMarkMovedTo: null
2463
2534
  },
2464
2535
  toc: {
2465
2536
  refresh: "עדכון הטבלה כולה",
@@ -2576,7 +2647,9 @@ var he_default = {
2576
2647
  showPane: "הצג הערות",
2577
2648
  structural: "מבנה המסמך שונה",
2578
2649
  deleteComment: "מחק הערה",
2579
- discardChange: "בטל שינוי"
2650
+ discardChange: "בטל שינוי",
2651
+ showResolvedComment: null,
2652
+ resolved: null
2580
2653
  },
2581
2654
  imageAltText: {
2582
2655
  description: "תיאור",
@@ -2617,6 +2690,22 @@ var he_default = {
2617
2690
  relativeToHorizontal: "ביחס ל (אופקי)",
2618
2691
  relativeToVertical: "ביחס ל (אנכי)",
2619
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
2620
2709
  }
2621
2710
  };
2622
2711
 
@@ -2655,7 +2744,8 @@ var hi_default = {
2655
2744
  sectionBreakContinuous: "अनुभाग ब्रेक (निरंतर)",
2656
2745
  sectionBreakNextPage: "अनुभाग ब्रेक (अगला पृष्ठ)",
2657
2746
  insertFootnote: "फ़ुटनोट डालें",
2658
- insertEndnote: "एंडनोट डालें"
2747
+ insertEndnote: "एंडनोट डालें",
2748
+ insertTable: null
2659
2749
  },
2660
2750
  formattingBar: {
2661
2751
  groups: {
@@ -3105,7 +3195,10 @@ var hi_default = {
3105
3195
  },
3106
3196
  revisions: {
3107
3197
  paragraphMarkInserted: "अनुच्छेद चिह्न सम्मिलित किया गया",
3108
- runPropertiesChanged: "पाठ स्वरूपण बदला गया"
3198
+ runPropertiesChanged: "पाठ स्वरूपण बदला गया",
3199
+ paragraphMarkDeleted: null,
3200
+ paragraphMarkMovedFrom: null,
3201
+ paragraphMarkMovedTo: null
3109
3202
  },
3110
3203
  toc: {
3111
3204
  refresh: "पूरी तालिका अपडेट करें",
@@ -3222,7 +3315,9 @@ var hi_default = {
3222
3315
  showPane: "टिप्पणियाँ दिखाएँ",
3223
3316
  structural: "दस्तावेज़ संरचना बदली गई",
3224
3317
  deleteComment: "टिप्पणी हटाएँ",
3225
- discardChange: "परिवर्तन छोड़ें"
3318
+ discardChange: "परिवर्तन छोड़ें",
3319
+ showResolvedComment: null,
3320
+ resolved: null
3226
3321
  },
3227
3322
  imageAltText: {
3228
3323
  description: "विवरण",
@@ -3263,6 +3358,22 @@ var hi_default = {
3263
3358
  relativeToHorizontal: "सापेक्ष (क्षैतिज)",
3264
3359
  relativeToVertical: "सापेक्ष (लंबवत)",
3265
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
3266
3377
  }
3267
3378
  };
3268
3379
 
@@ -3301,7 +3412,8 @@ var id_default = {
3301
3412
  help: "Bantuan",
3302
3413
  reportIssue: "Laporkan Masalah",
3303
3414
  insertFootnote: "Sisipkan catatan kaki",
3304
- insertEndnote: "Sisipkan catatan akhir"
3415
+ insertEndnote: "Sisipkan catatan akhir",
3416
+ insertTable: null
3305
3417
  },
3306
3418
  formattingBar: {
3307
3419
  groups: {
@@ -3531,7 +3643,10 @@ var id_default = {
3531
3643
  },
3532
3644
  revisions: {
3533
3645
  paragraphMarkInserted: "Menyisipkan tanda paragraf",
3534
- runPropertiesChanged: "Format teks diubah"
3646
+ runPropertiesChanged: "Format teks diubah",
3647
+ paragraphMarkDeleted: null,
3648
+ paragraphMarkMovedFrom: null,
3649
+ paragraphMarkMovedTo: null
3535
3650
  },
3536
3651
  contextMenu: {
3537
3652
  ariaLabel: "Menu tindakan AI",
@@ -3868,7 +3983,9 @@ var id_default = {
3868
3983
  showPane: "Tampilkan komentar",
3869
3984
  structural: "Struktur dokumen diubah",
3870
3985
  deleteComment: "Hapus komentar",
3871
- discardChange: "Buang perubahan"
3986
+ discardChange: "Buang perubahan",
3987
+ showResolvedComment: null,
3988
+ resolved: null
3872
3989
  },
3873
3990
  imageAltText: {
3874
3991
  description: "Deskripsi",
@@ -3909,6 +4026,22 @@ var id_default = {
3909
4026
  relativeToHorizontal: "Relatif terhadap (horizontal)",
3910
4027
  relativeToVertical: "Relatif terhadap (vertikal)",
3911
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
3912
4045
  }
3913
4046
  };
3914
4047
 
@@ -3947,7 +4080,8 @@ var pl_default = {
3947
4080
  sectionBreakContinuous: "Podział sekcji (ciągły)",
3948
4081
  sectionBreakNextPage: "Podział sekcji (następna strona)",
3949
4082
  insertFootnote: "Wstaw przypis dolny",
3950
- insertEndnote: "Wstaw przypis końcowy"
4083
+ insertEndnote: "Wstaw przypis końcowy",
4084
+ insertTable: null
3951
4085
  },
3952
4086
  formattingBar: {
3953
4087
  groups: {
@@ -4397,7 +4531,10 @@ var pl_default = {
4397
4531
  },
4398
4532
  revisions: {
4399
4533
  paragraphMarkInserted: "Wstawiono znak akapitu",
4400
- runPropertiesChanged: "Zmieniono formatowanie tekstu"
4534
+ runPropertiesChanged: "Zmieniono formatowanie tekstu",
4535
+ paragraphMarkDeleted: null,
4536
+ paragraphMarkMovedFrom: null,
4537
+ paragraphMarkMovedTo: null
4401
4538
  },
4402
4539
  toc: {
4403
4540
  refresh: "Aktualizuj cały spis",
@@ -4514,7 +4651,9 @@ var pl_default = {
4514
4651
  showPane: "Pokaż komentarze",
4515
4652
  structural: "Zmieniono strukturę dokumentu",
4516
4653
  deleteComment: "Usuń komentarz",
4517
- discardChange: "Odrzuć zmianę"
4654
+ discardChange: "Odrzuć zmianę",
4655
+ showResolvedComment: null,
4656
+ resolved: null
4518
4657
  },
4519
4658
  imageAltText: {
4520
4659
  description: "Opis",
@@ -4555,6 +4694,22 @@ var pl_default = {
4555
4694
  relativeToHorizontal: "Względem (w poziomie)",
4556
4695
  relativeToVertical: "Względem (w pionie)",
4557
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
4558
4713
  }
4559
4714
  };
4560
4715
 
@@ -4593,7 +4748,8 @@ var pt_BR_default = {
4593
4748
  sectionBreakContinuous: "Quebra de seção (contínua)",
4594
4749
  sectionBreakNextPage: "Quebra de seção (próxima página)",
4595
4750
  insertFootnote: "Inserir nota de rodapé",
4596
- insertEndnote: "Inserir nota de fim"
4751
+ insertEndnote: "Inserir nota de fim",
4752
+ insertTable: null
4597
4753
  },
4598
4754
  formattingBar: {
4599
4755
  groups: {
@@ -5043,7 +5199,10 @@ var pt_BR_default = {
5043
5199
  },
5044
5200
  revisions: {
5045
5201
  paragraphMarkInserted: "Marca de parágrafo inserida",
5046
- runPropertiesChanged: "Formatação do texto alterada"
5202
+ runPropertiesChanged: "Formatação do texto alterada",
5203
+ paragraphMarkDeleted: null,
5204
+ paragraphMarkMovedFrom: null,
5205
+ paragraphMarkMovedTo: null
5047
5206
  },
5048
5207
  toc: {
5049
5208
  refresh: "Atualizar tabela inteira",
@@ -5160,7 +5319,9 @@ var pt_BR_default = {
5160
5319
  showPane: "Mostrar comentários",
5161
5320
  structural: "Estrutura do documento alterada",
5162
5321
  deleteComment: "Excluir comentário",
5163
- discardChange: "Descartar alteração"
5322
+ discardChange: "Descartar alteração",
5323
+ showResolvedComment: null,
5324
+ resolved: null
5164
5325
  },
5165
5326
  imageAltText: {
5166
5327
  description: "Descrição",
@@ -5201,6 +5362,22 @@ var pt_BR_default = {
5201
5362
  relativeToHorizontal: "Em relação a (horizontal)",
5202
5363
  relativeToVertical: "Em relação a (vertical)",
5203
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
5204
5381
  }
5205
5382
  };
5206
5383
 
@@ -5239,7 +5416,8 @@ var tr_default = {
5239
5416
  sectionBreakContinuous: "Bölüm sonu (sürekli)",
5240
5417
  sectionBreakNextPage: "Bölüm sonu (sonraki sayfa)",
5241
5418
  insertFootnote: "Dipnot ekle",
5242
- insertEndnote: "Sonnot ekle"
5419
+ insertEndnote: "Sonnot ekle",
5420
+ insertTable: null
5243
5421
  },
5244
5422
  formattingBar: {
5245
5423
  groups: {
@@ -5689,7 +5867,10 @@ var tr_default = {
5689
5867
  },
5690
5868
  revisions: {
5691
5869
  paragraphMarkInserted: "Paragraf işareti eklendi",
5692
- runPropertiesChanged: "Metin biçimlendirmesi değiştirildi"
5870
+ runPropertiesChanged: "Metin biçimlendirmesi değiştirildi",
5871
+ paragraphMarkDeleted: null,
5872
+ paragraphMarkMovedFrom: null,
5873
+ paragraphMarkMovedTo: null
5693
5874
  },
5694
5875
  toc: {
5695
5876
  refresh: "Tüm tabloyu güncelle",
@@ -5806,7 +5987,9 @@ var tr_default = {
5806
5987
  showPane: "Açıklamaları göster",
5807
5988
  structural: "Belge yapısı değiştirildi",
5808
5989
  deleteComment: "Açıklamayı sil",
5809
- discardChange: "Değişikliği at"
5990
+ discardChange: "Değişikliği at",
5991
+ showResolvedComment: null,
5992
+ resolved: null
5810
5993
  },
5811
5994
  imageAltText: {
5812
5995
  description: "Açıklama",
@@ -5847,6 +6030,22 @@ var tr_default = {
5847
6030
  relativeToHorizontal: "Göreli konum (yatay)",
5848
6031
  relativeToVertical: "Göreli konum (dikey)",
5849
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
5850
6049
  }
5851
6050
  };
5852
6051
 
@@ -5885,7 +6084,8 @@ var zh_CN_default = {
5885
6084
  sectionBreakContinuous: "分节符(连续)",
5886
6085
  sectionBreakNextPage: "分节符(下一页)",
5887
6086
  insertFootnote: "插入脚注",
5888
- insertEndnote: "插入尾注"
6087
+ insertEndnote: "插入尾注",
6088
+ insertTable: null
5889
6089
  },
5890
6090
  formattingBar: {
5891
6091
  groups: {
@@ -6335,7 +6535,10 @@ var zh_CN_default = {
6335
6535
  },
6336
6536
  revisions: {
6337
6537
  paragraphMarkInserted: "已插入段落标记",
6338
- runPropertiesChanged: "已更改文本格式"
6538
+ runPropertiesChanged: "已更改文本格式",
6539
+ paragraphMarkDeleted: null,
6540
+ paragraphMarkMovedFrom: null,
6541
+ paragraphMarkMovedTo: null
6339
6542
  },
6340
6543
  toc: {
6341
6544
  refresh: "更新整个目录",
@@ -6452,7 +6655,9 @@ var zh_CN_default = {
6452
6655
  showPane: "显示批注",
6453
6656
  structural: "已更改文档结构",
6454
6657
  deleteComment: "删除批注",
6455
- discardChange: "放弃更改"
6658
+ discardChange: "放弃更改",
6659
+ showResolvedComment: null,
6660
+ resolved: null
6456
6661
  },
6457
6662
  imageAltText: {
6458
6663
  description: "说明",
@@ -6493,6 +6698,22 @@ var zh_CN_default = {
6493
6698
  relativeToHorizontal: "相对于(水平)",
6494
6699
  relativeToVertical: "相对于(垂直)",
6495
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
6496
6717
  }
6497
6718
  };
6498
6719
 
@@ -6584,6 +6805,30 @@ function formatMessage(template, vars, lang) {
6584
6805
  return val !== void 0 ? String(val) : `{${key}}`;
6585
6806
  });
6586
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
+ }
6587
6832
  function createT(strings, lang = "en") {
6588
6833
  return (key, vars) => {
6589
6834
  const value = lookupKey(strings, key);
@@ -6601,6 +6846,7 @@ function createT(strings, lang = "en") {
6601
6846
  hi,
6602
6847
  id,
6603
6848
  locales,
6849
+ localizeDisabledReason,
6604
6850
  pl,
6605
6851
  ptBR,
6606
6852
  tr,