@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 CHANGED
@@ -60,7 +60,8 @@ var de_default = {
60
60
  sectionBreakContinuous: "Abschnittsumbruch (fortlaufend)",
61
61
  sectionBreakNextPage: "Abschnittsumbruch (nächste Seite)",
62
62
  insertFootnote: "Fußnote einfügen",
63
- insertEndnote: "Endnote einfügen"
63
+ insertEndnote: "Endnote einfügen",
64
+ insertTable: null
64
65
  },
65
66
  formattingBar: {
66
67
  groups: {
@@ -630,7 +631,9 @@ var de_default = {
630
631
  showPane: "Kommentare anzeigen",
631
632
  structural: "Dokumentstruktur geändert",
632
633
  deleteComment: "Kommentar löschen",
633
- discardChange: "Änderung verwerfen"
634
+ discardChange: "Änderung verwerfen",
635
+ showResolvedComment: null,
636
+ resolved: null
634
637
  },
635
638
  imageAltText: {
636
639
  description: "Beschreibung",
@@ -671,6 +674,22 @@ var de_default = {
671
674
  relativeToHorizontal: "Relativ zu (horizontal)",
672
675
  relativeToVertical: "Relativ zu (vertikal)",
673
676
  verticalOffset: "Vertikaler Versatz"
677
+ },
678
+ disabledReason: {
679
+ commentSelection: null,
680
+ drawingLocked: null,
681
+ editorNotReady: null,
682
+ imageSuggesting: null,
683
+ invalidValue: null,
684
+ mergeUnsupported: null,
685
+ noContentControl: null,
686
+ noDocument: null,
687
+ noDrawing: null,
688
+ notWired: null,
689
+ splitUnsupported: null,
690
+ trackedOnly: null,
691
+ unavailable: null,
692
+ viewing: null
674
693
  }
675
694
  };
676
695
 
package/dist/de.mjs CHANGED
@@ -33,7 +33,8 @@ var de_default = {
33
33
  sectionBreakContinuous: "Abschnittsumbruch (fortlaufend)",
34
34
  sectionBreakNextPage: "Abschnittsumbruch (nächste Seite)",
35
35
  insertFootnote: "Fußnote einfügen",
36
- insertEndnote: "Endnote einfügen"
36
+ insertEndnote: "Endnote einfügen",
37
+ insertTable: null
37
38
  },
38
39
  formattingBar: {
39
40
  groups: {
@@ -603,7 +604,9 @@ var de_default = {
603
604
  showPane: "Kommentare anzeigen",
604
605
  structural: "Dokumentstruktur geändert",
605
606
  deleteComment: "Kommentar löschen",
606
- discardChange: "Änderung verwerfen"
607
+ discardChange: "Änderung verwerfen",
608
+ showResolvedComment: null,
609
+ resolved: null
607
610
  },
608
611
  imageAltText: {
609
612
  description: "Beschreibung",
@@ -644,6 +647,22 @@ var de_default = {
644
647
  relativeToHorizontal: "Relativ zu (horizontal)",
645
648
  relativeToVertical: "Relativ zu (vertikal)",
646
649
  verticalOffset: "Vertikaler Versatz"
650
+ },
651
+ disabledReason: {
652
+ commentSelection: null,
653
+ drawingLocked: null,
654
+ editorNotReady: null,
655
+ imageSuggesting: null,
656
+ invalidValue: null,
657
+ mergeUnsupported: null,
658
+ noContentControl: null,
659
+ noDocument: null,
660
+ noDrawing: null,
661
+ notWired: null,
662
+ splitUnsupported: null,
663
+ trackedOnly: null,
664
+ unavailable: null,
665
+ viewing: null
647
666
  }
648
667
  };
649
668
 
package/dist/en.js CHANGED
@@ -35,6 +35,22 @@ var en_default = {
35
35
  comment: "Comment",
36
36
  dismiss: "Dismiss"
37
37
  },
38
+ disabledReason: {
39
+ editorNotReady: "The editor is not ready",
40
+ notWired: "This control is not connected to an editor command",
41
+ viewing: "This document is open for viewing",
42
+ trackedOnly: "This document permits edits only as tracked changes",
43
+ noDocument: "No document is loaded",
44
+ noContentControl: "No content control is selected",
45
+ noDrawing: "No image is selected",
46
+ drawingLocked: "This image is locked",
47
+ commentSelection: "Select a range before adding a comment",
48
+ mergeUnsupported: "Cell merge is not supported",
49
+ splitUnsupported: "Cell split is not supported",
50
+ imageSuggesting: "Image property edits are unavailable in suggesting mode",
51
+ invalidValue: "This value is not valid for the command",
52
+ unavailable: "This command is unavailable"
53
+ },
38
54
  toolbar: {
39
55
  ariaLabel: "Formatting toolbar",
40
56
  file: "File",
@@ -51,6 +67,7 @@ var en_default = {
51
67
  rightToLeft: "Right-to-left text",
52
68
  image: "Image",
53
69
  table: "Table",
70
+ insertTable: "Insert table",
54
71
  break: "Break",
55
72
  insertFootnote: "Insert Footnote",
56
73
  insertEndnote: "Insert Endnote",
@@ -668,6 +685,8 @@ var en_default = {
668
685
  structural: "Changed the document structure",
669
686
  replyRefused: "Could not post the reply",
670
687
  showPane: "Show comments",
688
+ resolved: "Resolved",
689
+ showResolvedComment: "Show resolved comment",
671
690
  replaced: "Replaced",
672
691
  replacedWith: "with",
673
692
  commentRefused: "Could not add the comment"
package/dist/en.mjs CHANGED
@@ -8,6 +8,22 @@ var en_default = {
8
8
  comment: "Comment",
9
9
  dismiss: "Dismiss"
10
10
  },
11
+ disabledReason: {
12
+ editorNotReady: "The editor is not ready",
13
+ notWired: "This control is not connected to an editor command",
14
+ viewing: "This document is open for viewing",
15
+ trackedOnly: "This document permits edits only as tracked changes",
16
+ noDocument: "No document is loaded",
17
+ noContentControl: "No content control is selected",
18
+ noDrawing: "No image is selected",
19
+ drawingLocked: "This image is locked",
20
+ commentSelection: "Select a range before adding a comment",
21
+ mergeUnsupported: "Cell merge is not supported",
22
+ splitUnsupported: "Cell split is not supported",
23
+ imageSuggesting: "Image property edits are unavailable in suggesting mode",
24
+ invalidValue: "This value is not valid for the command",
25
+ unavailable: "This command is unavailable"
26
+ },
11
27
  toolbar: {
12
28
  ariaLabel: "Formatting toolbar",
13
29
  file: "File",
@@ -24,6 +40,7 @@ var en_default = {
24
40
  rightToLeft: "Right-to-left text",
25
41
  image: "Image",
26
42
  table: "Table",
43
+ insertTable: "Insert table",
27
44
  break: "Break",
28
45
  insertFootnote: "Insert Footnote",
29
46
  insertEndnote: "Insert Endnote",
@@ -641,6 +658,8 @@ var en_default = {
641
658
  structural: "Changed the document structure",
642
659
  replyRefused: "Could not post the reply",
643
660
  showPane: "Show comments",
661
+ resolved: "Resolved",
662
+ showResolvedComment: "Show resolved comment",
644
663
  replaced: "Replaced",
645
664
  replacedWith: "with",
646
665
  commentRefused: "Could not add the comment"
package/dist/fr.js CHANGED
@@ -60,7 +60,8 @@ var fr_default = {
60
60
  sectionBreakContinuous: "Saut de section (continu)",
61
61
  sectionBreakNextPage: "Saut de section (page suivante)",
62
62
  insertFootnote: "Insérer une note de bas de page",
63
- insertEndnote: "Insérer une note de fin"
63
+ insertEndnote: "Insérer une note de fin",
64
+ insertTable: null
64
65
  },
65
66
  formattingBar: {
66
67
  groups: {
@@ -630,7 +631,9 @@ var fr_default = {
630
631
  showPane: "Afficher les commentaires",
631
632
  structural: "Structure du document modifiée",
632
633
  deleteComment: "Supprimer le commentaire",
633
- discardChange: "Ignorer la modification"
634
+ discardChange: "Ignorer la modification",
635
+ showResolvedComment: null,
636
+ resolved: null
634
637
  },
635
638
  imageAltText: {
636
639
  description: "Description",
@@ -671,6 +674,22 @@ var fr_default = {
671
674
  relativeToHorizontal: "Par rapport à (horizontal)",
672
675
  relativeToVertical: "Par rapport à (vertical)",
673
676
  verticalOffset: "Décalage vertical"
677
+ },
678
+ disabledReason: {
679
+ commentSelection: null,
680
+ drawingLocked: null,
681
+ editorNotReady: null,
682
+ imageSuggesting: null,
683
+ invalidValue: null,
684
+ mergeUnsupported: null,
685
+ noContentControl: null,
686
+ noDocument: null,
687
+ noDrawing: null,
688
+ notWired: null,
689
+ splitUnsupported: null,
690
+ trackedOnly: null,
691
+ unavailable: null,
692
+ viewing: null
674
693
  }
675
694
  };
676
695
 
package/dist/fr.mjs CHANGED
@@ -33,7 +33,8 @@ var fr_default = {
33
33
  sectionBreakContinuous: "Saut de section (continu)",
34
34
  sectionBreakNextPage: "Saut de section (page suivante)",
35
35
  insertFootnote: "Insérer une note de bas de page",
36
- insertEndnote: "Insérer une note de fin"
36
+ insertEndnote: "Insérer une note de fin",
37
+ insertTable: null
37
38
  },
38
39
  formattingBar: {
39
40
  groups: {
@@ -603,7 +604,9 @@ var fr_default = {
603
604
  showPane: "Afficher les commentaires",
604
605
  structural: "Structure du document modifiée",
605
606
  deleteComment: "Supprimer le commentaire",
606
- discardChange: "Ignorer la modification"
607
+ discardChange: "Ignorer la modification",
608
+ showResolvedComment: null,
609
+ resolved: null
607
610
  },
608
611
  imageAltText: {
609
612
  description: "Description",
@@ -644,6 +647,22 @@ var fr_default = {
644
647
  relativeToHorizontal: "Par rapport à (horizontal)",
645
648
  relativeToVertical: "Par rapport à (vertical)",
646
649
  verticalOffset: "Décalage vertical"
650
+ },
651
+ disabledReason: {
652
+ commentSelection: null,
653
+ drawingLocked: null,
654
+ editorNotReady: null,
655
+ imageSuggesting: null,
656
+ invalidValue: null,
657
+ mergeUnsupported: null,
658
+ noContentControl: null,
659
+ noDocument: null,
660
+ noDrawing: null,
661
+ notWired: null,
662
+ splitUnsupported: null,
663
+ trackedOnly: null,
664
+ unavailable: null,
665
+ viewing: null
647
666
  }
648
667
  };
649
668
 
package/dist/he.js CHANGED
@@ -60,7 +60,8 @@ var he_default = {
60
60
  sectionBreakContinuous: "מעבר מקטע (רציף)",
61
61
  sectionBreakNextPage: "מעבר מקטע (עמוד הבא)",
62
62
  insertFootnote: "הוסף הערת שוליים",
63
- insertEndnote: "הוסף הערת סוף"
63
+ insertEndnote: "הוסף הערת סוף",
64
+ insertTable: null
64
65
  },
65
66
  formattingBar: {
66
67
  groups: {
@@ -630,7 +631,9 @@ var he_default = {
630
631
  showPane: "הצג הערות",
631
632
  structural: "מבנה המסמך שונה",
632
633
  deleteComment: "מחק הערה",
633
- discardChange: "בטל שינוי"
634
+ discardChange: "בטל שינוי",
635
+ showResolvedComment: null,
636
+ resolved: null
634
637
  },
635
638
  imageAltText: {
636
639
  description: "תיאור",
@@ -671,6 +674,22 @@ var he_default = {
671
674
  relativeToHorizontal: "ביחס ל (אופקי)",
672
675
  relativeToVertical: "ביחס ל (אנכי)",
673
676
  verticalOffset: "היסט אנכי"
677
+ },
678
+ disabledReason: {
679
+ commentSelection: null,
680
+ drawingLocked: null,
681
+ editorNotReady: null,
682
+ imageSuggesting: null,
683
+ invalidValue: null,
684
+ mergeUnsupported: null,
685
+ noContentControl: null,
686
+ noDocument: null,
687
+ noDrawing: null,
688
+ notWired: null,
689
+ splitUnsupported: null,
690
+ trackedOnly: null,
691
+ unavailable: null,
692
+ viewing: null
674
693
  }
675
694
  };
676
695
 
package/dist/he.mjs CHANGED
@@ -33,7 +33,8 @@ var he_default = {
33
33
  sectionBreakContinuous: "מעבר מקטע (רציף)",
34
34
  sectionBreakNextPage: "מעבר מקטע (עמוד הבא)",
35
35
  insertFootnote: "הוסף הערת שוליים",
36
- insertEndnote: "הוסף הערת סוף"
36
+ insertEndnote: "הוסף הערת סוף",
37
+ insertTable: null
37
38
  },
38
39
  formattingBar: {
39
40
  groups: {
@@ -603,7 +604,9 @@ var he_default = {
603
604
  showPane: "הצג הערות",
604
605
  structural: "מבנה המסמך שונה",
605
606
  deleteComment: "מחק הערה",
606
- discardChange: "בטל שינוי"
607
+ discardChange: "בטל שינוי",
608
+ showResolvedComment: null,
609
+ resolved: null
607
610
  },
608
611
  imageAltText: {
609
612
  description: "תיאור",
@@ -644,6 +647,22 @@ var he_default = {
644
647
  relativeToHorizontal: "ביחס ל (אופקי)",
645
648
  relativeToVertical: "ביחס ל (אנכי)",
646
649
  verticalOffset: "היסט אנכי"
650
+ },
651
+ disabledReason: {
652
+ commentSelection: null,
653
+ drawingLocked: null,
654
+ editorNotReady: null,
655
+ imageSuggesting: null,
656
+ invalidValue: null,
657
+ mergeUnsupported: null,
658
+ noContentControl: null,
659
+ noDocument: null,
660
+ noDrawing: null,
661
+ notWired: null,
662
+ splitUnsupported: null,
663
+ trackedOnly: null,
664
+ unavailable: null,
665
+ viewing: null
647
666
  }
648
667
  };
649
668
 
package/dist/hi.js CHANGED
@@ -60,7 +60,8 @@ var hi_default = {
60
60
  sectionBreakContinuous: "अनुभाग ब्रेक (निरंतर)",
61
61
  sectionBreakNextPage: "अनुभाग ब्रेक (अगला पृष्ठ)",
62
62
  insertFootnote: "फ़ुटनोट डालें",
63
- insertEndnote: "एंडनोट डालें"
63
+ insertEndnote: "एंडनोट डालें",
64
+ insertTable: null
64
65
  },
65
66
  formattingBar: {
66
67
  groups: {
@@ -630,7 +631,9 @@ var hi_default = {
630
631
  showPane: "टिप्पणियाँ दिखाएँ",
631
632
  structural: "दस्तावेज़ संरचना बदली गई",
632
633
  deleteComment: "टिप्पणी हटाएँ",
633
- discardChange: "परिवर्तन छोड़ें"
634
+ discardChange: "परिवर्तन छोड़ें",
635
+ showResolvedComment: null,
636
+ resolved: null
634
637
  },
635
638
  imageAltText: {
636
639
  description: "विवरण",
@@ -671,6 +674,22 @@ var hi_default = {
671
674
  relativeToHorizontal: "सापेक्ष (क्षैतिज)",
672
675
  relativeToVertical: "सापेक्ष (लंबवत)",
673
676
  verticalOffset: "लंबवत ऑफ़सेट"
677
+ },
678
+ disabledReason: {
679
+ commentSelection: null,
680
+ drawingLocked: null,
681
+ editorNotReady: null,
682
+ imageSuggesting: null,
683
+ invalidValue: null,
684
+ mergeUnsupported: null,
685
+ noContentControl: null,
686
+ noDocument: null,
687
+ noDrawing: null,
688
+ notWired: null,
689
+ splitUnsupported: null,
690
+ trackedOnly: null,
691
+ unavailable: null,
692
+ viewing: null
674
693
  }
675
694
  };
676
695
 
package/dist/hi.mjs CHANGED
@@ -33,7 +33,8 @@ var hi_default = {
33
33
  sectionBreakContinuous: "अनुभाग ब्रेक (निरंतर)",
34
34
  sectionBreakNextPage: "अनुभाग ब्रेक (अगला पृष्ठ)",
35
35
  insertFootnote: "फ़ुटनोट डालें",
36
- insertEndnote: "एंडनोट डालें"
36
+ insertEndnote: "एंडनोट डालें",
37
+ insertTable: null
37
38
  },
38
39
  formattingBar: {
39
40
  groups: {
@@ -603,7 +604,9 @@ var hi_default = {
603
604
  showPane: "टिप्पणियाँ दिखाएँ",
604
605
  structural: "दस्तावेज़ संरचना बदली गई",
605
606
  deleteComment: "टिप्पणी हटाएँ",
606
- discardChange: "परिवर्तन छोड़ें"
607
+ discardChange: "परिवर्तन छोड़ें",
608
+ showResolvedComment: null,
609
+ resolved: null
607
610
  },
608
611
  imageAltText: {
609
612
  description: "विवरण",
@@ -644,6 +647,22 @@ var hi_default = {
644
647
  relativeToHorizontal: "सापेक्ष (क्षैतिज)",
645
648
  relativeToVertical: "सापेक्ष (लंबवत)",
646
649
  verticalOffset: "लंबवत ऑफ़सेट"
650
+ },
651
+ disabledReason: {
652
+ commentSelection: null,
653
+ drawingLocked: null,
654
+ editorNotReady: null,
655
+ imageSuggesting: null,
656
+ invalidValue: null,
657
+ mergeUnsupported: null,
658
+ noContentControl: null,
659
+ noDocument: null,
660
+ noDrawing: null,
661
+ notWired: null,
662
+ splitUnsupported: null,
663
+ trackedOnly: null,
664
+ unavailable: null,
665
+ viewing: null
647
666
  }
648
667
  };
649
668
 
package/dist/id.js CHANGED
@@ -60,7 +60,8 @@ var id_default = {
60
60
  help: "Bantuan",
61
61
  reportIssue: "Laporkan Masalah",
62
62
  insertFootnote: "Sisipkan catatan kaki",
63
- insertEndnote: "Sisipkan catatan akhir"
63
+ insertEndnote: "Sisipkan catatan akhir",
64
+ insertTable: null
64
65
  },
65
66
  formattingBar: {
66
67
  groups: {
@@ -630,7 +631,9 @@ var id_default = {
630
631
  showPane: "Tampilkan komentar",
631
632
  structural: "Struktur dokumen diubah",
632
633
  deleteComment: "Hapus komentar",
633
- discardChange: "Buang perubahan"
634
+ discardChange: "Buang perubahan",
635
+ showResolvedComment: null,
636
+ resolved: null
634
637
  },
635
638
  imageAltText: {
636
639
  description: "Deskripsi",
@@ -671,6 +674,22 @@ var id_default = {
671
674
  relativeToHorizontal: "Relatif terhadap (horizontal)",
672
675
  relativeToVertical: "Relatif terhadap (vertikal)",
673
676
  verticalOffset: "Offset vertikal"
677
+ },
678
+ disabledReason: {
679
+ commentSelection: null,
680
+ drawingLocked: null,
681
+ editorNotReady: null,
682
+ imageSuggesting: null,
683
+ invalidValue: null,
684
+ mergeUnsupported: null,
685
+ noContentControl: null,
686
+ noDocument: null,
687
+ noDrawing: null,
688
+ notWired: null,
689
+ splitUnsupported: null,
690
+ trackedOnly: null,
691
+ unavailable: null,
692
+ viewing: null
674
693
  }
675
694
  };
676
695
 
package/dist/id.mjs CHANGED
@@ -33,7 +33,8 @@ var id_default = {
33
33
  help: "Bantuan",
34
34
  reportIssue: "Laporkan Masalah",
35
35
  insertFootnote: "Sisipkan catatan kaki",
36
- insertEndnote: "Sisipkan catatan akhir"
36
+ insertEndnote: "Sisipkan catatan akhir",
37
+ insertTable: null
37
38
  },
38
39
  formattingBar: {
39
40
  groups: {
@@ -603,7 +604,9 @@ var id_default = {
603
604
  showPane: "Tampilkan komentar",
604
605
  structural: "Struktur dokumen diubah",
605
606
  deleteComment: "Hapus komentar",
606
- discardChange: "Buang perubahan"
607
+ discardChange: "Buang perubahan",
608
+ showResolvedComment: null,
609
+ resolved: null
607
610
  },
608
611
  imageAltText: {
609
612
  description: "Deskripsi",
@@ -644,6 +647,22 @@ var id_default = {
644
647
  relativeToHorizontal: "Relatif terhadap (horizontal)",
645
648
  relativeToVertical: "Relatif terhadap (vertikal)",
646
649
  verticalOffset: "Offset vertikal"
650
+ },
651
+ disabledReason: {
652
+ commentSelection: null,
653
+ drawingLocked: null,
654
+ editorNotReady: null,
655
+ imageSuggesting: null,
656
+ invalidValue: null,
657
+ mergeUnsupported: null,
658
+ noContentControl: null,
659
+ noDocument: null,
660
+ noDrawing: null,
661
+ notWired: null,
662
+ splitUnsupported: null,
663
+ trackedOnly: null,
664
+ unavailable: null,
665
+ viewing: null
647
666
  }
648
667
  };
649
668
 
package/dist/index.d.mts CHANGED
@@ -32,6 +32,22 @@ var common = {
32
32
  comment: "Comment",
33
33
  dismiss: "Dismiss"
34
34
  };
35
+ var disabledReason = {
36
+ editorNotReady: "The editor is not ready",
37
+ notWired: "This control is not connected to an editor command",
38
+ viewing: "This document is open for viewing",
39
+ trackedOnly: "This document permits edits only as tracked changes",
40
+ noDocument: "No document is loaded",
41
+ noContentControl: "No content control is selected",
42
+ noDrawing: "No image is selected",
43
+ drawingLocked: "This image is locked",
44
+ commentSelection: "Select a range before adding a comment",
45
+ mergeUnsupported: "Cell merge is not supported",
46
+ splitUnsupported: "Cell split is not supported",
47
+ imageSuggesting: "Image property edits are unavailable in suggesting mode",
48
+ invalidValue: "This value is not valid for the command",
49
+ unavailable: "This command is unavailable"
50
+ };
35
51
  var toolbar = {
36
52
  ariaLabel: "Formatting toolbar",
37
53
  file: "File",
@@ -48,6 +64,7 @@ var toolbar = {
48
64
  rightToLeft: "Right-to-left text",
49
65
  image: "Image",
50
66
  table: "Table",
67
+ insertTable: "Insert table",
51
68
  "break": "Break",
52
69
  insertFootnote: "Insert Footnote",
53
70
  insertEndnote: "Insert Endnote",
@@ -665,6 +682,8 @@ var review = {
665
682
  structural: "Changed the document structure",
666
683
  replyRefused: "Could not post the reply",
667
684
  showPane: "Show comments",
685
+ resolved: "Resolved",
686
+ showResolvedComment: "Show resolved comment",
668
687
  replaced: "Replaced",
669
688
  replacedWith: "with",
670
689
  commentRefused: "Could not add the comment"
@@ -672,6 +691,7 @@ var review = {
672
691
  var enJson = {
673
692
  _lang: _lang,
674
693
  common: common,
694
+ disabledReason: disabledReason,
675
695
  toolbar: toolbar,
676
696
  toc: toc,
677
697
  formattingBar: formattingBar,
@@ -848,6 +868,14 @@ declare function deepMerge(base: AnyRecord, override: AnyRecord | undefined): An
848
868
  * @public
849
869
  */
850
870
  type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) => string;
871
+ /**
872
+ * Translate a known engine refusal for adapter chrome.
873
+ *
874
+ * Unknown diagnostics stay exact, so integrations never lose the engine's explanation.
875
+ *
876
+ * @public
877
+ */
878
+ declare function localizeDisabledReason(reason: string | null, t: TFunction): string | null;
851
879
  /**
852
880
  * Build a typed `t(key, vars?)` function from a merged locale.
853
881
  *
@@ -875,4 +903,4 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
875
903
  */
876
904
  declare function createT(strings: LocaleStrings, lang?: string): TFunction;
877
905
 
878
- export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, fr, he, hi, id, locales, pl, ptBR, tr, zhCN };
906
+ export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, fr, he, hi, id, locales, localizeDisabledReason, pl, ptBR, tr, zhCN };
package/dist/index.d.ts CHANGED
@@ -32,6 +32,22 @@ var common = {
32
32
  comment: "Comment",
33
33
  dismiss: "Dismiss"
34
34
  };
35
+ var disabledReason = {
36
+ editorNotReady: "The editor is not ready",
37
+ notWired: "This control is not connected to an editor command",
38
+ viewing: "This document is open for viewing",
39
+ trackedOnly: "This document permits edits only as tracked changes",
40
+ noDocument: "No document is loaded",
41
+ noContentControl: "No content control is selected",
42
+ noDrawing: "No image is selected",
43
+ drawingLocked: "This image is locked",
44
+ commentSelection: "Select a range before adding a comment",
45
+ mergeUnsupported: "Cell merge is not supported",
46
+ splitUnsupported: "Cell split is not supported",
47
+ imageSuggesting: "Image property edits are unavailable in suggesting mode",
48
+ invalidValue: "This value is not valid for the command",
49
+ unavailable: "This command is unavailable"
50
+ };
35
51
  var toolbar = {
36
52
  ariaLabel: "Formatting toolbar",
37
53
  file: "File",
@@ -48,6 +64,7 @@ var toolbar = {
48
64
  rightToLeft: "Right-to-left text",
49
65
  image: "Image",
50
66
  table: "Table",
67
+ insertTable: "Insert table",
51
68
  "break": "Break",
52
69
  insertFootnote: "Insert Footnote",
53
70
  insertEndnote: "Insert Endnote",
@@ -665,6 +682,8 @@ var review = {
665
682
  structural: "Changed the document structure",
666
683
  replyRefused: "Could not post the reply",
667
684
  showPane: "Show comments",
685
+ resolved: "Resolved",
686
+ showResolvedComment: "Show resolved comment",
668
687
  replaced: "Replaced",
669
688
  replacedWith: "with",
670
689
  commentRefused: "Could not add the comment"
@@ -672,6 +691,7 @@ var review = {
672
691
  var enJson = {
673
692
  _lang: _lang,
674
693
  common: common,
694
+ disabledReason: disabledReason,
675
695
  toolbar: toolbar,
676
696
  toc: toc,
677
697
  formattingBar: formattingBar,
@@ -848,6 +868,14 @@ declare function deepMerge(base: AnyRecord, override: AnyRecord | undefined): An
848
868
  * @public
849
869
  */
850
870
  type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) => string;
871
+ /**
872
+ * Translate a known engine refusal for adapter chrome.
873
+ *
874
+ * Unknown diagnostics stay exact, so integrations never lose the engine's explanation.
875
+ *
876
+ * @public
877
+ */
878
+ declare function localizeDisabledReason(reason: string | null, t: TFunction): string | null;
851
879
  /**
852
880
  * Build a typed `t(key, vars?)` function from a merged locale.
853
881
  *
@@ -875,4 +903,4 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
875
903
  */
876
904
  declare function createT(strings: LocaleStrings, lang?: string): TFunction;
877
905
 
878
- export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, fr, he, hi, id, locales, pl, ptBR, tr, zhCN };
906
+ export { type DeepPartial, type LocaleCode, type LocaleStrings, type PartialLocaleStrings, type TFunction, type TranslationKey, type Translations, createT, de, deepMerge, en, fr, he, hi, id, locales, localizeDisabledReason, pl, ptBR, tr, zhCN };