@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.mjs CHANGED
@@ -15,18 +15,25 @@ var en_default = {
15
15
  trackedOnly: "This document permits edits only as tracked changes",
16
16
  noDocument: "No document is loaded",
17
17
  noContentControl: "No content control is selected",
18
+ noCopiedFormatting: "Copy formatting from somewhere first",
18
19
  noDrawing: "No image is selected",
19
20
  drawingLocked: "This image is locked",
20
21
  commentSelection: "Select a range before adding a comment",
21
22
  mergeUnsupported: "Cell merge is not supported",
22
23
  splitUnsupported: "Cell split is not supported",
23
- imageSuggesting: "Image property edits are unavailable in suggesting mode",
24
+ imageSuggesting: "Image changes are unavailable in suggesting mode",
24
25
  invalidValue: "This value is not valid for the command",
25
26
  unavailable: "This command is unavailable",
26
27
  bodyOnlySectionBreak: "Section breaks go in the document body.",
27
28
  bodyOnlyToc: "A table of contents goes in the document body.",
28
29
  bodyOnlyNote: "Footnotes and endnotes are added from the document body.",
29
- furnitureOnlyPageField: "Open a header or footer to insert a page number."
30
+ furnitureOnlyPageField: "Open a header or footer to insert a page number.",
31
+ suggestingSectionBreak: "Turn off suggesting to insert this section break. It changes where the next section starts, which can't be suggested.",
32
+ tableCellSectionBreak: "Section breaks go outside a table.",
33
+ lockedSectionBreak: "A locked or linked content control holds the next section, so this break can't change it.",
34
+ lockedContentBreak: "A content control locks this text, so you can't break a section here.",
35
+ nothingToCopyFormatting: "Select some text to copy its formatting",
36
+ nothingToPaint: "Select some text to paint"
30
37
  },
31
38
  toolbar: {
32
39
  ariaLabel: "Formatting toolbar",
@@ -70,6 +77,7 @@ var en_default = {
70
77
  script: "Script",
71
78
  alignment: "Alignment",
72
79
  listFormatting: "List formatting",
80
+ format: "Format",
73
81
  image: "Image",
74
82
  table: "Table"
75
83
  },
@@ -97,6 +105,8 @@ var en_default = {
97
105
  imageWrap: "Wrap text",
98
106
  altText: "Alt text",
99
107
  clearFormatting: "Clear formatting",
108
+ formatPainter: "Format painter",
109
+ formatPainterShortcut: "Format painter (Ctrl+Alt+C, Ctrl+Alt+V)",
100
110
  commentsAndChanges: "Comments & Changes",
101
111
  more: "More",
102
112
  unavailableInPreview: "Not available in this preview build"
@@ -360,6 +370,12 @@ var en_default = {
360
370
  copyShortcut: "Ctrl+C",
361
371
  paste: "Paste",
362
372
  pasteShortcut: "Ctrl+V",
373
+ pasteWithoutFormatting: "Paste without formatting",
374
+ pasteWithoutFormattingShortcut: "Ctrl+Shift+V",
375
+ copyFormatting: "Copy formatting",
376
+ copyFormattingShortcut: "Ctrl+Alt+C",
377
+ pasteFormatting: "Paste formatting",
378
+ pasteFormattingShortcut: "Ctrl+Alt+V",
363
379
  delete: "Delete",
364
380
  deleteShortcut: "Del",
365
381
  selectAll: "Select All",
@@ -714,6 +730,60 @@ var en_default = {
714
730
  viewing: "Viewing",
715
731
  viewingHint: "Read-only, no edits"
716
732
  },
733
+ collaboration: {
734
+ participants: "People in this document",
735
+ moreParticipants: "{count, plural, one {# more person} other {# more people}}"
736
+ },
737
+ collaborationDemo: {
738
+ title: "Peer-to-peer collaboration proof",
739
+ subtitle: "Run this page on two machines and open the same room link.",
740
+ name: "Display name",
741
+ room: "Room ID or link",
742
+ create: "Create room",
743
+ join: "Join room",
744
+ share: "Share this join link",
745
+ copy: "Copy link",
746
+ copied: "Link copied",
747
+ connection: "Room status",
748
+ peers: "Connected participants",
749
+ disconnect: "Disconnect",
750
+ reconnect: "Reconnect",
751
+ undo: "Undo",
752
+ redo: "Redo",
753
+ save: "Save DOCX",
754
+ scope: "This room replicates the whole document: text, formatting, tables, headers, and footers.",
755
+ warning: "Public signaling is for testing. Room links are not access control, storage, or a connectivity guarantee.",
756
+ failed: "The collaboration proof could not start.",
757
+ connect: "Connect",
758
+ online: "online",
759
+ dialogTitle: "Collaborate on this document",
760
+ dialogSubtitle: "Share this document or join a room someone sent you.",
761
+ roomTitle: "Collaboration room",
762
+ roomSubtitle: "Everyone here sees document changes and live cursors.",
763
+ shareDocument: "Share this document",
764
+ shareDescription: "Create a room and copy an invite link.",
765
+ joinExisting: "Join an existing room",
766
+ joinDescription: "Open a room link from another collaborator.",
767
+ inviteLink: "Invite link",
768
+ connected: "Connected",
769
+ reconnecting: "Reconnecting",
770
+ outOfSync: "Out of sync. Reload to rejoin.",
771
+ outOfSyncShort: "Out of sync",
772
+ person: "person",
773
+ people: "people",
774
+ you: "You",
775
+ leave: "Leave room",
776
+ done: "Done",
777
+ close: "Close collaboration dialog",
778
+ back: "Back",
779
+ creating: "Creating room…",
780
+ connecting: "Connecting…",
781
+ enterRoom: "Enter a room link or room ID.",
782
+ connectFailed: "Could not connect to the room.",
783
+ leaveFailed: "Could not leave the room.",
784
+ guest: "Guest",
785
+ caretPages: "{count, plural, one {# page} other {# pages}}"
786
+ },
717
787
  review: {
718
788
  ariaLabel: "Review",
719
789
  empty: "No changes or comments",
@@ -786,7 +856,8 @@ var de_default = {
786
856
  alignment: "Ausrichtung",
787
857
  listFormatting: "Listenformatierung",
788
858
  image: "Grafik",
789
- table: "Tabelle"
859
+ table: "Tabelle",
860
+ format: null
790
861
  },
791
862
  undo: "Rückgängig",
792
863
  undoShortcut: "Rückgängig (Strg+Z)",
@@ -814,7 +885,9 @@ var de_default = {
814
885
  unavailableInPreview: "In dieser Vorschauversion nicht verfügbar",
815
886
  more: "Mehr",
816
887
  altText: "Alternativtext",
817
- imageWrap: "Textumbruch"
888
+ imageWrap: "Textumbruch",
889
+ formatPainter: null,
890
+ formatPainterShortcut: null
818
891
  },
819
892
  alignment: {
820
893
  alignLeft: "Linksbündig",
@@ -1073,7 +1146,13 @@ var de_default = {
1073
1146
  selectAll: "Alles markieren",
1074
1147
  selectAllShortcut: "Strg+A",
1075
1148
  editCustomNode: "{label} bearbeiten",
1076
- removeCustomNode: "{label} entfernen"
1149
+ removeCustomNode: "{label} entfernen",
1150
+ pasteWithoutFormatting: null,
1151
+ pasteWithoutFormattingShortcut: null,
1152
+ copyFormatting: null,
1153
+ copyFormattingShortcut: null,
1154
+ pasteFormatting: null,
1155
+ pasteFormattingShortcut: null
1077
1156
  },
1078
1157
  documentOutline: {
1079
1158
  ariaLabel: "Dokumentgliederung",
@@ -1464,7 +1543,14 @@ var de_default = {
1464
1543
  bodyOnlyNote: null,
1465
1544
  bodyOnlySectionBreak: null,
1466
1545
  bodyOnlyToc: null,
1467
- furnitureOnlyPageField: null
1546
+ furnitureOnlyPageField: null,
1547
+ suggestingSectionBreak: null,
1548
+ tableCellSectionBreak: null,
1549
+ lockedSectionBreak: null,
1550
+ lockedContentBreak: null,
1551
+ noCopiedFormatting: null,
1552
+ nothingToCopyFormatting: null,
1553
+ nothingToPaint: null
1468
1554
  },
1469
1555
  equationPopup: {
1470
1556
  apply: null,
@@ -1473,6 +1559,60 @@ var de_default = {
1473
1559
  placeholder: null,
1474
1560
  refused: null,
1475
1561
  title: null
1562
+ },
1563
+ collaborationDemo: {
1564
+ back: null,
1565
+ close: null,
1566
+ connect: null,
1567
+ connectFailed: null,
1568
+ connected: null,
1569
+ connecting: null,
1570
+ connection: null,
1571
+ copied: null,
1572
+ copy: null,
1573
+ create: null,
1574
+ creating: null,
1575
+ dialogSubtitle: null,
1576
+ dialogTitle: null,
1577
+ disconnect: null,
1578
+ done: null,
1579
+ enterRoom: null,
1580
+ failed: null,
1581
+ guest: null,
1582
+ inviteLink: null,
1583
+ join: null,
1584
+ joinDescription: null,
1585
+ joinExisting: null,
1586
+ leave: null,
1587
+ leaveFailed: null,
1588
+ name: null,
1589
+ online: null,
1590
+ peers: null,
1591
+ people: null,
1592
+ person: null,
1593
+ reconnect: null,
1594
+ reconnecting: null,
1595
+ redo: null,
1596
+ room: null,
1597
+ roomSubtitle: null,
1598
+ roomTitle: null,
1599
+ save: null,
1600
+ scope: null,
1601
+ share: null,
1602
+ shareDescription: null,
1603
+ shareDocument: null,
1604
+ subtitle: null,
1605
+ title: null,
1606
+ undo: null,
1607
+ warning: null,
1608
+ you: null,
1609
+ outOfSync: null,
1610
+ outOfSyncShort: null,
1611
+ caretPages: null
1612
+ },
1613
+ collaboration: {
1614
+ moreParticipants: null,
1615
+ participants: null
1476
1616
  }
1477
1617
  };
1478
1618
 
@@ -1525,7 +1665,8 @@ var fr_default = {
1525
1665
  alignment: "Alignement",
1526
1666
  listFormatting: "Format de liste",
1527
1667
  image: "Image",
1528
- table: "Tableau"
1668
+ table: "Tableau",
1669
+ format: null
1529
1670
  },
1530
1671
  undo: "Annuler",
1531
1672
  undoShortcut: "Annuler (Ctrl+Z)",
@@ -1553,7 +1694,9 @@ var fr_default = {
1553
1694
  unavailableInPreview: "Non disponible dans cette version préliminaire",
1554
1695
  more: "Plus",
1555
1696
  altText: "Texte de remplacement",
1556
- imageWrap: "Habillage du texte"
1697
+ imageWrap: "Habillage du texte",
1698
+ formatPainter: null,
1699
+ formatPainterShortcut: null
1557
1700
  },
1558
1701
  alignment: {
1559
1702
  alignLeft: "Aligner à gauche",
@@ -1812,7 +1955,13 @@ var fr_default = {
1812
1955
  selectAll: "Tout sélectionner",
1813
1956
  selectAllShortcut: "Ctrl+A",
1814
1957
  editCustomNode: "Modifier {label}",
1815
- removeCustomNode: "Supprimer {label}"
1958
+ removeCustomNode: "Supprimer {label}",
1959
+ pasteWithoutFormatting: null,
1960
+ pasteWithoutFormattingShortcut: null,
1961
+ copyFormatting: null,
1962
+ copyFormattingShortcut: null,
1963
+ pasteFormatting: null,
1964
+ pasteFormattingShortcut: null
1816
1965
  },
1817
1966
  documentOutline: {
1818
1967
  ariaLabel: "Plan du document",
@@ -2203,7 +2352,14 @@ var fr_default = {
2203
2352
  bodyOnlyNote: null,
2204
2353
  bodyOnlySectionBreak: null,
2205
2354
  bodyOnlyToc: null,
2206
- furnitureOnlyPageField: null
2355
+ furnitureOnlyPageField: null,
2356
+ suggestingSectionBreak: null,
2357
+ tableCellSectionBreak: null,
2358
+ lockedSectionBreak: null,
2359
+ lockedContentBreak: null,
2360
+ noCopiedFormatting: null,
2361
+ nothingToCopyFormatting: null,
2362
+ nothingToPaint: null
2207
2363
  },
2208
2364
  equationPopup: {
2209
2365
  apply: null,
@@ -2212,6 +2368,60 @@ var fr_default = {
2212
2368
  placeholder: null,
2213
2369
  refused: null,
2214
2370
  title: null
2371
+ },
2372
+ collaborationDemo: {
2373
+ back: null,
2374
+ close: null,
2375
+ connect: null,
2376
+ connectFailed: null,
2377
+ connected: null,
2378
+ connecting: null,
2379
+ connection: null,
2380
+ copied: null,
2381
+ copy: null,
2382
+ create: null,
2383
+ creating: null,
2384
+ dialogSubtitle: null,
2385
+ dialogTitle: null,
2386
+ disconnect: null,
2387
+ done: null,
2388
+ enterRoom: null,
2389
+ failed: null,
2390
+ guest: null,
2391
+ inviteLink: null,
2392
+ join: null,
2393
+ joinDescription: null,
2394
+ joinExisting: null,
2395
+ leave: null,
2396
+ leaveFailed: null,
2397
+ name: null,
2398
+ online: null,
2399
+ peers: null,
2400
+ people: null,
2401
+ person: null,
2402
+ reconnect: null,
2403
+ reconnecting: null,
2404
+ redo: null,
2405
+ room: null,
2406
+ roomSubtitle: null,
2407
+ roomTitle: null,
2408
+ save: null,
2409
+ scope: null,
2410
+ share: null,
2411
+ shareDescription: null,
2412
+ shareDocument: null,
2413
+ subtitle: null,
2414
+ title: null,
2415
+ undo: null,
2416
+ warning: null,
2417
+ you: null,
2418
+ outOfSync: null,
2419
+ outOfSyncShort: null,
2420
+ caretPages: null
2421
+ },
2422
+ collaboration: {
2423
+ moreParticipants: null,
2424
+ participants: null
2215
2425
  }
2216
2426
  };
2217
2427
 
@@ -2264,7 +2474,8 @@ var he_default = {
2264
2474
  alignment: "יישור טקסט",
2265
2475
  listFormatting: "עיצוב רשימה",
2266
2476
  image: "תמונה",
2267
- table: "טבלה"
2477
+ table: "טבלה",
2478
+ format: null
2268
2479
  },
2269
2480
  undo: "בטל",
2270
2481
  undoShortcut: "בטל (Ctrl+Z)",
@@ -2292,7 +2503,9 @@ var he_default = {
2292
2503
  unavailableInPreview: "לא זמין בגרסת תצוגה מקדימה זו",
2293
2504
  more: "עוד",
2294
2505
  altText: "טקסט חלופי",
2295
- imageWrap: "גלישת טקסט"
2506
+ imageWrap: "גלישת טקסט",
2507
+ formatPainter: null,
2508
+ formatPainterShortcut: null
2296
2509
  },
2297
2510
  alignment: {
2298
2511
  alignLeft: "יישור לשמאל",
@@ -2551,7 +2764,13 @@ var he_default = {
2551
2764
  selectAll: "בחר הכל",
2552
2765
  selectAllShortcut: "Ctrl+A",
2553
2766
  editCustomNode: "ערוך {label}",
2554
- removeCustomNode: "הסר {label}"
2767
+ removeCustomNode: "הסר {label}",
2768
+ pasteWithoutFormatting: null,
2769
+ pasteWithoutFormattingShortcut: null,
2770
+ copyFormatting: null,
2771
+ copyFormattingShortcut: null,
2772
+ pasteFormatting: null,
2773
+ pasteFormattingShortcut: null
2555
2774
  },
2556
2775
  documentOutline: {
2557
2776
  ariaLabel: "מתווה המסמך",
@@ -2942,7 +3161,14 @@ var he_default = {
2942
3161
  bodyOnlyNote: null,
2943
3162
  bodyOnlySectionBreak: null,
2944
3163
  bodyOnlyToc: null,
2945
- furnitureOnlyPageField: null
3164
+ furnitureOnlyPageField: null,
3165
+ suggestingSectionBreak: null,
3166
+ tableCellSectionBreak: null,
3167
+ lockedSectionBreak: null,
3168
+ lockedContentBreak: null,
3169
+ noCopiedFormatting: null,
3170
+ nothingToCopyFormatting: null,
3171
+ nothingToPaint: null
2946
3172
  },
2947
3173
  equationPopup: {
2948
3174
  apply: null,
@@ -2951,6 +3177,60 @@ var he_default = {
2951
3177
  placeholder: null,
2952
3178
  refused: null,
2953
3179
  title: null
3180
+ },
3181
+ collaborationDemo: {
3182
+ back: null,
3183
+ close: null,
3184
+ connect: null,
3185
+ connectFailed: null,
3186
+ connected: null,
3187
+ connecting: null,
3188
+ connection: null,
3189
+ copied: null,
3190
+ copy: null,
3191
+ create: null,
3192
+ creating: null,
3193
+ dialogSubtitle: null,
3194
+ dialogTitle: null,
3195
+ disconnect: null,
3196
+ done: null,
3197
+ enterRoom: null,
3198
+ failed: null,
3199
+ guest: null,
3200
+ inviteLink: null,
3201
+ join: null,
3202
+ joinDescription: null,
3203
+ joinExisting: null,
3204
+ leave: null,
3205
+ leaveFailed: null,
3206
+ name: null,
3207
+ online: null,
3208
+ peers: null,
3209
+ people: null,
3210
+ person: null,
3211
+ reconnect: null,
3212
+ reconnecting: null,
3213
+ redo: null,
3214
+ room: null,
3215
+ roomSubtitle: null,
3216
+ roomTitle: null,
3217
+ save: null,
3218
+ scope: null,
3219
+ share: null,
3220
+ shareDescription: null,
3221
+ shareDocument: null,
3222
+ subtitle: null,
3223
+ title: null,
3224
+ undo: null,
3225
+ warning: null,
3226
+ you: null,
3227
+ outOfSync: null,
3228
+ outOfSyncShort: null,
3229
+ caretPages: null
3230
+ },
3231
+ collaboration: {
3232
+ moreParticipants: null,
3233
+ participants: null
2954
3234
  }
2955
3235
  };
2956
3236
 
@@ -3003,7 +3283,8 @@ var hi_default = {
3003
3283
  alignment: "संरेखण",
3004
3284
  listFormatting: "सूची प्रारूपण",
3005
3285
  image: "चित्र",
3006
- table: "तालिका"
3286
+ table: "तालिका",
3287
+ format: null
3007
3288
  },
3008
3289
  undo: "पूर्ववत करें",
3009
3290
  undoShortcut: "पूर्ववत करें (Ctrl+Z)",
@@ -3031,7 +3312,9 @@ var hi_default = {
3031
3312
  unavailableInPreview: "इस पूर्वावलोकन बिल्ड में उपलब्ध नहीं है",
3032
3313
  more: "अधिक",
3033
3314
  altText: "वैकल्पिक पाठ",
3034
- imageWrap: "पाठ रैप करें"
3315
+ imageWrap: "पाठ रैप करें",
3316
+ formatPainter: null,
3317
+ formatPainterShortcut: null
3035
3318
  },
3036
3319
  alignment: {
3037
3320
  alignLeft: "बाएं संरेखित करें",
@@ -3290,7 +3573,13 @@ var hi_default = {
3290
3573
  selectAll: "सभी चुनें",
3291
3574
  selectAllShortcut: "Ctrl+A",
3292
3575
  editCustomNode: "{label} संपादित करें",
3293
- removeCustomNode: "{label} निकालें"
3576
+ removeCustomNode: "{label} निकालें",
3577
+ pasteWithoutFormatting: null,
3578
+ pasteWithoutFormattingShortcut: null,
3579
+ copyFormatting: null,
3580
+ copyFormattingShortcut: null,
3581
+ pasteFormatting: null,
3582
+ pasteFormattingShortcut: null
3294
3583
  },
3295
3584
  documentOutline: {
3296
3585
  ariaLabel: "दस्तावेज़ की रूपरेखा",
@@ -3681,7 +3970,14 @@ var hi_default = {
3681
3970
  bodyOnlyNote: null,
3682
3971
  bodyOnlySectionBreak: null,
3683
3972
  bodyOnlyToc: null,
3684
- furnitureOnlyPageField: null
3973
+ furnitureOnlyPageField: null,
3974
+ suggestingSectionBreak: null,
3975
+ tableCellSectionBreak: null,
3976
+ lockedSectionBreak: null,
3977
+ lockedContentBreak: null,
3978
+ noCopiedFormatting: null,
3979
+ nothingToCopyFormatting: null,
3980
+ nothingToPaint: null
3685
3981
  },
3686
3982
  equationPopup: {
3687
3983
  apply: null,
@@ -3690,6 +3986,60 @@ var hi_default = {
3690
3986
  placeholder: null,
3691
3987
  refused: null,
3692
3988
  title: null
3989
+ },
3990
+ collaborationDemo: {
3991
+ back: null,
3992
+ close: null,
3993
+ connect: null,
3994
+ connectFailed: null,
3995
+ connected: null,
3996
+ connecting: null,
3997
+ connection: null,
3998
+ copied: null,
3999
+ copy: null,
4000
+ create: null,
4001
+ creating: null,
4002
+ dialogSubtitle: null,
4003
+ dialogTitle: null,
4004
+ disconnect: null,
4005
+ done: null,
4006
+ enterRoom: null,
4007
+ failed: null,
4008
+ guest: null,
4009
+ inviteLink: null,
4010
+ join: null,
4011
+ joinDescription: null,
4012
+ joinExisting: null,
4013
+ leave: null,
4014
+ leaveFailed: null,
4015
+ name: null,
4016
+ online: null,
4017
+ peers: null,
4018
+ people: null,
4019
+ person: null,
4020
+ reconnect: null,
4021
+ reconnecting: null,
4022
+ redo: null,
4023
+ room: null,
4024
+ roomSubtitle: null,
4025
+ roomTitle: null,
4026
+ save: null,
4027
+ scope: null,
4028
+ share: null,
4029
+ shareDescription: null,
4030
+ shareDocument: null,
4031
+ subtitle: null,
4032
+ title: null,
4033
+ undo: null,
4034
+ warning: null,
4035
+ you: null,
4036
+ outOfSync: null,
4037
+ outOfSyncShort: null,
4038
+ caretPages: null
4039
+ },
4040
+ collaboration: {
4041
+ moreParticipants: null,
4042
+ participants: null
3693
4043
  }
3694
4044
  };
3695
4045
 
@@ -3742,7 +4092,8 @@ var id_default = {
3742
4092
  alignment: "Perataan",
3743
4093
  listFormatting: "Pemformatan Daftar",
3744
4094
  image: "Gambar",
3745
- table: "Tabel"
4095
+ table: "Tabel",
4096
+ format: null
3746
4097
  },
3747
4098
  undo: "Urungkan",
3748
4099
  undoShortcut: "Urungkan (Ctrl+Z)",
@@ -3770,7 +4121,9 @@ var id_default = {
3770
4121
  unavailableInPreview: "Tidak tersedia dalam versi pratinjau ini",
3771
4122
  more: "Lainnya",
3772
4123
  altText: "Teks alternatif",
3773
- imageWrap: "Bungkus teks"
4124
+ imageWrap: "Bungkus teks",
4125
+ formatPainter: null,
4126
+ formatPainterShortcut: null
3774
4127
  },
3775
4128
  alignment: {
3776
4129
  alignLeft: "Rata Kiri",
@@ -4036,7 +4389,13 @@ var id_default = {
4036
4389
  selectAll: "Pilih Semua",
4037
4390
  selectAllShortcut: "Ctrl+A",
4038
4391
  editCustomNode: "Edit {label}",
4039
- removeCustomNode: "Hapus {label}"
4392
+ removeCustomNode: "Hapus {label}",
4393
+ pasteWithoutFormatting: null,
4394
+ pasteWithoutFormattingShortcut: null,
4395
+ copyFormatting: null,
4396
+ copyFormattingShortcut: null,
4397
+ pasteFormatting: null,
4398
+ pasteFormattingShortcut: null
4040
4399
  },
4041
4400
  documentOutline: {
4042
4401
  ariaLabel: "Struktur dokumen",
@@ -4420,7 +4779,14 @@ var id_default = {
4420
4779
  bodyOnlyNote: null,
4421
4780
  bodyOnlySectionBreak: null,
4422
4781
  bodyOnlyToc: null,
4423
- furnitureOnlyPageField: null
4782
+ furnitureOnlyPageField: null,
4783
+ suggestingSectionBreak: null,
4784
+ tableCellSectionBreak: null,
4785
+ lockedSectionBreak: null,
4786
+ lockedContentBreak: null,
4787
+ noCopiedFormatting: null,
4788
+ nothingToCopyFormatting: null,
4789
+ nothingToPaint: null
4424
4790
  },
4425
4791
  equationPopup: {
4426
4792
  apply: null,
@@ -4429,6 +4795,60 @@ var id_default = {
4429
4795
  placeholder: null,
4430
4796
  refused: null,
4431
4797
  title: null
4798
+ },
4799
+ collaborationDemo: {
4800
+ back: null,
4801
+ close: null,
4802
+ connect: null,
4803
+ connectFailed: null,
4804
+ connected: null,
4805
+ connecting: null,
4806
+ connection: null,
4807
+ copied: null,
4808
+ copy: null,
4809
+ create: null,
4810
+ creating: null,
4811
+ dialogSubtitle: null,
4812
+ dialogTitle: null,
4813
+ disconnect: null,
4814
+ done: null,
4815
+ enterRoom: null,
4816
+ failed: null,
4817
+ guest: null,
4818
+ inviteLink: null,
4819
+ join: null,
4820
+ joinDescription: null,
4821
+ joinExisting: null,
4822
+ leave: null,
4823
+ leaveFailed: null,
4824
+ name: null,
4825
+ online: null,
4826
+ peers: null,
4827
+ people: null,
4828
+ person: null,
4829
+ reconnect: null,
4830
+ reconnecting: null,
4831
+ redo: null,
4832
+ room: null,
4833
+ roomSubtitle: null,
4834
+ roomTitle: null,
4835
+ save: null,
4836
+ scope: null,
4837
+ share: null,
4838
+ shareDescription: null,
4839
+ shareDocument: null,
4840
+ subtitle: null,
4841
+ title: null,
4842
+ undo: null,
4843
+ warning: null,
4844
+ you: null,
4845
+ outOfSync: null,
4846
+ outOfSyncShort: null,
4847
+ caretPages: null
4848
+ },
4849
+ collaboration: {
4850
+ moreParticipants: null,
4851
+ participants: null
4432
4852
  }
4433
4853
  };
4434
4854
 
@@ -4481,7 +4901,8 @@ var pl_default = {
4481
4901
  alignment: "Wyrównanie",
4482
4902
  listFormatting: "Formatowanie listy",
4483
4903
  image: "Obraz",
4484
- table: "Tabela"
4904
+ table: "Tabela",
4905
+ format: null
4485
4906
  },
4486
4907
  undo: "Cofnij",
4487
4908
  undoShortcut: "Cofnij (Ctrl+Z)",
@@ -4509,7 +4930,9 @@ var pl_default = {
4509
4930
  unavailableInPreview: "Niedostępne w tej wersji zapoznawczej",
4510
4931
  more: "Więcej",
4511
4932
  altText: "Tekst alternatywny",
4512
- imageWrap: "Zawijaj tekst"
4933
+ imageWrap: "Zawijaj tekst",
4934
+ formatPainter: null,
4935
+ formatPainterShortcut: null
4513
4936
  },
4514
4937
  alignment: {
4515
4938
  alignLeft: "Wyrównaj do lewej",
@@ -4768,7 +5191,13 @@ var pl_default = {
4768
5191
  selectAll: "Zaznacz wszystko",
4769
5192
  selectAllShortcut: "Ctrl+A",
4770
5193
  editCustomNode: "Edytuj {label}",
4771
- removeCustomNode: "Usuń {label}"
5194
+ removeCustomNode: "Usuń {label}",
5195
+ pasteWithoutFormatting: null,
5196
+ pasteWithoutFormattingShortcut: null,
5197
+ copyFormatting: null,
5198
+ copyFormattingShortcut: null,
5199
+ pasteFormatting: null,
5200
+ pasteFormattingShortcut: null
4772
5201
  },
4773
5202
  documentOutline: {
4774
5203
  ariaLabel: "Konspekt dokumentu",
@@ -5159,7 +5588,14 @@ var pl_default = {
5159
5588
  bodyOnlyNote: null,
5160
5589
  bodyOnlySectionBreak: null,
5161
5590
  bodyOnlyToc: null,
5162
- furnitureOnlyPageField: null
5591
+ furnitureOnlyPageField: null,
5592
+ suggestingSectionBreak: null,
5593
+ tableCellSectionBreak: null,
5594
+ lockedSectionBreak: null,
5595
+ lockedContentBreak: null,
5596
+ noCopiedFormatting: null,
5597
+ nothingToCopyFormatting: null,
5598
+ nothingToPaint: null
5163
5599
  },
5164
5600
  equationPopup: {
5165
5601
  apply: null,
@@ -5168,6 +5604,60 @@ var pl_default = {
5168
5604
  placeholder: null,
5169
5605
  refused: null,
5170
5606
  title: null
5607
+ },
5608
+ collaborationDemo: {
5609
+ back: null,
5610
+ close: null,
5611
+ connect: null,
5612
+ connectFailed: null,
5613
+ connected: null,
5614
+ connecting: null,
5615
+ connection: null,
5616
+ copied: null,
5617
+ copy: null,
5618
+ create: null,
5619
+ creating: null,
5620
+ dialogSubtitle: null,
5621
+ dialogTitle: null,
5622
+ disconnect: null,
5623
+ done: null,
5624
+ enterRoom: null,
5625
+ failed: null,
5626
+ guest: null,
5627
+ inviteLink: null,
5628
+ join: null,
5629
+ joinDescription: null,
5630
+ joinExisting: null,
5631
+ leave: null,
5632
+ leaveFailed: null,
5633
+ name: null,
5634
+ online: null,
5635
+ peers: null,
5636
+ people: null,
5637
+ person: null,
5638
+ reconnect: null,
5639
+ reconnecting: null,
5640
+ redo: null,
5641
+ room: null,
5642
+ roomSubtitle: null,
5643
+ roomTitle: null,
5644
+ save: null,
5645
+ scope: null,
5646
+ share: null,
5647
+ shareDescription: null,
5648
+ shareDocument: null,
5649
+ subtitle: null,
5650
+ title: null,
5651
+ undo: null,
5652
+ warning: null,
5653
+ you: null,
5654
+ outOfSync: null,
5655
+ outOfSyncShort: null,
5656
+ caretPages: null
5657
+ },
5658
+ collaboration: {
5659
+ moreParticipants: null,
5660
+ participants: null
5171
5661
  }
5172
5662
  };
5173
5663
 
@@ -5220,7 +5710,8 @@ var pt_BR_default = {
5220
5710
  alignment: "Alinhamento",
5221
5711
  listFormatting: "Formatação de lista",
5222
5712
  image: "Imagem",
5223
- table: "Tabela"
5713
+ table: "Tabela",
5714
+ format: null
5224
5715
  },
5225
5716
  undo: "Desfazer",
5226
5717
  undoShortcut: "Desfazer (Ctrl+Z)",
@@ -5248,7 +5739,9 @@ var pt_BR_default = {
5248
5739
  unavailableInPreview: "Não disponível nesta versão de visualização",
5249
5740
  more: "Mais",
5250
5741
  altText: "Texto alternativo",
5251
- imageWrap: "Quebra de texto automática"
5742
+ imageWrap: "Quebra de texto automática",
5743
+ formatPainter: null,
5744
+ formatPainterShortcut: null
5252
5745
  },
5253
5746
  alignment: {
5254
5747
  alignLeft: "Alinhar à esquerda",
@@ -5507,7 +6000,13 @@ var pt_BR_default = {
5507
6000
  selectAll: "Selecionar tudo",
5508
6001
  selectAllShortcut: "Ctrl+A",
5509
6002
  editCustomNode: "Editar {label}",
5510
- removeCustomNode: "Remover {label}"
6003
+ removeCustomNode: "Remover {label}",
6004
+ pasteWithoutFormatting: null,
6005
+ pasteWithoutFormattingShortcut: null,
6006
+ copyFormatting: null,
6007
+ copyFormattingShortcut: null,
6008
+ pasteFormatting: null,
6009
+ pasteFormattingShortcut: null
5511
6010
  },
5512
6011
  documentOutline: {
5513
6012
  ariaLabel: "Estrutura do documento",
@@ -5898,7 +6397,14 @@ var pt_BR_default = {
5898
6397
  bodyOnlyNote: null,
5899
6398
  bodyOnlySectionBreak: null,
5900
6399
  bodyOnlyToc: null,
5901
- furnitureOnlyPageField: null
6400
+ furnitureOnlyPageField: null,
6401
+ suggestingSectionBreak: null,
6402
+ tableCellSectionBreak: null,
6403
+ lockedSectionBreak: null,
6404
+ lockedContentBreak: null,
6405
+ noCopiedFormatting: null,
6406
+ nothingToCopyFormatting: null,
6407
+ nothingToPaint: null
5902
6408
  },
5903
6409
  equationPopup: {
5904
6410
  apply: null,
@@ -5907,6 +6413,60 @@ var pt_BR_default = {
5907
6413
  placeholder: null,
5908
6414
  refused: null,
5909
6415
  title: null
6416
+ },
6417
+ collaborationDemo: {
6418
+ back: null,
6419
+ close: null,
6420
+ connect: null,
6421
+ connectFailed: null,
6422
+ connected: null,
6423
+ connecting: null,
6424
+ connection: null,
6425
+ copied: null,
6426
+ copy: null,
6427
+ create: null,
6428
+ creating: null,
6429
+ dialogSubtitle: null,
6430
+ dialogTitle: null,
6431
+ disconnect: null,
6432
+ done: null,
6433
+ enterRoom: null,
6434
+ failed: null,
6435
+ guest: null,
6436
+ inviteLink: null,
6437
+ join: null,
6438
+ joinDescription: null,
6439
+ joinExisting: null,
6440
+ leave: null,
6441
+ leaveFailed: null,
6442
+ name: null,
6443
+ online: null,
6444
+ peers: null,
6445
+ people: null,
6446
+ person: null,
6447
+ reconnect: null,
6448
+ reconnecting: null,
6449
+ redo: null,
6450
+ room: null,
6451
+ roomSubtitle: null,
6452
+ roomTitle: null,
6453
+ save: null,
6454
+ scope: null,
6455
+ share: null,
6456
+ shareDescription: null,
6457
+ shareDocument: null,
6458
+ subtitle: null,
6459
+ title: null,
6460
+ undo: null,
6461
+ warning: null,
6462
+ you: null,
6463
+ outOfSync: null,
6464
+ outOfSyncShort: null,
6465
+ caretPages: null
6466
+ },
6467
+ collaboration: {
6468
+ moreParticipants: null,
6469
+ participants: null
5910
6470
  }
5911
6471
  };
5912
6472
 
@@ -5959,7 +6519,8 @@ var tr_default = {
5959
6519
  alignment: "Hizalama",
5960
6520
  listFormatting: "Liste biçimlendirme",
5961
6521
  image: "Görsel",
5962
- table: "Tablo"
6522
+ table: "Tablo",
6523
+ format: null
5963
6524
  },
5964
6525
  undo: "Geri al",
5965
6526
  undoShortcut: "Geri al (Ctrl+Z)",
@@ -5987,7 +6548,9 @@ var tr_default = {
5987
6548
  unavailableInPreview: "Bu önizleme sürümünde kullanılamaz",
5988
6549
  more: "Diğer",
5989
6550
  altText: "Alternatif metin",
5990
- imageWrap: "Metni kaydır"
6551
+ imageWrap: "Metni kaydır",
6552
+ formatPainter: null,
6553
+ formatPainterShortcut: null
5991
6554
  },
5992
6555
  alignment: {
5993
6556
  alignLeft: "Sola hizala",
@@ -6246,7 +6809,13 @@ var tr_default = {
6246
6809
  selectAll: "Tümünü seç",
6247
6810
  selectAllShortcut: "Ctrl+A",
6248
6811
  editCustomNode: "{label} öğesini düzenle",
6249
- removeCustomNode: "{label} öğesini kaldır"
6812
+ removeCustomNode: "{label} öğesini kaldır",
6813
+ pasteWithoutFormatting: null,
6814
+ pasteWithoutFormattingShortcut: null,
6815
+ copyFormatting: null,
6816
+ copyFormattingShortcut: null,
6817
+ pasteFormatting: null,
6818
+ pasteFormattingShortcut: null
6250
6819
  },
6251
6820
  documentOutline: {
6252
6821
  ariaLabel: "Belge ana hattı",
@@ -6637,7 +7206,14 @@ var tr_default = {
6637
7206
  bodyOnlyNote: null,
6638
7207
  bodyOnlySectionBreak: null,
6639
7208
  bodyOnlyToc: null,
6640
- furnitureOnlyPageField: null
7209
+ furnitureOnlyPageField: null,
7210
+ suggestingSectionBreak: null,
7211
+ tableCellSectionBreak: null,
7212
+ lockedSectionBreak: null,
7213
+ lockedContentBreak: null,
7214
+ noCopiedFormatting: null,
7215
+ nothingToCopyFormatting: null,
7216
+ nothingToPaint: null
6641
7217
  },
6642
7218
  equationPopup: {
6643
7219
  apply: null,
@@ -6646,6 +7222,60 @@ var tr_default = {
6646
7222
  placeholder: null,
6647
7223
  refused: null,
6648
7224
  title: null
7225
+ },
7226
+ collaborationDemo: {
7227
+ back: null,
7228
+ close: null,
7229
+ connect: null,
7230
+ connectFailed: null,
7231
+ connected: null,
7232
+ connecting: null,
7233
+ connection: null,
7234
+ copied: null,
7235
+ copy: null,
7236
+ create: null,
7237
+ creating: null,
7238
+ dialogSubtitle: null,
7239
+ dialogTitle: null,
7240
+ disconnect: null,
7241
+ done: null,
7242
+ enterRoom: null,
7243
+ failed: null,
7244
+ guest: null,
7245
+ inviteLink: null,
7246
+ join: null,
7247
+ joinDescription: null,
7248
+ joinExisting: null,
7249
+ leave: null,
7250
+ leaveFailed: null,
7251
+ name: null,
7252
+ online: null,
7253
+ peers: null,
7254
+ people: null,
7255
+ person: null,
7256
+ reconnect: null,
7257
+ reconnecting: null,
7258
+ redo: null,
7259
+ room: null,
7260
+ roomSubtitle: null,
7261
+ roomTitle: null,
7262
+ save: null,
7263
+ scope: null,
7264
+ share: null,
7265
+ shareDescription: null,
7266
+ shareDocument: null,
7267
+ subtitle: null,
7268
+ title: null,
7269
+ undo: null,
7270
+ warning: null,
7271
+ you: null,
7272
+ outOfSync: null,
7273
+ outOfSyncShort: null,
7274
+ caretPages: null
7275
+ },
7276
+ collaboration: {
7277
+ moreParticipants: null,
7278
+ participants: null
6649
7279
  }
6650
7280
  };
6651
7281
 
@@ -6698,7 +7328,8 @@ var zh_CN_default = {
6698
7328
  alignment: "对齐",
6699
7329
  listFormatting: "列表格式",
6700
7330
  image: "图片",
6701
- table: "表格"
7331
+ table: "表格",
7332
+ format: null
6702
7333
  },
6703
7334
  undo: "撤销",
6704
7335
  undoShortcut: "撤销(Ctrl+Z)",
@@ -6726,7 +7357,9 @@ var zh_CN_default = {
6726
7357
  unavailableInPreview: "此预览版本中不可用",
6727
7358
  more: "更多",
6728
7359
  altText: "替换文字",
6729
- imageWrap: "环绕文字"
7360
+ imageWrap: "环绕文字",
7361
+ formatPainter: null,
7362
+ formatPainterShortcut: null
6730
7363
  },
6731
7364
  alignment: {
6732
7365
  alignLeft: "左对齐",
@@ -6985,7 +7618,13 @@ var zh_CN_default = {
6985
7618
  selectAll: "全选",
6986
7619
  selectAllShortcut: "Ctrl+A",
6987
7620
  editCustomNode: "编辑{label}",
6988
- removeCustomNode: "删除{label}"
7621
+ removeCustomNode: "删除{label}",
7622
+ pasteWithoutFormatting: null,
7623
+ pasteWithoutFormattingShortcut: null,
7624
+ copyFormatting: null,
7625
+ copyFormattingShortcut: null,
7626
+ pasteFormatting: null,
7627
+ pasteFormattingShortcut: null
6989
7628
  },
6990
7629
  documentOutline: {
6991
7630
  ariaLabel: "文档大纲",
@@ -7376,7 +8015,14 @@ var zh_CN_default = {
7376
8015
  bodyOnlyNote: null,
7377
8016
  bodyOnlySectionBreak: null,
7378
8017
  bodyOnlyToc: null,
7379
- furnitureOnlyPageField: null
8018
+ furnitureOnlyPageField: null,
8019
+ suggestingSectionBreak: null,
8020
+ tableCellSectionBreak: null,
8021
+ lockedSectionBreak: null,
8022
+ lockedContentBreak: null,
8023
+ noCopiedFormatting: null,
8024
+ nothingToCopyFormatting: null,
8025
+ nothingToPaint: null
7380
8026
  },
7381
8027
  equationPopup: {
7382
8028
  apply: null,
@@ -7385,9 +8031,131 @@ var zh_CN_default = {
7385
8031
  placeholder: null,
7386
8032
  refused: null,
7387
8033
  title: null
8034
+ },
8035
+ collaborationDemo: {
8036
+ back: null,
8037
+ close: null,
8038
+ connect: null,
8039
+ connectFailed: null,
8040
+ connected: null,
8041
+ connecting: null,
8042
+ connection: null,
8043
+ copied: null,
8044
+ copy: null,
8045
+ create: null,
8046
+ creating: null,
8047
+ dialogSubtitle: null,
8048
+ dialogTitle: null,
8049
+ disconnect: null,
8050
+ done: null,
8051
+ enterRoom: null,
8052
+ failed: null,
8053
+ guest: null,
8054
+ inviteLink: null,
8055
+ join: null,
8056
+ joinDescription: null,
8057
+ joinExisting: null,
8058
+ leave: null,
8059
+ leaveFailed: null,
8060
+ name: null,
8061
+ online: null,
8062
+ peers: null,
8063
+ people: null,
8064
+ person: null,
8065
+ reconnect: null,
8066
+ reconnecting: null,
8067
+ redo: null,
8068
+ room: null,
8069
+ roomSubtitle: null,
8070
+ roomTitle: null,
8071
+ save: null,
8072
+ scope: null,
8073
+ share: null,
8074
+ shareDescription: null,
8075
+ shareDocument: null,
8076
+ subtitle: null,
8077
+ title: null,
8078
+ undo: null,
8079
+ warning: null,
8080
+ you: null,
8081
+ outOfSync: null,
8082
+ outOfSyncShort: null,
8083
+ caretPages: null
8084
+ },
8085
+ collaboration: {
8086
+ moreParticipants: null,
8087
+ participants: null
7388
8088
  }
7389
8089
  };
7390
8090
 
8091
+ // src/disabled-reasons.ts
8092
+ var DISABLED_REASON_KEYS = Object.freeze({
8093
+ "editor is not ready": "disabledReason.editorNotReady",
8094
+ "not wired to an editor command": "disabledReason.notWired",
8095
+ "this document was opened for viewing": "disabledReason.viewing",
8096
+ "the document is open for viewing": "disabledReason.viewing",
8097
+ "this document permits editing only as tracked changes": "disabledReason.trackedOnly",
8098
+ "no document is loaded": "disabledReason.noDocument",
8099
+ "no document is open": "disabledReason.noDocument",
8100
+ "no content control at the selection": "disabledReason.noContentControl",
8101
+ // Keyed on `NO_COPIED_FORMATTING` in the engine's format-painter lane; the two must stay
8102
+ // the same sentence or the refusal reaches every locale in English.
8103
+ "no formatting has been copied": "disabledReason.noCopiedFormatting",
8104
+ "there is nothing at the selection to copy": "disabledReason.nothingToCopyFormatting",
8105
+ "the selection has nothing to paint": "disabledReason.nothingToPaint",
8106
+ "no drawing is selected": "disabledReason.noDrawing",
8107
+ "the drawing is locked": "disabledReason.drawingLocked",
8108
+ "a comment needs a selected range": "disabledReason.commentSelection",
8109
+ "cell merge is not supported yet": "disabledReason.mergeUnsupported",
8110
+ "cell split is not supported yet": "disabledReason.splitUnsupported",
8111
+ "image changes are not supported in suggesting mode": "disabledReason.imageSuggesting",
8112
+ "invalid table chrome value": "disabledReason.invalidValue",
8113
+ "invalid value for toolbar command": "disabledReason.invalidValue",
8114
+ "unsupported table command": "disabledReason.unavailable",
8115
+ // Scope refusals. Each names a story limit the engine really enforces, so each is chrome the
8116
+ // user reads — and each rendered as raw English in every locale until it was listed here.
8117
+ "a section break can only be inserted in the editable document body": "disabledReason.bodyOnlySectionBreak",
8118
+ "a table of contents can only be inserted in the editable document body": "disabledReason.bodyOnlyToc",
8119
+ "insertNote requires body scope": "disabledReason.bodyOnlyNote",
8120
+ "insertPageField requires an open header or footer scope": "disabledReason.furnitureOnlyPageField",
8121
+ // Not a scope refusal: the story is right and the MODE is not. A section break's type
8122
+ // lands on the section that follows it, and Word's record for that change is one this
8123
+ // engine refuses to accept or reject — so it cannot be proposed.
8124
+ "a section break that changes where the next section starts cannot be suggested; turn off suggesting to insert it": "disabledReason.suggestingSectionBreak",
8125
+ "a section break cannot be inserted inside a table cell": "disabledReason.tableCellSectionBreak",
8126
+ // Deliberately NOT the store's `locked` / `bound` enums. Those are shared by every op —
8127
+ // `locked` covers a locked CONTROL whose content is editable as well as locked content —
8128
+ // so one sentence cannot be true of all of them. Each lane says what its own refusal means.
8129
+ "a section break cannot change a section that a locked or linked content control holds": "disabledReason.lockedSectionBreak",
8130
+ "a section break cannot be inserted in locked or linked content": "disabledReason.lockedContentBreak"
8131
+ });
8132
+ function localizeDisabledReason(reason, t) {
8133
+ if (!reason) return null;
8134
+ const key = Object.prototype.hasOwnProperty.call(DISABLED_REASON_KEYS, reason) ? DISABLED_REASON_KEYS[reason] : void 0;
8135
+ return key ? t(key) : reason;
8136
+ }
8137
+
8138
+ // src/platform-shortcuts.ts
8139
+ var APPLE_PLATFORM = /mac|iphone|ipad|ipod/i;
8140
+ function isApplePlatform() {
8141
+ const agent = globalThis.navigator;
8142
+ if (!agent) return false;
8143
+ const declared = agent.userAgentData?.platform;
8144
+ if (typeof declared === "string" && declared.length > 0) return APPLE_PLATFORM.test(declared);
8145
+ return APPLE_PLATFORM.test(agent.platform ?? "");
8146
+ }
8147
+ var ACCELERATOR = /Ctrl(?=\s*\+)/;
8148
+ var APPLE_MODIFIERS = [
8149
+ [/Ctrl(?=\s*\+)/g, "⌘"],
8150
+ [/Alt(?=\s*\+)/g, "Option"]
8151
+ ];
8152
+ function platformShortcut(text) {
8153
+ if (!ACCELERATOR.test(text) || !isApplePlatform()) return text;
8154
+ let next = text;
8155
+ for (const [pattern, replacement] of APPLE_MODIFIERS) next = next.replace(pattern, replacement);
8156
+ return next;
8157
+ }
8158
+
7391
8159
  // src/index.ts
7392
8160
  var en = en_default;
7393
8161
  var de = de_default;
@@ -7476,36 +8244,6 @@ function formatMessage(template, vars, lang) {
7476
8244
  return val !== void 0 ? String(val) : `{${key}}`;
7477
8245
  });
7478
8246
  }
7479
- var DISABLED_REASON_KEYS = Object.freeze({
7480
- "editor is not ready": "disabledReason.editorNotReady",
7481
- "not wired to an editor command": "disabledReason.notWired",
7482
- "this document was opened for viewing": "disabledReason.viewing",
7483
- "the document is open for viewing": "disabledReason.viewing",
7484
- "this document permits editing only as tracked changes": "disabledReason.trackedOnly",
7485
- "no document is loaded": "disabledReason.noDocument",
7486
- "no document is open": "disabledReason.noDocument",
7487
- "no content control at the selection": "disabledReason.noContentControl",
7488
- "no drawing is selected": "disabledReason.noDrawing",
7489
- "the drawing is locked": "disabledReason.drawingLocked",
7490
- "a comment needs a selected range": "disabledReason.commentSelection",
7491
- "cell merge is not supported yet": "disabledReason.mergeUnsupported",
7492
- "cell split is not supported yet": "disabledReason.splitUnsupported",
7493
- "image property edits are not supported in suggesting mode": "disabledReason.imageSuggesting",
7494
- "invalid table chrome value": "disabledReason.invalidValue",
7495
- "invalid value for toolbar command": "disabledReason.invalidValue",
7496
- "unsupported table command": "disabledReason.unavailable",
7497
- // Scope refusals. Each names a story limit the engine really enforces, so each is chrome the
7498
- // user reads — and each rendered as raw English in every locale until it was listed here.
7499
- "a section break can only be inserted in the editable document body": "disabledReason.bodyOnlySectionBreak",
7500
- "a table of contents can only be inserted in the editable document body": "disabledReason.bodyOnlyToc",
7501
- "insertNote requires body scope": "disabledReason.bodyOnlyNote",
7502
- "insertPageField requires an open header or footer scope": "disabledReason.furnitureOnlyPageField"
7503
- });
7504
- function localizeDisabledReason(reason, t) {
7505
- if (!reason) return null;
7506
- const key = DISABLED_REASON_KEYS[reason];
7507
- return key ? t(key) : reason;
7508
- }
7509
8247
  function createT(strings, lang = "en") {
7510
8248
  return (key, vars) => {
7511
8249
  const value = lookupKey(strings, key);
@@ -7524,6 +8262,7 @@ export {
7524
8262
  locales,
7525
8263
  localizeDisabledReason,
7526
8264
  pl,
8265
+ platformShortcut,
7527
8266
  ptBR,
7528
8267
  tr,
7529
8268
  zhCN