@docx-editor.dev/i18n 2.9.2 → 2.11.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
@@ -31,6 +31,7 @@ __export(index_exports, {
31
31
  locales: () => locales,
32
32
  localizeDisabledReason: () => localizeDisabledReason,
33
33
  pl: () => pl,
34
+ platformShortcut: () => platformShortcut,
34
35
  ptBR: () => ptBR,
35
36
  tr: () => tr,
36
37
  zhCN: () => zhCN
@@ -54,18 +55,25 @@ var en_default = {
54
55
  trackedOnly: "This document permits edits only as tracked changes",
55
56
  noDocument: "No document is loaded",
56
57
  noContentControl: "No content control is selected",
58
+ noCopiedFormatting: "Copy formatting from somewhere first",
57
59
  noDrawing: "No image is selected",
58
60
  drawingLocked: "This image is locked",
59
61
  commentSelection: "Select a range before adding a comment",
60
62
  mergeUnsupported: "Cell merge is not supported",
61
63
  splitUnsupported: "Cell split is not supported",
62
- imageSuggesting: "Image property edits are unavailable in suggesting mode",
64
+ imageSuggesting: "Image changes are unavailable in suggesting mode",
63
65
  invalidValue: "This value is not valid for the command",
64
66
  unavailable: "This command is unavailable",
65
67
  bodyOnlySectionBreak: "Section breaks go in the document body.",
66
68
  bodyOnlyToc: "A table of contents goes in the document body.",
67
69
  bodyOnlyNote: "Footnotes and endnotes are added from the document body.",
68
- furnitureOnlyPageField: "Open a header or footer to insert a page number."
70
+ furnitureOnlyPageField: "Open a header or footer to insert a page number.",
71
+ suggestingSectionBreak: "Turn off suggesting to insert this section break. It changes where the next section starts, which can't be suggested.",
72
+ tableCellSectionBreak: "Section breaks go outside a table.",
73
+ lockedSectionBreak: "A locked or linked content control holds the next section, so this break can't change it.",
74
+ lockedContentBreak: "A content control locks this text, so you can't break a section here.",
75
+ nothingToCopyFormatting: "Select some text to copy its formatting",
76
+ nothingToPaint: "Select some text to paint"
69
77
  },
70
78
  toolbar: {
71
79
  ariaLabel: "Formatting toolbar",
@@ -109,6 +117,7 @@ var en_default = {
109
117
  script: "Script",
110
118
  alignment: "Alignment",
111
119
  listFormatting: "List formatting",
120
+ format: "Format",
112
121
  image: "Image",
113
122
  table: "Table"
114
123
  },
@@ -136,6 +145,8 @@ var en_default = {
136
145
  imageWrap: "Wrap text",
137
146
  altText: "Alt text",
138
147
  clearFormatting: "Clear formatting",
148
+ formatPainter: "Format painter",
149
+ formatPainterShortcut: "Format painter (Ctrl+Alt+C, Ctrl+Alt+V)",
139
150
  commentsAndChanges: "Comments & Changes",
140
151
  more: "More",
141
152
  unavailableInPreview: "Not available in this preview build"
@@ -399,6 +410,12 @@ var en_default = {
399
410
  copyShortcut: "Ctrl+C",
400
411
  paste: "Paste",
401
412
  pasteShortcut: "Ctrl+V",
413
+ pasteWithoutFormatting: "Paste without formatting",
414
+ pasteWithoutFormattingShortcut: "Ctrl+Shift+V",
415
+ copyFormatting: "Copy formatting",
416
+ copyFormattingShortcut: "Ctrl+Alt+C",
417
+ pasteFormatting: "Paste formatting",
418
+ pasteFormattingShortcut: "Ctrl+Alt+V",
402
419
  delete: "Delete",
403
420
  deleteShortcut: "Del",
404
421
  selectAll: "Select All",
@@ -753,6 +770,60 @@ var en_default = {
753
770
  viewing: "Viewing",
754
771
  viewingHint: "Read-only, no edits"
755
772
  },
773
+ collaboration: {
774
+ participants: "People in this document",
775
+ moreParticipants: "{count, plural, one {# more person} other {# more people}}"
776
+ },
777
+ collaborationDemo: {
778
+ title: "Peer-to-peer collaboration proof",
779
+ subtitle: "Run this page on two machines and open the same room link.",
780
+ name: "Display name",
781
+ room: "Room ID or link",
782
+ create: "Create room",
783
+ join: "Join room",
784
+ share: "Share this join link",
785
+ copy: "Copy link",
786
+ copied: "Link copied",
787
+ connection: "Room status",
788
+ peers: "Connected participants",
789
+ disconnect: "Disconnect",
790
+ reconnect: "Reconnect",
791
+ undo: "Undo",
792
+ redo: "Redo",
793
+ save: "Save DOCX",
794
+ scope: "This room replicates the whole document: text, formatting, tables, headers, and footers.",
795
+ warning: "Public signaling is for testing. Room links are not access control, storage, or a connectivity guarantee.",
796
+ failed: "The collaboration proof could not start.",
797
+ connect: "Connect",
798
+ online: "online",
799
+ dialogTitle: "Collaborate on this document",
800
+ dialogSubtitle: "Share this document or join a room someone sent you.",
801
+ roomTitle: "Collaboration room",
802
+ roomSubtitle: "Everyone here sees document changes and live cursors.",
803
+ shareDocument: "Share this document",
804
+ shareDescription: "Create a room and copy an invite link.",
805
+ joinExisting: "Join an existing room",
806
+ joinDescription: "Open a room link from another collaborator.",
807
+ inviteLink: "Invite link",
808
+ connected: "Connected",
809
+ reconnecting: "Reconnecting",
810
+ outOfSync: "Out of sync. Reload to rejoin.",
811
+ outOfSyncShort: "Out of sync",
812
+ person: "person",
813
+ people: "people",
814
+ you: "You",
815
+ leave: "Leave room",
816
+ done: "Done",
817
+ close: "Close collaboration dialog",
818
+ back: "Back",
819
+ creating: "Creating room…",
820
+ connecting: "Connecting…",
821
+ enterRoom: "Enter a room link or room ID.",
822
+ connectFailed: "Could not connect to the room.",
823
+ leaveFailed: "Could not leave the room.",
824
+ guest: "Guest",
825
+ caretPages: "{count, plural, one {# page} other {# pages}}"
826
+ },
756
827
  review: {
757
828
  ariaLabel: "Review",
758
829
  empty: "No changes or comments",
@@ -825,7 +896,8 @@ var de_default = {
825
896
  alignment: "Ausrichtung",
826
897
  listFormatting: "Listenformatierung",
827
898
  image: "Grafik",
828
- table: "Tabelle"
899
+ table: "Tabelle",
900
+ format: null
829
901
  },
830
902
  undo: "Rückgängig",
831
903
  undoShortcut: "Rückgängig (Strg+Z)",
@@ -853,7 +925,9 @@ var de_default = {
853
925
  unavailableInPreview: "In dieser Vorschauversion nicht verfügbar",
854
926
  more: "Mehr",
855
927
  altText: "Alternativtext",
856
- imageWrap: "Textumbruch"
928
+ imageWrap: "Textumbruch",
929
+ formatPainter: null,
930
+ formatPainterShortcut: null
857
931
  },
858
932
  alignment: {
859
933
  alignLeft: "Linksbündig",
@@ -1112,7 +1186,13 @@ var de_default = {
1112
1186
  selectAll: "Alles markieren",
1113
1187
  selectAllShortcut: "Strg+A",
1114
1188
  editCustomNode: "{label} bearbeiten",
1115
- removeCustomNode: "{label} entfernen"
1189
+ removeCustomNode: "{label} entfernen",
1190
+ pasteWithoutFormatting: null,
1191
+ pasteWithoutFormattingShortcut: null,
1192
+ copyFormatting: null,
1193
+ copyFormattingShortcut: null,
1194
+ pasteFormatting: null,
1195
+ pasteFormattingShortcut: null
1116
1196
  },
1117
1197
  documentOutline: {
1118
1198
  ariaLabel: "Dokumentgliederung",
@@ -1503,7 +1583,14 @@ var de_default = {
1503
1583
  bodyOnlyNote: null,
1504
1584
  bodyOnlySectionBreak: null,
1505
1585
  bodyOnlyToc: null,
1506
- furnitureOnlyPageField: null
1586
+ furnitureOnlyPageField: null,
1587
+ suggestingSectionBreak: null,
1588
+ tableCellSectionBreak: null,
1589
+ lockedSectionBreak: null,
1590
+ lockedContentBreak: null,
1591
+ noCopiedFormatting: null,
1592
+ nothingToCopyFormatting: null,
1593
+ nothingToPaint: null
1507
1594
  },
1508
1595
  equationPopup: {
1509
1596
  apply: null,
@@ -1512,6 +1599,60 @@ var de_default = {
1512
1599
  placeholder: null,
1513
1600
  refused: null,
1514
1601
  title: null
1602
+ },
1603
+ collaborationDemo: {
1604
+ back: null,
1605
+ close: null,
1606
+ connect: null,
1607
+ connectFailed: null,
1608
+ connected: null,
1609
+ connecting: null,
1610
+ connection: null,
1611
+ copied: null,
1612
+ copy: null,
1613
+ create: null,
1614
+ creating: null,
1615
+ dialogSubtitle: null,
1616
+ dialogTitle: null,
1617
+ disconnect: null,
1618
+ done: null,
1619
+ enterRoom: null,
1620
+ failed: null,
1621
+ guest: null,
1622
+ inviteLink: null,
1623
+ join: null,
1624
+ joinDescription: null,
1625
+ joinExisting: null,
1626
+ leave: null,
1627
+ leaveFailed: null,
1628
+ name: null,
1629
+ online: null,
1630
+ peers: null,
1631
+ people: null,
1632
+ person: null,
1633
+ reconnect: null,
1634
+ reconnecting: null,
1635
+ redo: null,
1636
+ room: null,
1637
+ roomSubtitle: null,
1638
+ roomTitle: null,
1639
+ save: null,
1640
+ scope: null,
1641
+ share: null,
1642
+ shareDescription: null,
1643
+ shareDocument: null,
1644
+ subtitle: null,
1645
+ title: null,
1646
+ undo: null,
1647
+ warning: null,
1648
+ you: null,
1649
+ outOfSync: null,
1650
+ outOfSyncShort: null,
1651
+ caretPages: null
1652
+ },
1653
+ collaboration: {
1654
+ moreParticipants: null,
1655
+ participants: null
1515
1656
  }
1516
1657
  };
1517
1658
 
@@ -1564,7 +1705,8 @@ var fr_default = {
1564
1705
  alignment: "Alignement",
1565
1706
  listFormatting: "Format de liste",
1566
1707
  image: "Image",
1567
- table: "Tableau"
1708
+ table: "Tableau",
1709
+ format: null
1568
1710
  },
1569
1711
  undo: "Annuler",
1570
1712
  undoShortcut: "Annuler (Ctrl+Z)",
@@ -1592,7 +1734,9 @@ var fr_default = {
1592
1734
  unavailableInPreview: "Non disponible dans cette version préliminaire",
1593
1735
  more: "Plus",
1594
1736
  altText: "Texte de remplacement",
1595
- imageWrap: "Habillage du texte"
1737
+ imageWrap: "Habillage du texte",
1738
+ formatPainter: null,
1739
+ formatPainterShortcut: null
1596
1740
  },
1597
1741
  alignment: {
1598
1742
  alignLeft: "Aligner à gauche",
@@ -1851,7 +1995,13 @@ var fr_default = {
1851
1995
  selectAll: "Tout sélectionner",
1852
1996
  selectAllShortcut: "Ctrl+A",
1853
1997
  editCustomNode: "Modifier {label}",
1854
- removeCustomNode: "Supprimer {label}"
1998
+ removeCustomNode: "Supprimer {label}",
1999
+ pasteWithoutFormatting: null,
2000
+ pasteWithoutFormattingShortcut: null,
2001
+ copyFormatting: null,
2002
+ copyFormattingShortcut: null,
2003
+ pasteFormatting: null,
2004
+ pasteFormattingShortcut: null
1855
2005
  },
1856
2006
  documentOutline: {
1857
2007
  ariaLabel: "Plan du document",
@@ -2242,7 +2392,14 @@ var fr_default = {
2242
2392
  bodyOnlyNote: null,
2243
2393
  bodyOnlySectionBreak: null,
2244
2394
  bodyOnlyToc: null,
2245
- furnitureOnlyPageField: null
2395
+ furnitureOnlyPageField: null,
2396
+ suggestingSectionBreak: null,
2397
+ tableCellSectionBreak: null,
2398
+ lockedSectionBreak: null,
2399
+ lockedContentBreak: null,
2400
+ noCopiedFormatting: null,
2401
+ nothingToCopyFormatting: null,
2402
+ nothingToPaint: null
2246
2403
  },
2247
2404
  equationPopup: {
2248
2405
  apply: null,
@@ -2251,6 +2408,60 @@ var fr_default = {
2251
2408
  placeholder: null,
2252
2409
  refused: null,
2253
2410
  title: null
2411
+ },
2412
+ collaborationDemo: {
2413
+ back: null,
2414
+ close: null,
2415
+ connect: null,
2416
+ connectFailed: null,
2417
+ connected: null,
2418
+ connecting: null,
2419
+ connection: null,
2420
+ copied: null,
2421
+ copy: null,
2422
+ create: null,
2423
+ creating: null,
2424
+ dialogSubtitle: null,
2425
+ dialogTitle: null,
2426
+ disconnect: null,
2427
+ done: null,
2428
+ enterRoom: null,
2429
+ failed: null,
2430
+ guest: null,
2431
+ inviteLink: null,
2432
+ join: null,
2433
+ joinDescription: null,
2434
+ joinExisting: null,
2435
+ leave: null,
2436
+ leaveFailed: null,
2437
+ name: null,
2438
+ online: null,
2439
+ peers: null,
2440
+ people: null,
2441
+ person: null,
2442
+ reconnect: null,
2443
+ reconnecting: null,
2444
+ redo: null,
2445
+ room: null,
2446
+ roomSubtitle: null,
2447
+ roomTitle: null,
2448
+ save: null,
2449
+ scope: null,
2450
+ share: null,
2451
+ shareDescription: null,
2452
+ shareDocument: null,
2453
+ subtitle: null,
2454
+ title: null,
2455
+ undo: null,
2456
+ warning: null,
2457
+ you: null,
2458
+ outOfSync: null,
2459
+ outOfSyncShort: null,
2460
+ caretPages: null
2461
+ },
2462
+ collaboration: {
2463
+ moreParticipants: null,
2464
+ participants: null
2254
2465
  }
2255
2466
  };
2256
2467
 
@@ -2303,7 +2514,8 @@ var he_default = {
2303
2514
  alignment: "יישור טקסט",
2304
2515
  listFormatting: "עיצוב רשימה",
2305
2516
  image: "תמונה",
2306
- table: "טבלה"
2517
+ table: "טבלה",
2518
+ format: null
2307
2519
  },
2308
2520
  undo: "בטל",
2309
2521
  undoShortcut: "בטל (Ctrl+Z)",
@@ -2331,7 +2543,9 @@ var he_default = {
2331
2543
  unavailableInPreview: "לא זמין בגרסת תצוגה מקדימה זו",
2332
2544
  more: "עוד",
2333
2545
  altText: "טקסט חלופי",
2334
- imageWrap: "גלישת טקסט"
2546
+ imageWrap: "גלישת טקסט",
2547
+ formatPainter: null,
2548
+ formatPainterShortcut: null
2335
2549
  },
2336
2550
  alignment: {
2337
2551
  alignLeft: "יישור לשמאל",
@@ -2590,7 +2804,13 @@ var he_default = {
2590
2804
  selectAll: "בחר הכל",
2591
2805
  selectAllShortcut: "Ctrl+A",
2592
2806
  editCustomNode: "ערוך {label}",
2593
- removeCustomNode: "הסר {label}"
2807
+ removeCustomNode: "הסר {label}",
2808
+ pasteWithoutFormatting: null,
2809
+ pasteWithoutFormattingShortcut: null,
2810
+ copyFormatting: null,
2811
+ copyFormattingShortcut: null,
2812
+ pasteFormatting: null,
2813
+ pasteFormattingShortcut: null
2594
2814
  },
2595
2815
  documentOutline: {
2596
2816
  ariaLabel: "מתווה המסמך",
@@ -2981,7 +3201,14 @@ var he_default = {
2981
3201
  bodyOnlyNote: null,
2982
3202
  bodyOnlySectionBreak: null,
2983
3203
  bodyOnlyToc: null,
2984
- furnitureOnlyPageField: null
3204
+ furnitureOnlyPageField: null,
3205
+ suggestingSectionBreak: null,
3206
+ tableCellSectionBreak: null,
3207
+ lockedSectionBreak: null,
3208
+ lockedContentBreak: null,
3209
+ noCopiedFormatting: null,
3210
+ nothingToCopyFormatting: null,
3211
+ nothingToPaint: null
2985
3212
  },
2986
3213
  equationPopup: {
2987
3214
  apply: null,
@@ -2990,6 +3217,60 @@ var he_default = {
2990
3217
  placeholder: null,
2991
3218
  refused: null,
2992
3219
  title: null
3220
+ },
3221
+ collaborationDemo: {
3222
+ back: null,
3223
+ close: null,
3224
+ connect: null,
3225
+ connectFailed: null,
3226
+ connected: null,
3227
+ connecting: null,
3228
+ connection: null,
3229
+ copied: null,
3230
+ copy: null,
3231
+ create: null,
3232
+ creating: null,
3233
+ dialogSubtitle: null,
3234
+ dialogTitle: null,
3235
+ disconnect: null,
3236
+ done: null,
3237
+ enterRoom: null,
3238
+ failed: null,
3239
+ guest: null,
3240
+ inviteLink: null,
3241
+ join: null,
3242
+ joinDescription: null,
3243
+ joinExisting: null,
3244
+ leave: null,
3245
+ leaveFailed: null,
3246
+ name: null,
3247
+ online: null,
3248
+ peers: null,
3249
+ people: null,
3250
+ person: null,
3251
+ reconnect: null,
3252
+ reconnecting: null,
3253
+ redo: null,
3254
+ room: null,
3255
+ roomSubtitle: null,
3256
+ roomTitle: null,
3257
+ save: null,
3258
+ scope: null,
3259
+ share: null,
3260
+ shareDescription: null,
3261
+ shareDocument: null,
3262
+ subtitle: null,
3263
+ title: null,
3264
+ undo: null,
3265
+ warning: null,
3266
+ you: null,
3267
+ outOfSync: null,
3268
+ outOfSyncShort: null,
3269
+ caretPages: null
3270
+ },
3271
+ collaboration: {
3272
+ moreParticipants: null,
3273
+ participants: null
2993
3274
  }
2994
3275
  };
2995
3276
 
@@ -3042,7 +3323,8 @@ var hi_default = {
3042
3323
  alignment: "संरेखण",
3043
3324
  listFormatting: "सूची प्रारूपण",
3044
3325
  image: "चित्र",
3045
- table: "तालिका"
3326
+ table: "तालिका",
3327
+ format: null
3046
3328
  },
3047
3329
  undo: "पूर्ववत करें",
3048
3330
  undoShortcut: "पूर्ववत करें (Ctrl+Z)",
@@ -3070,7 +3352,9 @@ var hi_default = {
3070
3352
  unavailableInPreview: "इस पूर्वावलोकन बिल्ड में उपलब्ध नहीं है",
3071
3353
  more: "अधिक",
3072
3354
  altText: "वैकल्पिक पाठ",
3073
- imageWrap: "पाठ रैप करें"
3355
+ imageWrap: "पाठ रैप करें",
3356
+ formatPainter: null,
3357
+ formatPainterShortcut: null
3074
3358
  },
3075
3359
  alignment: {
3076
3360
  alignLeft: "बाएं संरेखित करें",
@@ -3329,7 +3613,13 @@ var hi_default = {
3329
3613
  selectAll: "सभी चुनें",
3330
3614
  selectAllShortcut: "Ctrl+A",
3331
3615
  editCustomNode: "{label} संपादित करें",
3332
- removeCustomNode: "{label} निकालें"
3616
+ removeCustomNode: "{label} निकालें",
3617
+ pasteWithoutFormatting: null,
3618
+ pasteWithoutFormattingShortcut: null,
3619
+ copyFormatting: null,
3620
+ copyFormattingShortcut: null,
3621
+ pasteFormatting: null,
3622
+ pasteFormattingShortcut: null
3333
3623
  },
3334
3624
  documentOutline: {
3335
3625
  ariaLabel: "दस्तावेज़ की रूपरेखा",
@@ -3720,7 +4010,14 @@ var hi_default = {
3720
4010
  bodyOnlyNote: null,
3721
4011
  bodyOnlySectionBreak: null,
3722
4012
  bodyOnlyToc: null,
3723
- furnitureOnlyPageField: null
4013
+ furnitureOnlyPageField: null,
4014
+ suggestingSectionBreak: null,
4015
+ tableCellSectionBreak: null,
4016
+ lockedSectionBreak: null,
4017
+ lockedContentBreak: null,
4018
+ noCopiedFormatting: null,
4019
+ nothingToCopyFormatting: null,
4020
+ nothingToPaint: null
3724
4021
  },
3725
4022
  equationPopup: {
3726
4023
  apply: null,
@@ -3729,6 +4026,60 @@ var hi_default = {
3729
4026
  placeholder: null,
3730
4027
  refused: null,
3731
4028
  title: null
4029
+ },
4030
+ collaborationDemo: {
4031
+ back: null,
4032
+ close: null,
4033
+ connect: null,
4034
+ connectFailed: null,
4035
+ connected: null,
4036
+ connecting: null,
4037
+ connection: null,
4038
+ copied: null,
4039
+ copy: null,
4040
+ create: null,
4041
+ creating: null,
4042
+ dialogSubtitle: null,
4043
+ dialogTitle: null,
4044
+ disconnect: null,
4045
+ done: null,
4046
+ enterRoom: null,
4047
+ failed: null,
4048
+ guest: null,
4049
+ inviteLink: null,
4050
+ join: null,
4051
+ joinDescription: null,
4052
+ joinExisting: null,
4053
+ leave: null,
4054
+ leaveFailed: null,
4055
+ name: null,
4056
+ online: null,
4057
+ peers: null,
4058
+ people: null,
4059
+ person: null,
4060
+ reconnect: null,
4061
+ reconnecting: null,
4062
+ redo: null,
4063
+ room: null,
4064
+ roomSubtitle: null,
4065
+ roomTitle: null,
4066
+ save: null,
4067
+ scope: null,
4068
+ share: null,
4069
+ shareDescription: null,
4070
+ shareDocument: null,
4071
+ subtitle: null,
4072
+ title: null,
4073
+ undo: null,
4074
+ warning: null,
4075
+ you: null,
4076
+ outOfSync: null,
4077
+ outOfSyncShort: null,
4078
+ caretPages: null
4079
+ },
4080
+ collaboration: {
4081
+ moreParticipants: null,
4082
+ participants: null
3732
4083
  }
3733
4084
  };
3734
4085
 
@@ -3781,7 +4132,8 @@ var id_default = {
3781
4132
  alignment: "Perataan",
3782
4133
  listFormatting: "Pemformatan Daftar",
3783
4134
  image: "Gambar",
3784
- table: "Tabel"
4135
+ table: "Tabel",
4136
+ format: null
3785
4137
  },
3786
4138
  undo: "Urungkan",
3787
4139
  undoShortcut: "Urungkan (Ctrl+Z)",
@@ -3809,7 +4161,9 @@ var id_default = {
3809
4161
  unavailableInPreview: "Tidak tersedia dalam versi pratinjau ini",
3810
4162
  more: "Lainnya",
3811
4163
  altText: "Teks alternatif",
3812
- imageWrap: "Bungkus teks"
4164
+ imageWrap: "Bungkus teks",
4165
+ formatPainter: null,
4166
+ formatPainterShortcut: null
3813
4167
  },
3814
4168
  alignment: {
3815
4169
  alignLeft: "Rata Kiri",
@@ -4075,7 +4429,13 @@ var id_default = {
4075
4429
  selectAll: "Pilih Semua",
4076
4430
  selectAllShortcut: "Ctrl+A",
4077
4431
  editCustomNode: "Edit {label}",
4078
- removeCustomNode: "Hapus {label}"
4432
+ removeCustomNode: "Hapus {label}",
4433
+ pasteWithoutFormatting: null,
4434
+ pasteWithoutFormattingShortcut: null,
4435
+ copyFormatting: null,
4436
+ copyFormattingShortcut: null,
4437
+ pasteFormatting: null,
4438
+ pasteFormattingShortcut: null
4079
4439
  },
4080
4440
  documentOutline: {
4081
4441
  ariaLabel: "Struktur dokumen",
@@ -4459,7 +4819,14 @@ var id_default = {
4459
4819
  bodyOnlyNote: null,
4460
4820
  bodyOnlySectionBreak: null,
4461
4821
  bodyOnlyToc: null,
4462
- furnitureOnlyPageField: null
4822
+ furnitureOnlyPageField: null,
4823
+ suggestingSectionBreak: null,
4824
+ tableCellSectionBreak: null,
4825
+ lockedSectionBreak: null,
4826
+ lockedContentBreak: null,
4827
+ noCopiedFormatting: null,
4828
+ nothingToCopyFormatting: null,
4829
+ nothingToPaint: null
4463
4830
  },
4464
4831
  equationPopup: {
4465
4832
  apply: null,
@@ -4468,6 +4835,60 @@ var id_default = {
4468
4835
  placeholder: null,
4469
4836
  refused: null,
4470
4837
  title: null
4838
+ },
4839
+ collaborationDemo: {
4840
+ back: null,
4841
+ close: null,
4842
+ connect: null,
4843
+ connectFailed: null,
4844
+ connected: null,
4845
+ connecting: null,
4846
+ connection: null,
4847
+ copied: null,
4848
+ copy: null,
4849
+ create: null,
4850
+ creating: null,
4851
+ dialogSubtitle: null,
4852
+ dialogTitle: null,
4853
+ disconnect: null,
4854
+ done: null,
4855
+ enterRoom: null,
4856
+ failed: null,
4857
+ guest: null,
4858
+ inviteLink: null,
4859
+ join: null,
4860
+ joinDescription: null,
4861
+ joinExisting: null,
4862
+ leave: null,
4863
+ leaveFailed: null,
4864
+ name: null,
4865
+ online: null,
4866
+ peers: null,
4867
+ people: null,
4868
+ person: null,
4869
+ reconnect: null,
4870
+ reconnecting: null,
4871
+ redo: null,
4872
+ room: null,
4873
+ roomSubtitle: null,
4874
+ roomTitle: null,
4875
+ save: null,
4876
+ scope: null,
4877
+ share: null,
4878
+ shareDescription: null,
4879
+ shareDocument: null,
4880
+ subtitle: null,
4881
+ title: null,
4882
+ undo: null,
4883
+ warning: null,
4884
+ you: null,
4885
+ outOfSync: null,
4886
+ outOfSyncShort: null,
4887
+ caretPages: null
4888
+ },
4889
+ collaboration: {
4890
+ moreParticipants: null,
4891
+ participants: null
4471
4892
  }
4472
4893
  };
4473
4894
 
@@ -4520,7 +4941,8 @@ var pl_default = {
4520
4941
  alignment: "Wyrównanie",
4521
4942
  listFormatting: "Formatowanie listy",
4522
4943
  image: "Obraz",
4523
- table: "Tabela"
4944
+ table: "Tabela",
4945
+ format: null
4524
4946
  },
4525
4947
  undo: "Cofnij",
4526
4948
  undoShortcut: "Cofnij (Ctrl+Z)",
@@ -4548,7 +4970,9 @@ var pl_default = {
4548
4970
  unavailableInPreview: "Niedostępne w tej wersji zapoznawczej",
4549
4971
  more: "Więcej",
4550
4972
  altText: "Tekst alternatywny",
4551
- imageWrap: "Zawijaj tekst"
4973
+ imageWrap: "Zawijaj tekst",
4974
+ formatPainter: null,
4975
+ formatPainterShortcut: null
4552
4976
  },
4553
4977
  alignment: {
4554
4978
  alignLeft: "Wyrównaj do lewej",
@@ -4807,7 +5231,13 @@ var pl_default = {
4807
5231
  selectAll: "Zaznacz wszystko",
4808
5232
  selectAllShortcut: "Ctrl+A",
4809
5233
  editCustomNode: "Edytuj {label}",
4810
- removeCustomNode: "Usuń {label}"
5234
+ removeCustomNode: "Usuń {label}",
5235
+ pasteWithoutFormatting: null,
5236
+ pasteWithoutFormattingShortcut: null,
5237
+ copyFormatting: null,
5238
+ copyFormattingShortcut: null,
5239
+ pasteFormatting: null,
5240
+ pasteFormattingShortcut: null
4811
5241
  },
4812
5242
  documentOutline: {
4813
5243
  ariaLabel: "Konspekt dokumentu",
@@ -5198,7 +5628,14 @@ var pl_default = {
5198
5628
  bodyOnlyNote: null,
5199
5629
  bodyOnlySectionBreak: null,
5200
5630
  bodyOnlyToc: null,
5201
- furnitureOnlyPageField: null
5631
+ furnitureOnlyPageField: null,
5632
+ suggestingSectionBreak: null,
5633
+ tableCellSectionBreak: null,
5634
+ lockedSectionBreak: null,
5635
+ lockedContentBreak: null,
5636
+ noCopiedFormatting: null,
5637
+ nothingToCopyFormatting: null,
5638
+ nothingToPaint: null
5202
5639
  },
5203
5640
  equationPopup: {
5204
5641
  apply: null,
@@ -5207,6 +5644,60 @@ var pl_default = {
5207
5644
  placeholder: null,
5208
5645
  refused: null,
5209
5646
  title: null
5647
+ },
5648
+ collaborationDemo: {
5649
+ back: null,
5650
+ close: null,
5651
+ connect: null,
5652
+ connectFailed: null,
5653
+ connected: null,
5654
+ connecting: null,
5655
+ connection: null,
5656
+ copied: null,
5657
+ copy: null,
5658
+ create: null,
5659
+ creating: null,
5660
+ dialogSubtitle: null,
5661
+ dialogTitle: null,
5662
+ disconnect: null,
5663
+ done: null,
5664
+ enterRoom: null,
5665
+ failed: null,
5666
+ guest: null,
5667
+ inviteLink: null,
5668
+ join: null,
5669
+ joinDescription: null,
5670
+ joinExisting: null,
5671
+ leave: null,
5672
+ leaveFailed: null,
5673
+ name: null,
5674
+ online: null,
5675
+ peers: null,
5676
+ people: null,
5677
+ person: null,
5678
+ reconnect: null,
5679
+ reconnecting: null,
5680
+ redo: null,
5681
+ room: null,
5682
+ roomSubtitle: null,
5683
+ roomTitle: null,
5684
+ save: null,
5685
+ scope: null,
5686
+ share: null,
5687
+ shareDescription: null,
5688
+ shareDocument: null,
5689
+ subtitle: null,
5690
+ title: null,
5691
+ undo: null,
5692
+ warning: null,
5693
+ you: null,
5694
+ outOfSync: null,
5695
+ outOfSyncShort: null,
5696
+ caretPages: null
5697
+ },
5698
+ collaboration: {
5699
+ moreParticipants: null,
5700
+ participants: null
5210
5701
  }
5211
5702
  };
5212
5703
 
@@ -5259,7 +5750,8 @@ var pt_BR_default = {
5259
5750
  alignment: "Alinhamento",
5260
5751
  listFormatting: "Formatação de lista",
5261
5752
  image: "Imagem",
5262
- table: "Tabela"
5753
+ table: "Tabela",
5754
+ format: null
5263
5755
  },
5264
5756
  undo: "Desfazer",
5265
5757
  undoShortcut: "Desfazer (Ctrl+Z)",
@@ -5287,7 +5779,9 @@ var pt_BR_default = {
5287
5779
  unavailableInPreview: "Não disponível nesta versão de visualização",
5288
5780
  more: "Mais",
5289
5781
  altText: "Texto alternativo",
5290
- imageWrap: "Quebra de texto automática"
5782
+ imageWrap: "Quebra de texto automática",
5783
+ formatPainter: null,
5784
+ formatPainterShortcut: null
5291
5785
  },
5292
5786
  alignment: {
5293
5787
  alignLeft: "Alinhar à esquerda",
@@ -5546,7 +6040,13 @@ var pt_BR_default = {
5546
6040
  selectAll: "Selecionar tudo",
5547
6041
  selectAllShortcut: "Ctrl+A",
5548
6042
  editCustomNode: "Editar {label}",
5549
- removeCustomNode: "Remover {label}"
6043
+ removeCustomNode: "Remover {label}",
6044
+ pasteWithoutFormatting: null,
6045
+ pasteWithoutFormattingShortcut: null,
6046
+ copyFormatting: null,
6047
+ copyFormattingShortcut: null,
6048
+ pasteFormatting: null,
6049
+ pasteFormattingShortcut: null
5550
6050
  },
5551
6051
  documentOutline: {
5552
6052
  ariaLabel: "Estrutura do documento",
@@ -5937,7 +6437,14 @@ var pt_BR_default = {
5937
6437
  bodyOnlyNote: null,
5938
6438
  bodyOnlySectionBreak: null,
5939
6439
  bodyOnlyToc: null,
5940
- furnitureOnlyPageField: null
6440
+ furnitureOnlyPageField: null,
6441
+ suggestingSectionBreak: null,
6442
+ tableCellSectionBreak: null,
6443
+ lockedSectionBreak: null,
6444
+ lockedContentBreak: null,
6445
+ noCopiedFormatting: null,
6446
+ nothingToCopyFormatting: null,
6447
+ nothingToPaint: null
5941
6448
  },
5942
6449
  equationPopup: {
5943
6450
  apply: null,
@@ -5946,6 +6453,60 @@ var pt_BR_default = {
5946
6453
  placeholder: null,
5947
6454
  refused: null,
5948
6455
  title: null
6456
+ },
6457
+ collaborationDemo: {
6458
+ back: null,
6459
+ close: null,
6460
+ connect: null,
6461
+ connectFailed: null,
6462
+ connected: null,
6463
+ connecting: null,
6464
+ connection: null,
6465
+ copied: null,
6466
+ copy: null,
6467
+ create: null,
6468
+ creating: null,
6469
+ dialogSubtitle: null,
6470
+ dialogTitle: null,
6471
+ disconnect: null,
6472
+ done: null,
6473
+ enterRoom: null,
6474
+ failed: null,
6475
+ guest: null,
6476
+ inviteLink: null,
6477
+ join: null,
6478
+ joinDescription: null,
6479
+ joinExisting: null,
6480
+ leave: null,
6481
+ leaveFailed: null,
6482
+ name: null,
6483
+ online: null,
6484
+ peers: null,
6485
+ people: null,
6486
+ person: null,
6487
+ reconnect: null,
6488
+ reconnecting: null,
6489
+ redo: null,
6490
+ room: null,
6491
+ roomSubtitle: null,
6492
+ roomTitle: null,
6493
+ save: null,
6494
+ scope: null,
6495
+ share: null,
6496
+ shareDescription: null,
6497
+ shareDocument: null,
6498
+ subtitle: null,
6499
+ title: null,
6500
+ undo: null,
6501
+ warning: null,
6502
+ you: null,
6503
+ outOfSync: null,
6504
+ outOfSyncShort: null,
6505
+ caretPages: null
6506
+ },
6507
+ collaboration: {
6508
+ moreParticipants: null,
6509
+ participants: null
5949
6510
  }
5950
6511
  };
5951
6512
 
@@ -5998,7 +6559,8 @@ var tr_default = {
5998
6559
  alignment: "Hizalama",
5999
6560
  listFormatting: "Liste biçimlendirme",
6000
6561
  image: "Görsel",
6001
- table: "Tablo"
6562
+ table: "Tablo",
6563
+ format: null
6002
6564
  },
6003
6565
  undo: "Geri al",
6004
6566
  undoShortcut: "Geri al (Ctrl+Z)",
@@ -6026,7 +6588,9 @@ var tr_default = {
6026
6588
  unavailableInPreview: "Bu önizleme sürümünde kullanılamaz",
6027
6589
  more: "Diğer",
6028
6590
  altText: "Alternatif metin",
6029
- imageWrap: "Metni kaydır"
6591
+ imageWrap: "Metni kaydır",
6592
+ formatPainter: null,
6593
+ formatPainterShortcut: null
6030
6594
  },
6031
6595
  alignment: {
6032
6596
  alignLeft: "Sola hizala",
@@ -6285,7 +6849,13 @@ var tr_default = {
6285
6849
  selectAll: "Tümünü seç",
6286
6850
  selectAllShortcut: "Ctrl+A",
6287
6851
  editCustomNode: "{label} öğesini düzenle",
6288
- removeCustomNode: "{label} öğesini kaldır"
6852
+ removeCustomNode: "{label} öğesini kaldır",
6853
+ pasteWithoutFormatting: null,
6854
+ pasteWithoutFormattingShortcut: null,
6855
+ copyFormatting: null,
6856
+ copyFormattingShortcut: null,
6857
+ pasteFormatting: null,
6858
+ pasteFormattingShortcut: null
6289
6859
  },
6290
6860
  documentOutline: {
6291
6861
  ariaLabel: "Belge ana hattı",
@@ -6676,7 +7246,14 @@ var tr_default = {
6676
7246
  bodyOnlyNote: null,
6677
7247
  bodyOnlySectionBreak: null,
6678
7248
  bodyOnlyToc: null,
6679
- furnitureOnlyPageField: null
7249
+ furnitureOnlyPageField: null,
7250
+ suggestingSectionBreak: null,
7251
+ tableCellSectionBreak: null,
7252
+ lockedSectionBreak: null,
7253
+ lockedContentBreak: null,
7254
+ noCopiedFormatting: null,
7255
+ nothingToCopyFormatting: null,
7256
+ nothingToPaint: null
6680
7257
  },
6681
7258
  equationPopup: {
6682
7259
  apply: null,
@@ -6685,6 +7262,60 @@ var tr_default = {
6685
7262
  placeholder: null,
6686
7263
  refused: null,
6687
7264
  title: null
7265
+ },
7266
+ collaborationDemo: {
7267
+ back: null,
7268
+ close: null,
7269
+ connect: null,
7270
+ connectFailed: null,
7271
+ connected: null,
7272
+ connecting: null,
7273
+ connection: null,
7274
+ copied: null,
7275
+ copy: null,
7276
+ create: null,
7277
+ creating: null,
7278
+ dialogSubtitle: null,
7279
+ dialogTitle: null,
7280
+ disconnect: null,
7281
+ done: null,
7282
+ enterRoom: null,
7283
+ failed: null,
7284
+ guest: null,
7285
+ inviteLink: null,
7286
+ join: null,
7287
+ joinDescription: null,
7288
+ joinExisting: null,
7289
+ leave: null,
7290
+ leaveFailed: null,
7291
+ name: null,
7292
+ online: null,
7293
+ peers: null,
7294
+ people: null,
7295
+ person: null,
7296
+ reconnect: null,
7297
+ reconnecting: null,
7298
+ redo: null,
7299
+ room: null,
7300
+ roomSubtitle: null,
7301
+ roomTitle: null,
7302
+ save: null,
7303
+ scope: null,
7304
+ share: null,
7305
+ shareDescription: null,
7306
+ shareDocument: null,
7307
+ subtitle: null,
7308
+ title: null,
7309
+ undo: null,
7310
+ warning: null,
7311
+ you: null,
7312
+ outOfSync: null,
7313
+ outOfSyncShort: null,
7314
+ caretPages: null
7315
+ },
7316
+ collaboration: {
7317
+ moreParticipants: null,
7318
+ participants: null
6688
7319
  }
6689
7320
  };
6690
7321
 
@@ -6737,7 +7368,8 @@ var zh_CN_default = {
6737
7368
  alignment: "对齐",
6738
7369
  listFormatting: "列表格式",
6739
7370
  image: "图片",
6740
- table: "表格"
7371
+ table: "表格",
7372
+ format: null
6741
7373
  },
6742
7374
  undo: "撤销",
6743
7375
  undoShortcut: "撤销(Ctrl+Z)",
@@ -6765,7 +7397,9 @@ var zh_CN_default = {
6765
7397
  unavailableInPreview: "此预览版本中不可用",
6766
7398
  more: "更多",
6767
7399
  altText: "替换文字",
6768
- imageWrap: "环绕文字"
7400
+ imageWrap: "环绕文字",
7401
+ formatPainter: null,
7402
+ formatPainterShortcut: null
6769
7403
  },
6770
7404
  alignment: {
6771
7405
  alignLeft: "左对齐",
@@ -7024,7 +7658,13 @@ var zh_CN_default = {
7024
7658
  selectAll: "全选",
7025
7659
  selectAllShortcut: "Ctrl+A",
7026
7660
  editCustomNode: "编辑{label}",
7027
- removeCustomNode: "删除{label}"
7661
+ removeCustomNode: "删除{label}",
7662
+ pasteWithoutFormatting: null,
7663
+ pasteWithoutFormattingShortcut: null,
7664
+ copyFormatting: null,
7665
+ copyFormattingShortcut: null,
7666
+ pasteFormatting: null,
7667
+ pasteFormattingShortcut: null
7028
7668
  },
7029
7669
  documentOutline: {
7030
7670
  ariaLabel: "文档大纲",
@@ -7415,7 +8055,14 @@ var zh_CN_default = {
7415
8055
  bodyOnlyNote: null,
7416
8056
  bodyOnlySectionBreak: null,
7417
8057
  bodyOnlyToc: null,
7418
- furnitureOnlyPageField: null
8058
+ furnitureOnlyPageField: null,
8059
+ suggestingSectionBreak: null,
8060
+ tableCellSectionBreak: null,
8061
+ lockedSectionBreak: null,
8062
+ lockedContentBreak: null,
8063
+ noCopiedFormatting: null,
8064
+ nothingToCopyFormatting: null,
8065
+ nothingToPaint: null
7419
8066
  },
7420
8067
  equationPopup: {
7421
8068
  apply: null,
@@ -7424,9 +8071,131 @@ var zh_CN_default = {
7424
8071
  placeholder: null,
7425
8072
  refused: null,
7426
8073
  title: null
8074
+ },
8075
+ collaborationDemo: {
8076
+ back: null,
8077
+ close: null,
8078
+ connect: null,
8079
+ connectFailed: null,
8080
+ connected: null,
8081
+ connecting: null,
8082
+ connection: null,
8083
+ copied: null,
8084
+ copy: null,
8085
+ create: null,
8086
+ creating: null,
8087
+ dialogSubtitle: null,
8088
+ dialogTitle: null,
8089
+ disconnect: null,
8090
+ done: null,
8091
+ enterRoom: null,
8092
+ failed: null,
8093
+ guest: null,
8094
+ inviteLink: null,
8095
+ join: null,
8096
+ joinDescription: null,
8097
+ joinExisting: null,
8098
+ leave: null,
8099
+ leaveFailed: null,
8100
+ name: null,
8101
+ online: null,
8102
+ peers: null,
8103
+ people: null,
8104
+ person: null,
8105
+ reconnect: null,
8106
+ reconnecting: null,
8107
+ redo: null,
8108
+ room: null,
8109
+ roomSubtitle: null,
8110
+ roomTitle: null,
8111
+ save: null,
8112
+ scope: null,
8113
+ share: null,
8114
+ shareDescription: null,
8115
+ shareDocument: null,
8116
+ subtitle: null,
8117
+ title: null,
8118
+ undo: null,
8119
+ warning: null,
8120
+ you: null,
8121
+ outOfSync: null,
8122
+ outOfSyncShort: null,
8123
+ caretPages: null
8124
+ },
8125
+ collaboration: {
8126
+ moreParticipants: null,
8127
+ participants: null
7427
8128
  }
7428
8129
  };
7429
8130
 
8131
+ // src/disabled-reasons.ts
8132
+ var DISABLED_REASON_KEYS = Object.freeze({
8133
+ "editor is not ready": "disabledReason.editorNotReady",
8134
+ "not wired to an editor command": "disabledReason.notWired",
8135
+ "this document was opened for viewing": "disabledReason.viewing",
8136
+ "the document is open for viewing": "disabledReason.viewing",
8137
+ "this document permits editing only as tracked changes": "disabledReason.trackedOnly",
8138
+ "no document is loaded": "disabledReason.noDocument",
8139
+ "no document is open": "disabledReason.noDocument",
8140
+ "no content control at the selection": "disabledReason.noContentControl",
8141
+ // Keyed on `NO_COPIED_FORMATTING` in the engine's format-painter lane; the two must stay
8142
+ // the same sentence or the refusal reaches every locale in English.
8143
+ "no formatting has been copied": "disabledReason.noCopiedFormatting",
8144
+ "there is nothing at the selection to copy": "disabledReason.nothingToCopyFormatting",
8145
+ "the selection has nothing to paint": "disabledReason.nothingToPaint",
8146
+ "no drawing is selected": "disabledReason.noDrawing",
8147
+ "the drawing is locked": "disabledReason.drawingLocked",
8148
+ "a comment needs a selected range": "disabledReason.commentSelection",
8149
+ "cell merge is not supported yet": "disabledReason.mergeUnsupported",
8150
+ "cell split is not supported yet": "disabledReason.splitUnsupported",
8151
+ "image changes are not supported in suggesting mode": "disabledReason.imageSuggesting",
8152
+ "invalid table chrome value": "disabledReason.invalidValue",
8153
+ "invalid value for toolbar command": "disabledReason.invalidValue",
8154
+ "unsupported table command": "disabledReason.unavailable",
8155
+ // Scope refusals. Each names a story limit the engine really enforces, so each is chrome the
8156
+ // user reads — and each rendered as raw English in every locale until it was listed here.
8157
+ "a section break can only be inserted in the editable document body": "disabledReason.bodyOnlySectionBreak",
8158
+ "a table of contents can only be inserted in the editable document body": "disabledReason.bodyOnlyToc",
8159
+ "insertNote requires body scope": "disabledReason.bodyOnlyNote",
8160
+ "insertPageField requires an open header or footer scope": "disabledReason.furnitureOnlyPageField",
8161
+ // Not a scope refusal: the story is right and the MODE is not. A section break's type
8162
+ // lands on the section that follows it, and Word's record for that change is one this
8163
+ // engine refuses to accept or reject — so it cannot be proposed.
8164
+ "a section break that changes where the next section starts cannot be suggested; turn off suggesting to insert it": "disabledReason.suggestingSectionBreak",
8165
+ "a section break cannot be inserted inside a table cell": "disabledReason.tableCellSectionBreak",
8166
+ // Deliberately NOT the store's `locked` / `bound` enums. Those are shared by every op —
8167
+ // `locked` covers a locked CONTROL whose content is editable as well as locked content —
8168
+ // so one sentence cannot be true of all of them. Each lane says what its own refusal means.
8169
+ "a section break cannot change a section that a locked or linked content control holds": "disabledReason.lockedSectionBreak",
8170
+ "a section break cannot be inserted in locked or linked content": "disabledReason.lockedContentBreak"
8171
+ });
8172
+ function localizeDisabledReason(reason, t) {
8173
+ if (!reason) return null;
8174
+ const key = Object.prototype.hasOwnProperty.call(DISABLED_REASON_KEYS, reason) ? DISABLED_REASON_KEYS[reason] : void 0;
8175
+ return key ? t(key) : reason;
8176
+ }
8177
+
8178
+ // src/platform-shortcuts.ts
8179
+ var APPLE_PLATFORM = /mac|iphone|ipad|ipod/i;
8180
+ function isApplePlatform() {
8181
+ const agent = globalThis.navigator;
8182
+ if (!agent) return false;
8183
+ const declared = agent.userAgentData?.platform;
8184
+ if (typeof declared === "string" && declared.length > 0) return APPLE_PLATFORM.test(declared);
8185
+ return APPLE_PLATFORM.test(agent.platform ?? "");
8186
+ }
8187
+ var ACCELERATOR = /Ctrl(?=\s*\+)/;
8188
+ var APPLE_MODIFIERS = [
8189
+ [/Ctrl(?=\s*\+)/g, "⌘"],
8190
+ [/Alt(?=\s*\+)/g, "Option"]
8191
+ ];
8192
+ function platformShortcut(text) {
8193
+ if (!ACCELERATOR.test(text) || !isApplePlatform()) return text;
8194
+ let next = text;
8195
+ for (const [pattern, replacement] of APPLE_MODIFIERS) next = next.replace(pattern, replacement);
8196
+ return next;
8197
+ }
8198
+
7430
8199
  // src/index.ts
7431
8200
  var en = en_default;
7432
8201
  var de = de_default;
@@ -7515,36 +8284,6 @@ function formatMessage(template, vars, lang) {
7515
8284
  return val !== void 0 ? String(val) : `{${key}}`;
7516
8285
  });
7517
8286
  }
7518
- var DISABLED_REASON_KEYS = Object.freeze({
7519
- "editor is not ready": "disabledReason.editorNotReady",
7520
- "not wired to an editor command": "disabledReason.notWired",
7521
- "this document was opened for viewing": "disabledReason.viewing",
7522
- "the document is open for viewing": "disabledReason.viewing",
7523
- "this document permits editing only as tracked changes": "disabledReason.trackedOnly",
7524
- "no document is loaded": "disabledReason.noDocument",
7525
- "no document is open": "disabledReason.noDocument",
7526
- "no content control at the selection": "disabledReason.noContentControl",
7527
- "no drawing is selected": "disabledReason.noDrawing",
7528
- "the drawing is locked": "disabledReason.drawingLocked",
7529
- "a comment needs a selected range": "disabledReason.commentSelection",
7530
- "cell merge is not supported yet": "disabledReason.mergeUnsupported",
7531
- "cell split is not supported yet": "disabledReason.splitUnsupported",
7532
- "image property edits are not supported in suggesting mode": "disabledReason.imageSuggesting",
7533
- "invalid table chrome value": "disabledReason.invalidValue",
7534
- "invalid value for toolbar command": "disabledReason.invalidValue",
7535
- "unsupported table command": "disabledReason.unavailable",
7536
- // Scope refusals. Each names a story limit the engine really enforces, so each is chrome the
7537
- // user reads — and each rendered as raw English in every locale until it was listed here.
7538
- "a section break can only be inserted in the editable document body": "disabledReason.bodyOnlySectionBreak",
7539
- "a table of contents can only be inserted in the editable document body": "disabledReason.bodyOnlyToc",
7540
- "insertNote requires body scope": "disabledReason.bodyOnlyNote",
7541
- "insertPageField requires an open header or footer scope": "disabledReason.furnitureOnlyPageField"
7542
- });
7543
- function localizeDisabledReason(reason, t) {
7544
- if (!reason) return null;
7545
- const key = DISABLED_REASON_KEYS[reason];
7546
- return key ? t(key) : reason;
7547
- }
7548
8287
  function createT(strings, lang = "en") {
7549
8288
  return (key, vars) => {
7550
8289
  const value = lookupKey(strings, key);
@@ -7564,6 +8303,7 @@ function createT(strings, lang = "en") {
7564
8303
  locales,
7565
8304
  localizeDisabledReason,
7566
8305
  pl,
8306
+ platformShortcut,
7567
8307
  ptBR,
7568
8308
  tr,
7569
8309
  zhCN