@docx-editor.dev/i18n 2.10.0 → 2.12.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,6 +15,7 @@ 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",
@@ -30,7 +31,9 @@ var en_default = {
30
31
  suggestingSectionBreak: "Turn off suggesting to insert this section break. It changes where the next section starts, which can't be suggested.",
31
32
  tableCellSectionBreak: "Section breaks go outside a table.",
32
33
  lockedSectionBreak: "A locked or linked content control holds the next section, so this break can't change it.",
33
- lockedContentBreak: "A content control locks this text, so you can't break a section here."
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"
34
37
  },
35
38
  toolbar: {
36
39
  ariaLabel: "Formatting toolbar",
@@ -74,6 +77,7 @@ var en_default = {
74
77
  script: "Script",
75
78
  alignment: "Alignment",
76
79
  listFormatting: "List formatting",
80
+ format: "Format",
77
81
  image: "Image",
78
82
  table: "Table"
79
83
  },
@@ -101,6 +105,8 @@ var en_default = {
101
105
  imageWrap: "Wrap text",
102
106
  altText: "Alt text",
103
107
  clearFormatting: "Clear formatting",
108
+ formatPainter: "Format painter",
109
+ formatPainterShortcut: "Format painter (Ctrl+Alt+C, Ctrl+Alt+V)",
104
110
  commentsAndChanges: "Comments & Changes",
105
111
  more: "More",
106
112
  unavailableInPreview: "Not available in this preview build"
@@ -366,6 +372,10 @@ var en_default = {
366
372
  pasteShortcut: "Ctrl+V",
367
373
  pasteWithoutFormatting: "Paste without formatting",
368
374
  pasteWithoutFormattingShortcut: "Ctrl+Shift+V",
375
+ copyFormatting: "Copy formatting",
376
+ copyFormattingShortcut: "Ctrl+Alt+C",
377
+ pasteFormatting: "Paste formatting",
378
+ pasteFormattingShortcut: "Ctrl+Alt+V",
369
379
  delete: "Delete",
370
380
  deleteShortcut: "Del",
371
381
  selectAll: "Select All",
@@ -720,6 +730,60 @@ var en_default = {
720
730
  viewing: "Viewing",
721
731
  viewingHint: "Read-only, no edits"
722
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
+ },
723
787
  review: {
724
788
  ariaLabel: "Review",
725
789
  empty: "No changes or comments",
@@ -792,7 +856,8 @@ var de_default = {
792
856
  alignment: "Ausrichtung",
793
857
  listFormatting: "Listenformatierung",
794
858
  image: "Grafik",
795
- table: "Tabelle"
859
+ table: "Tabelle",
860
+ format: null
796
861
  },
797
862
  undo: "Rückgängig",
798
863
  undoShortcut: "Rückgängig (Strg+Z)",
@@ -820,7 +885,9 @@ var de_default = {
820
885
  unavailableInPreview: "In dieser Vorschauversion nicht verfügbar",
821
886
  more: "Mehr",
822
887
  altText: "Alternativtext",
823
- imageWrap: "Textumbruch"
888
+ imageWrap: "Textumbruch",
889
+ formatPainter: null,
890
+ formatPainterShortcut: null
824
891
  },
825
892
  alignment: {
826
893
  alignLeft: "Linksbündig",
@@ -1081,7 +1148,11 @@ var de_default = {
1081
1148
  editCustomNode: "{label} bearbeiten",
1082
1149
  removeCustomNode: "{label} entfernen",
1083
1150
  pasteWithoutFormatting: null,
1084
- pasteWithoutFormattingShortcut: null
1151
+ pasteWithoutFormattingShortcut: null,
1152
+ copyFormatting: null,
1153
+ copyFormattingShortcut: null,
1154
+ pasteFormatting: null,
1155
+ pasteFormattingShortcut: null
1085
1156
  },
1086
1157
  documentOutline: {
1087
1158
  ariaLabel: "Dokumentgliederung",
@@ -1476,7 +1547,10 @@ var de_default = {
1476
1547
  suggestingSectionBreak: null,
1477
1548
  tableCellSectionBreak: null,
1478
1549
  lockedSectionBreak: null,
1479
- lockedContentBreak: null
1550
+ lockedContentBreak: null,
1551
+ noCopiedFormatting: null,
1552
+ nothingToCopyFormatting: null,
1553
+ nothingToPaint: null
1480
1554
  },
1481
1555
  equationPopup: {
1482
1556
  apply: null,
@@ -1485,6 +1559,60 @@ var de_default = {
1485
1559
  placeholder: null,
1486
1560
  refused: null,
1487
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
1488
1616
  }
1489
1617
  };
1490
1618
 
@@ -1537,7 +1665,8 @@ var fr_default = {
1537
1665
  alignment: "Alignement",
1538
1666
  listFormatting: "Format de liste",
1539
1667
  image: "Image",
1540
- table: "Tableau"
1668
+ table: "Tableau",
1669
+ format: null
1541
1670
  },
1542
1671
  undo: "Annuler",
1543
1672
  undoShortcut: "Annuler (Ctrl+Z)",
@@ -1565,7 +1694,9 @@ var fr_default = {
1565
1694
  unavailableInPreview: "Non disponible dans cette version préliminaire",
1566
1695
  more: "Plus",
1567
1696
  altText: "Texte de remplacement",
1568
- imageWrap: "Habillage du texte"
1697
+ imageWrap: "Habillage du texte",
1698
+ formatPainter: null,
1699
+ formatPainterShortcut: null
1569
1700
  },
1570
1701
  alignment: {
1571
1702
  alignLeft: "Aligner à gauche",
@@ -1826,7 +1957,11 @@ var fr_default = {
1826
1957
  editCustomNode: "Modifier {label}",
1827
1958
  removeCustomNode: "Supprimer {label}",
1828
1959
  pasteWithoutFormatting: null,
1829
- pasteWithoutFormattingShortcut: null
1960
+ pasteWithoutFormattingShortcut: null,
1961
+ copyFormatting: null,
1962
+ copyFormattingShortcut: null,
1963
+ pasteFormatting: null,
1964
+ pasteFormattingShortcut: null
1830
1965
  },
1831
1966
  documentOutline: {
1832
1967
  ariaLabel: "Plan du document",
@@ -2221,7 +2356,10 @@ var fr_default = {
2221
2356
  suggestingSectionBreak: null,
2222
2357
  tableCellSectionBreak: null,
2223
2358
  lockedSectionBreak: null,
2224
- lockedContentBreak: null
2359
+ lockedContentBreak: null,
2360
+ noCopiedFormatting: null,
2361
+ nothingToCopyFormatting: null,
2362
+ nothingToPaint: null
2225
2363
  },
2226
2364
  equationPopup: {
2227
2365
  apply: null,
@@ -2230,6 +2368,60 @@ var fr_default = {
2230
2368
  placeholder: null,
2231
2369
  refused: null,
2232
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
2233
2425
  }
2234
2426
  };
2235
2427
 
@@ -2282,7 +2474,8 @@ var he_default = {
2282
2474
  alignment: "יישור טקסט",
2283
2475
  listFormatting: "עיצוב רשימה",
2284
2476
  image: "תמונה",
2285
- table: "טבלה"
2477
+ table: "טבלה",
2478
+ format: null
2286
2479
  },
2287
2480
  undo: "בטל",
2288
2481
  undoShortcut: "בטל (Ctrl+Z)",
@@ -2310,7 +2503,9 @@ var he_default = {
2310
2503
  unavailableInPreview: "לא זמין בגרסת תצוגה מקדימה זו",
2311
2504
  more: "עוד",
2312
2505
  altText: "טקסט חלופי",
2313
- imageWrap: "גלישת טקסט"
2506
+ imageWrap: "גלישת טקסט",
2507
+ formatPainter: null,
2508
+ formatPainterShortcut: null
2314
2509
  },
2315
2510
  alignment: {
2316
2511
  alignLeft: "יישור לשמאל",
@@ -2571,7 +2766,11 @@ var he_default = {
2571
2766
  editCustomNode: "ערוך {label}",
2572
2767
  removeCustomNode: "הסר {label}",
2573
2768
  pasteWithoutFormatting: null,
2574
- pasteWithoutFormattingShortcut: null
2769
+ pasteWithoutFormattingShortcut: null,
2770
+ copyFormatting: null,
2771
+ copyFormattingShortcut: null,
2772
+ pasteFormatting: null,
2773
+ pasteFormattingShortcut: null
2575
2774
  },
2576
2775
  documentOutline: {
2577
2776
  ariaLabel: "מתווה המסמך",
@@ -2966,7 +3165,10 @@ var he_default = {
2966
3165
  suggestingSectionBreak: null,
2967
3166
  tableCellSectionBreak: null,
2968
3167
  lockedSectionBreak: null,
2969
- lockedContentBreak: null
3168
+ lockedContentBreak: null,
3169
+ noCopiedFormatting: null,
3170
+ nothingToCopyFormatting: null,
3171
+ nothingToPaint: null
2970
3172
  },
2971
3173
  equationPopup: {
2972
3174
  apply: null,
@@ -2975,6 +3177,60 @@ var he_default = {
2975
3177
  placeholder: null,
2976
3178
  refused: null,
2977
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
2978
3234
  }
2979
3235
  };
2980
3236
 
@@ -3027,7 +3283,8 @@ var hi_default = {
3027
3283
  alignment: "संरेखण",
3028
3284
  listFormatting: "सूची प्रारूपण",
3029
3285
  image: "चित्र",
3030
- table: "तालिका"
3286
+ table: "तालिका",
3287
+ format: null
3031
3288
  },
3032
3289
  undo: "पूर्ववत करें",
3033
3290
  undoShortcut: "पूर्ववत करें (Ctrl+Z)",
@@ -3055,7 +3312,9 @@ var hi_default = {
3055
3312
  unavailableInPreview: "इस पूर्वावलोकन बिल्ड में उपलब्ध नहीं है",
3056
3313
  more: "अधिक",
3057
3314
  altText: "वैकल्पिक पाठ",
3058
- imageWrap: "पाठ रैप करें"
3315
+ imageWrap: "पाठ रैप करें",
3316
+ formatPainter: null,
3317
+ formatPainterShortcut: null
3059
3318
  },
3060
3319
  alignment: {
3061
3320
  alignLeft: "बाएं संरेखित करें",
@@ -3316,7 +3575,11 @@ var hi_default = {
3316
3575
  editCustomNode: "{label} संपादित करें",
3317
3576
  removeCustomNode: "{label} निकालें",
3318
3577
  pasteWithoutFormatting: null,
3319
- pasteWithoutFormattingShortcut: null
3578
+ pasteWithoutFormattingShortcut: null,
3579
+ copyFormatting: null,
3580
+ copyFormattingShortcut: null,
3581
+ pasteFormatting: null,
3582
+ pasteFormattingShortcut: null
3320
3583
  },
3321
3584
  documentOutline: {
3322
3585
  ariaLabel: "दस्तावेज़ की रूपरेखा",
@@ -3711,7 +3974,10 @@ var hi_default = {
3711
3974
  suggestingSectionBreak: null,
3712
3975
  tableCellSectionBreak: null,
3713
3976
  lockedSectionBreak: null,
3714
- lockedContentBreak: null
3977
+ lockedContentBreak: null,
3978
+ noCopiedFormatting: null,
3979
+ nothingToCopyFormatting: null,
3980
+ nothingToPaint: null
3715
3981
  },
3716
3982
  equationPopup: {
3717
3983
  apply: null,
@@ -3720,6 +3986,60 @@ var hi_default = {
3720
3986
  placeholder: null,
3721
3987
  refused: null,
3722
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
3723
4043
  }
3724
4044
  };
3725
4045
 
@@ -3772,7 +4092,8 @@ var id_default = {
3772
4092
  alignment: "Perataan",
3773
4093
  listFormatting: "Pemformatan Daftar",
3774
4094
  image: "Gambar",
3775
- table: "Tabel"
4095
+ table: "Tabel",
4096
+ format: null
3776
4097
  },
3777
4098
  undo: "Urungkan",
3778
4099
  undoShortcut: "Urungkan (Ctrl+Z)",
@@ -3800,7 +4121,9 @@ var id_default = {
3800
4121
  unavailableInPreview: "Tidak tersedia dalam versi pratinjau ini",
3801
4122
  more: "Lainnya",
3802
4123
  altText: "Teks alternatif",
3803
- imageWrap: "Bungkus teks"
4124
+ imageWrap: "Bungkus teks",
4125
+ formatPainter: null,
4126
+ formatPainterShortcut: null
3804
4127
  },
3805
4128
  alignment: {
3806
4129
  alignLeft: "Rata Kiri",
@@ -4068,7 +4391,11 @@ var id_default = {
4068
4391
  editCustomNode: "Edit {label}",
4069
4392
  removeCustomNode: "Hapus {label}",
4070
4393
  pasteWithoutFormatting: null,
4071
- pasteWithoutFormattingShortcut: null
4394
+ pasteWithoutFormattingShortcut: null,
4395
+ copyFormatting: null,
4396
+ copyFormattingShortcut: null,
4397
+ pasteFormatting: null,
4398
+ pasteFormattingShortcut: null
4072
4399
  },
4073
4400
  documentOutline: {
4074
4401
  ariaLabel: "Struktur dokumen",
@@ -4456,7 +4783,10 @@ var id_default = {
4456
4783
  suggestingSectionBreak: null,
4457
4784
  tableCellSectionBreak: null,
4458
4785
  lockedSectionBreak: null,
4459
- lockedContentBreak: null
4786
+ lockedContentBreak: null,
4787
+ noCopiedFormatting: null,
4788
+ nothingToCopyFormatting: null,
4789
+ nothingToPaint: null
4460
4790
  },
4461
4791
  equationPopup: {
4462
4792
  apply: null,
@@ -4465,6 +4795,60 @@ var id_default = {
4465
4795
  placeholder: null,
4466
4796
  refused: null,
4467
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
4468
4852
  }
4469
4853
  };
4470
4854
 
@@ -4517,7 +4901,8 @@ var pl_default = {
4517
4901
  alignment: "Wyrównanie",
4518
4902
  listFormatting: "Formatowanie listy",
4519
4903
  image: "Obraz",
4520
- table: "Tabela"
4904
+ table: "Tabela",
4905
+ format: null
4521
4906
  },
4522
4907
  undo: "Cofnij",
4523
4908
  undoShortcut: "Cofnij (Ctrl+Z)",
@@ -4545,7 +4930,9 @@ var pl_default = {
4545
4930
  unavailableInPreview: "Niedostępne w tej wersji zapoznawczej",
4546
4931
  more: "Więcej",
4547
4932
  altText: "Tekst alternatywny",
4548
- imageWrap: "Zawijaj tekst"
4933
+ imageWrap: "Zawijaj tekst",
4934
+ formatPainter: null,
4935
+ formatPainterShortcut: null
4549
4936
  },
4550
4937
  alignment: {
4551
4938
  alignLeft: "Wyrównaj do lewej",
@@ -4806,7 +5193,11 @@ var pl_default = {
4806
5193
  editCustomNode: "Edytuj {label}",
4807
5194
  removeCustomNode: "Usuń {label}",
4808
5195
  pasteWithoutFormatting: null,
4809
- pasteWithoutFormattingShortcut: null
5196
+ pasteWithoutFormattingShortcut: null,
5197
+ copyFormatting: null,
5198
+ copyFormattingShortcut: null,
5199
+ pasteFormatting: null,
5200
+ pasteFormattingShortcut: null
4810
5201
  },
4811
5202
  documentOutline: {
4812
5203
  ariaLabel: "Konspekt dokumentu",
@@ -5201,7 +5592,10 @@ var pl_default = {
5201
5592
  suggestingSectionBreak: null,
5202
5593
  tableCellSectionBreak: null,
5203
5594
  lockedSectionBreak: null,
5204
- lockedContentBreak: null
5595
+ lockedContentBreak: null,
5596
+ noCopiedFormatting: null,
5597
+ nothingToCopyFormatting: null,
5598
+ nothingToPaint: null
5205
5599
  },
5206
5600
  equationPopup: {
5207
5601
  apply: null,
@@ -5210,6 +5604,60 @@ var pl_default = {
5210
5604
  placeholder: null,
5211
5605
  refused: null,
5212
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
5213
5661
  }
5214
5662
  };
5215
5663
 
@@ -5262,7 +5710,8 @@ var pt_BR_default = {
5262
5710
  alignment: "Alinhamento",
5263
5711
  listFormatting: "Formatação de lista",
5264
5712
  image: "Imagem",
5265
- table: "Tabela"
5713
+ table: "Tabela",
5714
+ format: null
5266
5715
  },
5267
5716
  undo: "Desfazer",
5268
5717
  undoShortcut: "Desfazer (Ctrl+Z)",
@@ -5290,7 +5739,9 @@ var pt_BR_default = {
5290
5739
  unavailableInPreview: "Não disponível nesta versão de visualização",
5291
5740
  more: "Mais",
5292
5741
  altText: "Texto alternativo",
5293
- imageWrap: "Quebra de texto automática"
5742
+ imageWrap: "Quebra de texto automática",
5743
+ formatPainter: null,
5744
+ formatPainterShortcut: null
5294
5745
  },
5295
5746
  alignment: {
5296
5747
  alignLeft: "Alinhar à esquerda",
@@ -5551,7 +6002,11 @@ var pt_BR_default = {
5551
6002
  editCustomNode: "Editar {label}",
5552
6003
  removeCustomNode: "Remover {label}",
5553
6004
  pasteWithoutFormatting: null,
5554
- pasteWithoutFormattingShortcut: null
6005
+ pasteWithoutFormattingShortcut: null,
6006
+ copyFormatting: null,
6007
+ copyFormattingShortcut: null,
6008
+ pasteFormatting: null,
6009
+ pasteFormattingShortcut: null
5555
6010
  },
5556
6011
  documentOutline: {
5557
6012
  ariaLabel: "Estrutura do documento",
@@ -5946,7 +6401,10 @@ var pt_BR_default = {
5946
6401
  suggestingSectionBreak: null,
5947
6402
  tableCellSectionBreak: null,
5948
6403
  lockedSectionBreak: null,
5949
- lockedContentBreak: null
6404
+ lockedContentBreak: null,
6405
+ noCopiedFormatting: null,
6406
+ nothingToCopyFormatting: null,
6407
+ nothingToPaint: null
5950
6408
  },
5951
6409
  equationPopup: {
5952
6410
  apply: null,
@@ -5955,6 +6413,60 @@ var pt_BR_default = {
5955
6413
  placeholder: null,
5956
6414
  refused: null,
5957
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
5958
6470
  }
5959
6471
  };
5960
6472
 
@@ -6007,7 +6519,8 @@ var tr_default = {
6007
6519
  alignment: "Hizalama",
6008
6520
  listFormatting: "Liste biçimlendirme",
6009
6521
  image: "Görsel",
6010
- table: "Tablo"
6522
+ table: "Tablo",
6523
+ format: null
6011
6524
  },
6012
6525
  undo: "Geri al",
6013
6526
  undoShortcut: "Geri al (Ctrl+Z)",
@@ -6035,7 +6548,9 @@ var tr_default = {
6035
6548
  unavailableInPreview: "Bu önizleme sürümünde kullanılamaz",
6036
6549
  more: "Diğer",
6037
6550
  altText: "Alternatif metin",
6038
- imageWrap: "Metni kaydır"
6551
+ imageWrap: "Metni kaydır",
6552
+ formatPainter: null,
6553
+ formatPainterShortcut: null
6039
6554
  },
6040
6555
  alignment: {
6041
6556
  alignLeft: "Sola hizala",
@@ -6296,7 +6811,11 @@ var tr_default = {
6296
6811
  editCustomNode: "{label} öğesini düzenle",
6297
6812
  removeCustomNode: "{label} öğesini kaldır",
6298
6813
  pasteWithoutFormatting: null,
6299
- pasteWithoutFormattingShortcut: null
6814
+ pasteWithoutFormattingShortcut: null,
6815
+ copyFormatting: null,
6816
+ copyFormattingShortcut: null,
6817
+ pasteFormatting: null,
6818
+ pasteFormattingShortcut: null
6300
6819
  },
6301
6820
  documentOutline: {
6302
6821
  ariaLabel: "Belge ana hattı",
@@ -6691,7 +7210,10 @@ var tr_default = {
6691
7210
  suggestingSectionBreak: null,
6692
7211
  tableCellSectionBreak: null,
6693
7212
  lockedSectionBreak: null,
6694
- lockedContentBreak: null
7213
+ lockedContentBreak: null,
7214
+ noCopiedFormatting: null,
7215
+ nothingToCopyFormatting: null,
7216
+ nothingToPaint: null
6695
7217
  },
6696
7218
  equationPopup: {
6697
7219
  apply: null,
@@ -6700,6 +7222,60 @@ var tr_default = {
6700
7222
  placeholder: null,
6701
7223
  refused: null,
6702
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
6703
7279
  }
6704
7280
  };
6705
7281
 
@@ -6752,7 +7328,8 @@ var zh_CN_default = {
6752
7328
  alignment: "对齐",
6753
7329
  listFormatting: "列表格式",
6754
7330
  image: "图片",
6755
- table: "表格"
7331
+ table: "表格",
7332
+ format: null
6756
7333
  },
6757
7334
  undo: "撤销",
6758
7335
  undoShortcut: "撤销(Ctrl+Z)",
@@ -6780,7 +7357,9 @@ var zh_CN_default = {
6780
7357
  unavailableInPreview: "此预览版本中不可用",
6781
7358
  more: "更多",
6782
7359
  altText: "替换文字",
6783
- imageWrap: "环绕文字"
7360
+ imageWrap: "环绕文字",
7361
+ formatPainter: null,
7362
+ formatPainterShortcut: null
6784
7363
  },
6785
7364
  alignment: {
6786
7365
  alignLeft: "左对齐",
@@ -7041,7 +7620,11 @@ var zh_CN_default = {
7041
7620
  editCustomNode: "编辑{label}",
7042
7621
  removeCustomNode: "删除{label}",
7043
7622
  pasteWithoutFormatting: null,
7044
- pasteWithoutFormattingShortcut: null
7623
+ pasteWithoutFormattingShortcut: null,
7624
+ copyFormatting: null,
7625
+ copyFormattingShortcut: null,
7626
+ pasteFormatting: null,
7627
+ pasteFormattingShortcut: null
7045
7628
  },
7046
7629
  documentOutline: {
7047
7630
  ariaLabel: "文档大纲",
@@ -7436,7 +8019,10 @@ var zh_CN_default = {
7436
8019
  suggestingSectionBreak: null,
7437
8020
  tableCellSectionBreak: null,
7438
8021
  lockedSectionBreak: null,
7439
- lockedContentBreak: null
8022
+ lockedContentBreak: null,
8023
+ noCopiedFormatting: null,
8024
+ nothingToCopyFormatting: null,
8025
+ nothingToPaint: null
7440
8026
  },
7441
8027
  equationPopup: {
7442
8028
  apply: null,
@@ -7445,6 +8031,60 @@ var zh_CN_default = {
7445
8031
  placeholder: null,
7446
8032
  refused: null,
7447
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
7448
8088
  }
7449
8089
  };
7450
8090
 
@@ -7458,6 +8098,11 @@ var DISABLED_REASON_KEYS = Object.freeze({
7458
8098
  "no document is loaded": "disabledReason.noDocument",
7459
8099
  "no document is open": "disabledReason.noDocument",
7460
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",
7461
8106
  "no drawing is selected": "disabledReason.noDrawing",
7462
8107
  "the drawing is locked": "disabledReason.drawingLocked",
7463
8108
  "a comment needs a selected range": "disabledReason.commentSelection",
@@ -7490,6 +8135,27 @@ function localizeDisabledReason(reason, t) {
7490
8135
  return key ? t(key) : reason;
7491
8136
  }
7492
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
+
7493
8159
  // src/index.ts
7494
8160
  var en = en_default;
7495
8161
  var de = de_default;
@@ -7596,6 +8262,7 @@ export {
7596
8262
  locales,
7597
8263
  localizeDisabledReason,
7598
8264
  pl,
8265
+ platformShortcut,
7599
8266
  ptBR,
7600
8267
  tr,
7601
8268
  zhCN