@docx-editor.dev/i18n 2.1.3 → 2.2.1
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/README.md +15 -5
- package/dist/de.js +13 -529
- package/dist/de.mjs +13 -529
- package/dist/en.js +16 -532
- package/dist/en.mjs +16 -532
- package/dist/fr.js +13 -529
- package/dist/fr.mjs +13 -529
- package/dist/he.js +13 -529
- package/dist/he.mjs +13 -529
- package/dist/hi.js +13 -529
- package/dist/hi.mjs +13 -529
- package/dist/id.js +13 -529
- package/dist/id.mjs +13 -529
- package/dist/index.d.mts +21 -544
- package/dist/index.d.ts +21 -544
- package/dist/index.js +133 -5293
- package/dist/index.mjs +133 -5293
- package/dist/pl.js +13 -529
- package/dist/pl.mjs +13 -529
- package/dist/pt-BR.js +13 -529
- package/dist/pt-BR.mjs +13 -529
- package/dist/tr.js +13 -529
- package/dist/tr.mjs +13 -529
- package/dist/zh-CN.js +13 -529
- package/dist/zh-CN.mjs +13 -529
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -27,24 +27,10 @@
|
|
|
27
27
|
var _lang = "en";
|
|
28
28
|
var common = {
|
|
29
29
|
cancel: "Cancel",
|
|
30
|
-
insert: "Insert",
|
|
31
30
|
apply: "Apply",
|
|
32
31
|
close: "Close",
|
|
33
|
-
"delete": "Delete",
|
|
34
|
-
update: "Update",
|
|
35
|
-
save: "Save",
|
|
36
|
-
retry: "Retry",
|
|
37
|
-
send: "Send",
|
|
38
|
-
edit: "Edit",
|
|
39
32
|
comment: "Comment",
|
|
40
|
-
|
|
41
|
-
accept: "Accept",
|
|
42
|
-
reject: "Reject",
|
|
43
|
-
dismiss: "Dismiss",
|
|
44
|
-
change: "Change",
|
|
45
|
-
clear: "Clear",
|
|
46
|
-
px: "px",
|
|
47
|
-
closeDialog: "Close dialog"
|
|
33
|
+
dismiss: "Dismiss"
|
|
48
34
|
};
|
|
49
35
|
var toolbar = {
|
|
50
36
|
ariaLabel: "Formatting toolbar",
|
|
@@ -69,13 +55,11 @@ var toolbar = {
|
|
|
69
55
|
sectionBreakNextPage: "Section break (next page)",
|
|
70
56
|
sectionBreakContinuous: "Section break (continuous)",
|
|
71
57
|
tableOfContents: "Table of contents",
|
|
72
|
-
symbol: "Symbol",
|
|
73
58
|
watermark: "Watermark",
|
|
74
59
|
help: "Help",
|
|
75
60
|
reportIssue: "Report issue"
|
|
76
61
|
};
|
|
77
62
|
var toc = {
|
|
78
|
-
updatePrompt: "This document contains a table of contents that's out of date. Regenerate it now?",
|
|
79
63
|
refresh: "Refresh table of contents",
|
|
80
64
|
refreshPageNumbers: "Refresh page numbers"
|
|
81
65
|
};
|
|
@@ -90,9 +74,7 @@ var formattingBar = {
|
|
|
90
74
|
alignment: "Alignment",
|
|
91
75
|
listFormatting: "List formatting",
|
|
92
76
|
image: "Image",
|
|
93
|
-
table: "Table"
|
|
94
|
-
insert: "Insert",
|
|
95
|
-
contentControl: "Content controls"
|
|
77
|
+
table: "Table"
|
|
96
78
|
},
|
|
97
79
|
undo: "Undo",
|
|
98
80
|
undoShortcut: "Undo (Ctrl+Z)",
|
|
@@ -120,7 +102,6 @@ var formattingBar = {
|
|
|
120
102
|
clearFormatting: "Clear formatting",
|
|
121
103
|
commentsAndChanges: "Comments & Changes",
|
|
122
104
|
more: "More",
|
|
123
|
-
moreItems: "{count, plural, one {# more item} other {# more items}}",
|
|
124
105
|
unavailableInPreview: "Not available in this preview build"
|
|
125
106
|
};
|
|
126
107
|
var alignment = {
|
|
@@ -167,7 +148,6 @@ var font = {
|
|
|
167
148
|
sansSerif: "Sans Serif",
|
|
168
149
|
serif: "Serif",
|
|
169
150
|
monospace: "Monospace",
|
|
170
|
-
other: "Other",
|
|
171
151
|
documentFonts: "Document fonts"
|
|
172
152
|
};
|
|
173
153
|
var fontSize = {
|
|
@@ -180,10 +160,11 @@ var zoom = {
|
|
|
180
160
|
ariaLabel: "Zoom: {label}",
|
|
181
161
|
zoomOut: "Zoom out",
|
|
182
162
|
zoomIn: "Zoom in",
|
|
183
|
-
zoomLevel: "Zoom level"
|
|
163
|
+
zoomLevel: "Zoom level",
|
|
164
|
+
automatic: "Automatic",
|
|
165
|
+
fitWidth: "Fit width"
|
|
184
166
|
};
|
|
185
167
|
var colorPicker = {
|
|
186
|
-
ariaLabel: "{type} color picker",
|
|
187
168
|
highlightColors: "Highlight Colors",
|
|
188
169
|
customColor: "Custom Color",
|
|
189
170
|
noColor: "No Color",
|
|
@@ -199,23 +180,7 @@ var colorPicker = {
|
|
|
199
180
|
accent3: "Accent 3",
|
|
200
181
|
accent4: "Accent 4",
|
|
201
182
|
accent5: "Accent 5",
|
|
202
|
-
accent6: "Accent 6"
|
|
203
|
-
lighter80: "Lighter 80%",
|
|
204
|
-
lighter60: "Lighter 60%",
|
|
205
|
-
lighter40: "Lighter 40%",
|
|
206
|
-
darker25: "Darker 25%",
|
|
207
|
-
darker50: "Darker 50%",
|
|
208
|
-
lighter50: "Lighter 50%",
|
|
209
|
-
lighter35: "Lighter 35%",
|
|
210
|
-
lighter25: "Lighter 25%",
|
|
211
|
-
lighter15: "Lighter 15%",
|
|
212
|
-
lighter5: "Lighter 5%",
|
|
213
|
-
darker5: "Darker 5%",
|
|
214
|
-
darker10: "Darker 10%",
|
|
215
|
-
darker15: "Darker 15%",
|
|
216
|
-
darker35: "Darker 35%",
|
|
217
|
-
darker75: "Darker 75%",
|
|
218
|
-
darker90: "Darker 90%"
|
|
183
|
+
accent6: "Accent 6"
|
|
219
184
|
},
|
|
220
185
|
standardColors: "Standard Colors",
|
|
221
186
|
colors: {
|
|
@@ -227,224 +192,34 @@ var colorPicker = {
|
|
|
227
192
|
darkYellow: "Dark Yellow",
|
|
228
193
|
green: "Green",
|
|
229
194
|
darkGreen: "Dark Green",
|
|
230
|
-
teal: "Teal",
|
|
231
|
-
darkTeal: "Dark Teal",
|
|
232
195
|
blue: "Blue",
|
|
233
196
|
darkBlue: "Dark Blue",
|
|
234
197
|
purple: "Purple",
|
|
235
|
-
darkPurple: "Dark Purple",
|
|
236
|
-
brown: "Brown",
|
|
237
|
-
grey50: "Grey 50%",
|
|
238
|
-
grey25: "Grey 25%",
|
|
239
|
-
grey10: "Grey 10%",
|
|
240
198
|
white: "White",
|
|
241
|
-
lightRed: "Light Red",
|
|
242
|
-
lightOrange: "Light Orange",
|
|
243
|
-
lightYellow: "Light Yellow",
|
|
244
199
|
lightGreen: "Light Green",
|
|
245
200
|
lightBlue: "Light Blue",
|
|
246
|
-
lightPurple: "Light Purple",
|
|
247
|
-
pink: "Pink",
|
|
248
|
-
rose: "Rose",
|
|
249
|
-
gold: "Gold",
|
|
250
|
-
aqua: "Aqua",
|
|
251
|
-
lavender: "Lavender",
|
|
252
|
-
silver: "Silver",
|
|
253
|
-
darkOrange: "Dark Orange",
|
|
254
201
|
darkGray: "Dark Gray",
|
|
255
|
-
gray: "Gray",
|
|
256
202
|
cyan: "Cyan",
|
|
257
203
|
darkCyan: "Dark Cyan",
|
|
258
204
|
magenta: "Magenta",
|
|
259
205
|
darkMagenta: "Dark Magenta",
|
|
260
206
|
lightGray: "Light Gray",
|
|
261
|
-
|
|
262
|
-
lightCyan: "Light Cyan",
|
|
263
|
-
skyBlue: "Sky Blue",
|
|
264
|
-
lightBlue2: "Light Blue 2",
|
|
265
|
-
lightMagenta: "Light Magenta",
|
|
266
|
-
brightGreen: "Bright Green",
|
|
267
|
-
violet: "Violet"
|
|
207
|
+
brightGreen: "Bright Green"
|
|
268
208
|
},
|
|
269
209
|
apply: "Apply"
|
|
270
210
|
};
|
|
271
211
|
var dialogs = {
|
|
272
|
-
findReplace: {
|
|
273
|
-
titleFind: "Find",
|
|
274
|
-
titleFindReplace: "Find and Replace",
|
|
275
|
-
findLabel: "Find:",
|
|
276
|
-
findPlaceholder: "Enter text to find...",
|
|
277
|
-
findAriaLabel: "Find text",
|
|
278
|
-
findPrevious: "Find previous",
|
|
279
|
-
findPreviousTitle: "Find Previous (Shift+Enter)",
|
|
280
|
-
findNext: "Find next",
|
|
281
|
-
findNextTitle: "Find Next (Enter)",
|
|
282
|
-
matchCount: "{current} of {total} matches",
|
|
283
|
-
noResults: "No results found",
|
|
284
|
-
replaceLabel: "Replace:",
|
|
285
|
-
replacePlaceholder: "Enter replacement text...",
|
|
286
|
-
replaceAriaLabel: "Replace text",
|
|
287
|
-
replaceButton: "Replace",
|
|
288
|
-
replaceCurrentTitle: "Replace current match",
|
|
289
|
-
replaceAllButton: "Replace All",
|
|
290
|
-
replaceAllTitle: "Replace all matches",
|
|
291
|
-
matchCase: "Match case",
|
|
292
|
-
wholeWords: "Whole words",
|
|
293
|
-
matchesFound: "{total} matches",
|
|
294
|
-
toggleReplace: "+ Replace"
|
|
295
|
-
},
|
|
296
|
-
hyperlink: {
|
|
297
|
-
titleEdit: "Edit Hyperlink",
|
|
298
|
-
titleInsert: "Insert Hyperlink",
|
|
299
|
-
tabWebAddress: "Web Address",
|
|
300
|
-
tabBookmark: "Bookmark",
|
|
301
|
-
urlLabel: "URL",
|
|
302
|
-
urlPlaceholder: "https://example.com",
|
|
303
|
-
urlHint: "Enter a web address, email (mailto:), or phone (tel:)",
|
|
304
|
-
bookmarkLabel: "Bookmark",
|
|
305
|
-
bookmarkPlaceholder: "Select a bookmark...",
|
|
306
|
-
displayTextLabel: "Display Text",
|
|
307
|
-
displayTextPlaceholder: "Text to display (optional)",
|
|
308
|
-
displayTextHint: "Leave empty to use the selected text",
|
|
309
|
-
tooltipLabel: "Tooltip (optional)",
|
|
310
|
-
tooltipPlaceholder: "Text shown on hover",
|
|
311
|
-
removeLink: "Remove Link",
|
|
312
|
-
invalidUrl: "Please enter a valid URL",
|
|
313
|
-
urlRequired: "URL is required"
|
|
314
|
-
},
|
|
315
|
-
insertTable: {
|
|
316
|
-
title: "Insert Table",
|
|
317
|
-
hoverToSelect: "Hover to select size",
|
|
318
|
-
tableSize: "{cols} x {rows} Table",
|
|
319
|
-
orSpecifySize: "or specify size",
|
|
320
|
-
rowsLabel: "Rows:",
|
|
321
|
-
columnsLabel: "Columns:",
|
|
322
|
-
insertButton: "Insert Table",
|
|
323
|
-
sizeSelector: "Table size selector",
|
|
324
|
-
columnWidthLabel: "Column width",
|
|
325
|
-
fixedWidth: "Fixed",
|
|
326
|
-
autofit: "Auto-fit to contents",
|
|
327
|
-
tableStyleLabel: "Table style",
|
|
328
|
-
validationHint: "Rows: {minRows}-{maxRows}, Columns: {minCols}-{maxCols}"
|
|
329
|
-
},
|
|
330
|
-
watermark: {
|
|
331
|
-
title: "Watermark",
|
|
332
|
-
noWatermark: "No watermark",
|
|
333
|
-
picture: "Picture watermark",
|
|
334
|
-
text: "Text watermark",
|
|
335
|
-
selectPicture: "Select Picture...",
|
|
336
|
-
scale: "Scale",
|
|
337
|
-
washout: "Washout",
|
|
338
|
-
textLabel: "Text",
|
|
339
|
-
fontLabel: "Font",
|
|
340
|
-
sizeLabel: "Size",
|
|
341
|
-
sizeAuto: "Auto",
|
|
342
|
-
colorLabel: "Color",
|
|
343
|
-
layoutLabel: "Layout",
|
|
344
|
-
diagonal: "Diagonal",
|
|
345
|
-
horizontal: "Horizontal",
|
|
346
|
-
semitransparent: "Semitransparent",
|
|
347
|
-
presetLabel: "Preset",
|
|
348
|
-
applyButton: "Apply",
|
|
349
|
-
cancelButton: "Cancel"
|
|
350
|
-
},
|
|
351
|
-
splitCell: {
|
|
352
|
-
title: "Split Cell",
|
|
353
|
-
description: "Set how many rows and columns to split the selected cell into.",
|
|
354
|
-
rowsLabel: "Rows:",
|
|
355
|
-
columnsLabel: "Columns:",
|
|
356
|
-
currentMinimum: "Minimum from current span: {rows} row(s) x {cols} column(s)",
|
|
357
|
-
minValue: "Use at least {rows} row(s) and {cols} column(s).",
|
|
358
|
-
notOneByOne: "Choose at least two resulting cells."
|
|
359
|
-
},
|
|
360
|
-
insertImage: {
|
|
361
|
-
title: "Insert Image",
|
|
362
|
-
uploadAriaLabel: "Click or drag to upload image",
|
|
363
|
-
uploadText: "Click to select or drag and drop an image",
|
|
364
|
-
uploadSubtext: "PNG, JPG, GIF up to 10MB",
|
|
365
|
-
dimensions: "Dimensions",
|
|
366
|
-
widthLabel: "Width:",
|
|
367
|
-
heightLabel: "Height:",
|
|
368
|
-
aspectRatioLocked: "Aspect ratio locked",
|
|
369
|
-
aspectRatioUnlocked: "Aspect ratio unlocked",
|
|
370
|
-
altTextLabel: "Alt Text (optional)",
|
|
371
|
-
altTextPlaceholder: "Describe the image for accessibility",
|
|
372
|
-
insertButton: "Insert Image",
|
|
373
|
-
invalidFile: "Please select a valid image file",
|
|
374
|
-
fileTooLarge: "Image file is too large (max 10MB)",
|
|
375
|
-
readFailed: "Failed to read image file",
|
|
376
|
-
loadFailed: "Failed to load image",
|
|
377
|
-
preview: "Preview"
|
|
378
|
-
},
|
|
379
|
-
insertSymbol: {
|
|
380
|
-
title: "Insert Symbol",
|
|
381
|
-
searchPlaceholder: "Search symbols (character or Unicode)...",
|
|
382
|
-
noResultsEmpty: "No symbols found",
|
|
383
|
-
noResults: "No symbols found for \"{query}\"",
|
|
384
|
-
decimal: "Decimal: {value}",
|
|
385
|
-
recent: "Recent:",
|
|
386
|
-
categories: {
|
|
387
|
-
common: "Common",
|
|
388
|
-
arrows: "Arrows",
|
|
389
|
-
math: "Math",
|
|
390
|
-
greek: "Greek",
|
|
391
|
-
shapes: "Shapes",
|
|
392
|
-
punctuation: "Punctuation",
|
|
393
|
-
currency: "Currency",
|
|
394
|
-
music: "Music",
|
|
395
|
-
emoji: "Emoji"
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
212
|
imageProperties: {
|
|
399
213
|
title: "Image Properties",
|
|
400
214
|
altText: "Alt Text",
|
|
401
215
|
altTextPlaceholder: "Describe this image for accessibility...",
|
|
402
|
-
border: "Border",
|
|
403
|
-
width: "Width",
|
|
404
|
-
style: "Style",
|
|
405
|
-
color: "Color",
|
|
406
|
-
preview: "Preview",
|
|
407
216
|
textWrapping: "Text wrapping",
|
|
408
217
|
dimensions: "Dimensions",
|
|
409
218
|
widthLabel: "Width:",
|
|
410
219
|
heightLabel: "Height:",
|
|
411
|
-
lockAspectRatio: "Lock aspect ratio"
|
|
412
|
-
wrapOptions: {
|
|
413
|
-
inline: "Inline with text",
|
|
414
|
-
wrapRight: "Wrap text, float left",
|
|
415
|
-
wrapLeft: "Wrap text, float right",
|
|
416
|
-
topAndBottom: "Top and bottom",
|
|
417
|
-
behind: "Behind text",
|
|
418
|
-
inFront: "In front of text"
|
|
419
|
-
},
|
|
420
|
-
borderKinds: {
|
|
421
|
-
solid: "Solid",
|
|
422
|
-
dashed: "Dashed",
|
|
423
|
-
dotted: "Dotted",
|
|
424
|
-
double: "Double",
|
|
425
|
-
groove: "Groove",
|
|
426
|
-
ridge: "Ridge",
|
|
427
|
-
inset: "Inset",
|
|
428
|
-
outset: "Outset"
|
|
429
|
-
}
|
|
220
|
+
lockAspectRatio: "Lock aspect ratio"
|
|
430
221
|
},
|
|
431
222
|
imagePosition: {
|
|
432
|
-
title: "Image Position",
|
|
433
|
-
horizontal: "Horizontal",
|
|
434
|
-
vertical: "Vertical",
|
|
435
|
-
position: "Position",
|
|
436
|
-
alignment: "Alignment",
|
|
437
|
-
offset: "Offset",
|
|
438
|
-
offsetPx: "Offset (px)",
|
|
439
|
-
align: "Align",
|
|
440
|
-
relativeTo: "Relative to",
|
|
441
|
-
alignOptions: {
|
|
442
|
-
left: "Left",
|
|
443
|
-
center: "Center",
|
|
444
|
-
right: "Right",
|
|
445
|
-
top: "Top",
|
|
446
|
-
bottom: "Bottom"
|
|
447
|
-
},
|
|
448
223
|
relativeOptions: {
|
|
449
224
|
page: "Page",
|
|
450
225
|
column: "Column",
|
|
@@ -480,46 +255,12 @@ var dialogs = {
|
|
|
480
255
|
executive: "Executive (7.25\" × 10.5\")"
|
|
481
256
|
}
|
|
482
257
|
},
|
|
483
|
-
tableProperties: {
|
|
484
|
-
title: "Table Properties",
|
|
485
|
-
widthType: "Width type",
|
|
486
|
-
widthLabel: "Width",
|
|
487
|
-
alignmentLabel: "Alignment",
|
|
488
|
-
widthTypes: {
|
|
489
|
-
auto: "Auto",
|
|
490
|
-
fixed: "Fixed (twips)",
|
|
491
|
-
percentage: "Percentage"
|
|
492
|
-
},
|
|
493
|
-
units: {
|
|
494
|
-
fiftiethsPercent: "(50ths of %)",
|
|
495
|
-
twips: "tw"
|
|
496
|
-
},
|
|
497
|
-
alignOptions: {
|
|
498
|
-
left: "Left",
|
|
499
|
-
center: "Center",
|
|
500
|
-
right: "Right"
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
pasteSpecial: {
|
|
504
|
-
title: "Paste Special",
|
|
505
|
-
keepFormatting: "Keep Source Formatting",
|
|
506
|
-
keepFormattingDescription: "Paste with original formatting",
|
|
507
|
-
keepFormattingShortcut: "Ctrl+V",
|
|
508
|
-
plainText: "Paste as Plain Text",
|
|
509
|
-
plainTextDescription: "Paste without any formatting",
|
|
510
|
-
plainTextShortcut: "Ctrl+Shift+V",
|
|
511
|
-
readingClipboard: "Reading clipboard...",
|
|
512
|
-
preview: "Preview:",
|
|
513
|
-
noContent: "No content available to paste",
|
|
514
|
-
clipboardError: "Unable to read clipboard. Please use Ctrl+V to paste."
|
|
515
|
-
},
|
|
516
258
|
footnoteProperties: {
|
|
517
259
|
title: "Footnote & Endnote Properties",
|
|
518
260
|
footnotes: "Footnotes",
|
|
519
261
|
endnotes: "Endnotes",
|
|
520
262
|
position: "Position",
|
|
521
263
|
numberFormat: "Number format",
|
|
522
|
-
startAt: "Start at",
|
|
523
264
|
numbering: "Numbering",
|
|
524
265
|
footnotePositions: {
|
|
525
266
|
bottomOfPage: "Bottom of page",
|
|
@@ -537,173 +278,31 @@ var dialogs = {
|
|
|
537
278
|
formats: {
|
|
538
279
|
decimal: "1, 2, 3, ...",
|
|
539
280
|
lowerRoman: "i, ii, iii, ...",
|
|
540
|
-
upperRoman: "I, II, III, ..."
|
|
541
|
-
symbols: "*, †, ‡, ..."
|
|
281
|
+
upperRoman: "I, II, III, ..."
|
|
542
282
|
}
|
|
543
|
-
},
|
|
544
|
-
keyboardShortcuts: {
|
|
545
|
-
ariaLabel: "Keyboard Shortcuts",
|
|
546
|
-
searchPlaceholder: "Search shortcuts...",
|
|
547
|
-
categories: {
|
|
548
|
-
editing: "Editing",
|
|
549
|
-
formatting: "Formatting",
|
|
550
|
-
navigation: "Navigation",
|
|
551
|
-
clipboard: "Clipboard",
|
|
552
|
-
selection: "Selection",
|
|
553
|
-
view: "View",
|
|
554
|
-
file: "File",
|
|
555
|
-
other: "Other"
|
|
556
|
-
},
|
|
557
|
-
shortcuts: {
|
|
558
|
-
save: "Save",
|
|
559
|
-
saveDescription: "Save document",
|
|
560
|
-
print: "Print",
|
|
561
|
-
printDescription: "Print document",
|
|
562
|
-
undo: "Undo",
|
|
563
|
-
undoDescription: "Undo last action",
|
|
564
|
-
redo: "Redo",
|
|
565
|
-
redoDescription: "Redo last action",
|
|
566
|
-
"delete": "Delete",
|
|
567
|
-
deleteDescription: "Delete selected text",
|
|
568
|
-
find: "Find",
|
|
569
|
-
findDescription: "Find text in document",
|
|
570
|
-
findReplace: "Find & Replace",
|
|
571
|
-
findReplaceDescription: "Find and replace text",
|
|
572
|
-
cut: "Cut",
|
|
573
|
-
cutDescription: "Cut selected text",
|
|
574
|
-
copy: "Copy",
|
|
575
|
-
copyDescription: "Copy selected text",
|
|
576
|
-
paste: "Paste",
|
|
577
|
-
pasteDescription: "Paste from clipboard",
|
|
578
|
-
pastePlainText: "Paste as Plain Text",
|
|
579
|
-
pastePlainTextDescription: "Paste without formatting",
|
|
580
|
-
bold: "Bold",
|
|
581
|
-
boldDescription: "Toggle bold formatting",
|
|
582
|
-
italic: "Italic",
|
|
583
|
-
italicDescription: "Toggle italic formatting",
|
|
584
|
-
underline: "Underline",
|
|
585
|
-
underlineDescription: "Toggle underline formatting",
|
|
586
|
-
strikethrough: "Strikethrough",
|
|
587
|
-
strikethroughDescription: "Toggle strikethrough",
|
|
588
|
-
subscript: "Subscript",
|
|
589
|
-
subscriptDescription: "Toggle subscript",
|
|
590
|
-
superscript: "Superscript",
|
|
591
|
-
superscriptDescription: "Toggle superscript",
|
|
592
|
-
alignLeft: "Align Left",
|
|
593
|
-
alignLeftDescription: "Left align paragraph",
|
|
594
|
-
alignCenter: "Align Center",
|
|
595
|
-
alignCenterDescription: "Center align paragraph",
|
|
596
|
-
alignRight: "Align Right",
|
|
597
|
-
alignRightDescription: "Right align paragraph",
|
|
598
|
-
justify: "Justify",
|
|
599
|
-
justifyDescription: "Justify paragraph",
|
|
600
|
-
increaseIndent: "Increase Indent",
|
|
601
|
-
increaseIndentDescription: "Increase paragraph indent",
|
|
602
|
-
decreaseIndent: "Decrease Indent",
|
|
603
|
-
decreaseIndentDescription: "Decrease paragraph indent",
|
|
604
|
-
selectAll: "Select All",
|
|
605
|
-
selectAllDescription: "Select all content",
|
|
606
|
-
selectWord: "Select Word",
|
|
607
|
-
selectWordDescription: "Select current word",
|
|
608
|
-
selectParagraph: "Select Paragraph",
|
|
609
|
-
selectParagraphDescription: "Select current paragraph",
|
|
610
|
-
extendSelectionByWord: "Extend Selection by Word",
|
|
611
|
-
extendSelectionByWordDescription: "Extend selection to next/previous word",
|
|
612
|
-
extendSelectionToLineEdge: "Extend Selection to Line Edge",
|
|
613
|
-
extendSelectionToLineEdgeDescription: "Extend selection to line start/end",
|
|
614
|
-
moveByWord: "Move by Word",
|
|
615
|
-
moveByWordDescription: "Move cursor to next/previous word",
|
|
616
|
-
moveToLineStart: "Move to Line Start",
|
|
617
|
-
moveToLineStartDescription: "Move cursor to start of line",
|
|
618
|
-
moveToLineEnd: "Move to Line End",
|
|
619
|
-
moveToLineEndDescription: "Move cursor to end of line",
|
|
620
|
-
moveToDocumentStart: "Move to Document Start",
|
|
621
|
-
moveToDocumentStartDescription: "Move cursor to start of document",
|
|
622
|
-
moveToDocumentEnd: "Move to Document End",
|
|
623
|
-
moveToDocumentEndDescription: "Move cursor to end of document",
|
|
624
|
-
pageUp: "Page Up",
|
|
625
|
-
pageUpDescription: "Scroll up one page",
|
|
626
|
-
pageDown: "Page Down",
|
|
627
|
-
pageDownDescription: "Scroll down one page",
|
|
628
|
-
zoomIn: "Zoom In",
|
|
629
|
-
zoomInDescription: "Increase zoom level",
|
|
630
|
-
zoomOut: "Zoom Out",
|
|
631
|
-
zoomOutDescription: "Decrease zoom level",
|
|
632
|
-
resetZoom: "Reset Zoom",
|
|
633
|
-
resetZoomDescription: "Reset zoom to 100%",
|
|
634
|
-
keyboardShortcuts: "Keyboard Shortcuts",
|
|
635
|
-
keyboardShortcutsDescription: "Show this help dialog",
|
|
636
|
-
insertLink: "Insert Link",
|
|
637
|
-
insertLinkDescription: "Insert or edit hyperlink"
|
|
638
|
-
},
|
|
639
|
-
noResults: "No shortcuts found matching \"{query}\"",
|
|
640
|
-
pressEscToClose: "Press {key} to close",
|
|
641
|
-
or: "or"
|
|
642
283
|
}
|
|
643
284
|
};
|
|
644
285
|
var comments = {
|
|
645
|
-
resolved: "Resolved",
|
|
646
|
-
resolve: "Resolve",
|
|
647
|
-
reopen: "Reopen",
|
|
648
|
-
moreOptions: "More options",
|
|
649
286
|
unknown: "Unknown",
|
|
650
287
|
addComment: "Add a comment...",
|
|
651
|
-
replyPlaceholder: "Reply or add others with @"
|
|
652
|
-
replyCount: "{count, plural, one {# reply} other {# replies}}"
|
|
653
|
-
};
|
|
654
|
-
var trackedChanges = {
|
|
655
|
-
unknown: "Unknown",
|
|
656
|
-
replaced: "Replaced",
|
|
657
|
-
"with": "with",
|
|
658
|
-
added: "Added",
|
|
659
|
-
deleted: "Deleted"
|
|
288
|
+
replyPlaceholder: "Reply or add others with @"
|
|
660
289
|
};
|
|
661
290
|
var revisions = {
|
|
662
291
|
paragraphMarkInserted: "Inserted paragraph break",
|
|
663
|
-
|
|
664
|
-
paragraphPropertiesChanged: "Changed paragraph properties",
|
|
665
|
-
runPropertiesChanged: "Changed text formatting",
|
|
666
|
-
rowInserted: "Inserted row",
|
|
667
|
-
rowDeleted: "Deleted row",
|
|
668
|
-
rowPropertiesChanged: "Changed row properties",
|
|
669
|
-
cellInserted: "Inserted cell",
|
|
670
|
-
cellDeleted: "Deleted cell",
|
|
671
|
-
cellMerged: "Merged cells",
|
|
672
|
-
cellPropertiesChanged: "Changed cell properties",
|
|
673
|
-
tablePropertiesChanged: "Changed table properties",
|
|
674
|
-
tableInserted: "Inserted table",
|
|
675
|
-
tableDeleted: "Deleted table"
|
|
292
|
+
runPropertiesChanged: "Changed text formatting"
|
|
676
293
|
};
|
|
677
294
|
var contextMenu = {
|
|
678
295
|
ariaLabel: "Context menu",
|
|
679
|
-
textMenuAriaLabel: "Text editing menu",
|
|
680
|
-
customPromptPlaceholder: "Enter custom prompt...",
|
|
681
296
|
cut: "Cut",
|
|
682
297
|
cutShortcut: "Ctrl+X",
|
|
683
298
|
copy: "Copy",
|
|
684
299
|
copyShortcut: "Ctrl+C",
|
|
685
300
|
paste: "Paste",
|
|
686
301
|
pasteShortcut: "Ctrl+V",
|
|
687
|
-
pastePlainText: "Paste as Plain Text",
|
|
688
|
-
pastePlainTextShortcut: "Ctrl+Shift+V",
|
|
689
302
|
"delete": "Delete",
|
|
690
303
|
deleteShortcut: "Del",
|
|
691
|
-
updateTableOfContents: "Update table of contents",
|
|
692
304
|
selectAll: "Select All",
|
|
693
305
|
selectAllShortcut: "Ctrl+A",
|
|
694
|
-
selected: "Selected:",
|
|
695
|
-
aiActions: {
|
|
696
|
-
askAi: "Ask AI",
|
|
697
|
-
rewrite: "Rewrite",
|
|
698
|
-
expand: "Expand",
|
|
699
|
-
summarize: "Summarize",
|
|
700
|
-
translate: "Translate",
|
|
701
|
-
explain: "Explain",
|
|
702
|
-
fixGrammar: "Fix Grammar",
|
|
703
|
-
makeFormal: "Make Formal",
|
|
704
|
-
makeCasual: "Make Casual",
|
|
705
|
-
custom: "Custom"
|
|
706
|
-
},
|
|
707
306
|
editCustomNode: "Edit {label}",
|
|
708
307
|
removeCustomNode: "Remove {label}"
|
|
709
308
|
};
|
|
@@ -746,9 +345,6 @@ var navigation = {
|
|
|
746
345
|
totalTruncated: "{total, plural, other {#+ results}}"
|
|
747
346
|
}
|
|
748
347
|
};
|
|
749
|
-
var sidebar = {
|
|
750
|
-
ariaLabel: "Annotations sidebar"
|
|
751
|
-
};
|
|
752
348
|
var viewer = {
|
|
753
349
|
pageIndicator: "{current} of {total}"
|
|
754
350
|
};
|
|
@@ -758,9 +354,6 @@ var titleBar = {
|
|
|
758
354
|
menuBarAriaLabel: "Menu bar"
|
|
759
355
|
};
|
|
760
356
|
var errors = {
|
|
761
|
-
loadingDocument: "Loading document...",
|
|
762
|
-
noDocumentLoaded: "No document loaded",
|
|
763
|
-
failedToLoad: "Failed to Load Document",
|
|
764
357
|
unableToParse: "Unable to Parse Document",
|
|
765
358
|
somethingWentWrong: "Something went wrong",
|
|
766
359
|
errorDescription: "An error occurred while rendering this component. Please try again or contact support if the problem persists.",
|
|
@@ -768,8 +361,7 @@ var errors = {
|
|
|
768
361
|
componentStack: "Component Stack:",
|
|
769
362
|
tryAgain: "Try Again",
|
|
770
363
|
showDetails: "Show details",
|
|
771
|
-
hideDetails: "Hide details"
|
|
772
|
-
unsavedChanges: "You have unsaved changes. Are you sure you want to leave?"
|
|
364
|
+
hideDetails: "Hide details"
|
|
773
365
|
};
|
|
774
366
|
var table = {
|
|
775
367
|
insertRowAbove: "Insert row above",
|
|
@@ -803,13 +395,11 @@ var table = {
|
|
|
803
395
|
twoPt: "2 pt",
|
|
804
396
|
threePt: "3 pt"
|
|
805
397
|
},
|
|
806
|
-
unknownAction: "Unknown Action",
|
|
807
398
|
borders: {
|
|
808
399
|
all: "All borders",
|
|
809
400
|
outside: "Outside borders",
|
|
810
401
|
inside: "Inside borders",
|
|
811
402
|
none: "No borders",
|
|
812
|
-
remove: "Remove borders",
|
|
813
403
|
top: "Top border",
|
|
814
404
|
bottom: "Bottom border",
|
|
815
405
|
left: "Left border",
|
|
@@ -817,47 +407,14 @@ var table = {
|
|
|
817
407
|
styleAriaLabel: "Border style",
|
|
818
408
|
tooltip: "Borders"
|
|
819
409
|
},
|
|
820
|
-
moreOptions: "More table options"
|
|
821
|
-
styles: {
|
|
822
|
-
title: "Table Styles",
|
|
823
|
-
label: "Styles",
|
|
824
|
-
normalTable: "Normal Table",
|
|
825
|
-
tableGrid: "Table Grid",
|
|
826
|
-
gridTableLight: "Grid Table Light",
|
|
827
|
-
plainTable1: "Plain Table 1",
|
|
828
|
-
plainTable2: "Plain Table 2",
|
|
829
|
-
plainTable3: "Plain Table 3",
|
|
830
|
-
plainTable4: "Plain Table 4",
|
|
831
|
-
gridTable1Light: "Grid Table 1 Light",
|
|
832
|
-
gridTable4Accent1: "Grid Table 4 Accent 1",
|
|
833
|
-
gridTable5Dark: "Grid Table 5 Dark",
|
|
834
|
-
listTable3Accent2: "List Table 3 Accent 2",
|
|
835
|
-
listTable4Accent3: "List Table 4 Accent 3",
|
|
836
|
-
gridTable4Accent5: "Grid Table 4 Accent 5",
|
|
837
|
-
gridTable4Accent6: "Grid Table 4 Accent 6"
|
|
838
|
-
}
|
|
410
|
+
moreOptions: "More table options"
|
|
839
411
|
};
|
|
840
412
|
var tableAdvanced = {
|
|
841
413
|
verticalAlignment: "Vertical alignment",
|
|
842
414
|
top: "Top",
|
|
843
415
|
middle: "Middle",
|
|
844
416
|
bottom: "Bottom",
|
|
845
|
-
cellMargins: "Cell margins",
|
|
846
|
-
textDirection: "Text direction",
|
|
847
|
-
textDirections: {
|
|
848
|
-
horizontal: "Horizontal (LR)",
|
|
849
|
-
verticalRL: "Vertical (top-bottom, RL)",
|
|
850
|
-
verticalLR: "Vertical (bottom-top, LR)"
|
|
851
|
-
},
|
|
852
417
|
toggleNoWrap: "Toggle no-wrap",
|
|
853
|
-
rowHeight: "Row height",
|
|
854
|
-
heightRules: {
|
|
855
|
-
auto: "Auto",
|
|
856
|
-
atLeast: "At least",
|
|
857
|
-
exact: "Exact"
|
|
858
|
-
},
|
|
859
|
-
rule: "Rule",
|
|
860
|
-
height: "Height",
|
|
861
418
|
toggleHeaderRow: "Toggle header row",
|
|
862
419
|
distributeColumns: "Distribute columns evenly",
|
|
863
420
|
autoFit: "Auto-fit to contents",
|
|
@@ -865,9 +422,7 @@ var tableAdvanced = {
|
|
|
865
422
|
tableAlignment: "Table alignment",
|
|
866
423
|
alignTableLeft: "Align table left",
|
|
867
424
|
alignTableCenter: "Align table center",
|
|
868
|
-
alignTableRight: "Align table right"
|
|
869
|
-
tableOptionsMenu: "Table options menu",
|
|
870
|
-
tableOptions: "Table options"
|
|
425
|
+
alignTableRight: "Align table right"
|
|
871
426
|
};
|
|
872
427
|
var imageTransform = {
|
|
873
428
|
tooltip: "Transform",
|
|
@@ -902,17 +457,7 @@ var imageWrap = {
|
|
|
902
457
|
inLineWithText: "In Line with Text",
|
|
903
458
|
squareLeft: "Square Left",
|
|
904
459
|
squareRight: "Square Right",
|
|
905
|
-
|
|
906
|
-
inFrontOfText: "In Front of Text",
|
|
907
|
-
ariaLabel: "Image layout options",
|
|
908
|
-
imageProperties: "Image properties…"
|
|
909
|
-
},
|
|
910
|
-
menuDesc: {
|
|
911
|
-
inLineWithText: "Image flows in the line as a glyph",
|
|
912
|
-
squareLeft: "Image floats left, text wraps on the right",
|
|
913
|
-
squareRight: "Image floats right, text wraps on the left",
|
|
914
|
-
behindText: "Image paints behind body text",
|
|
915
|
-
inFrontOfText: "Image paints over body text"
|
|
460
|
+
ariaLabel: "Image layout options"
|
|
916
461
|
}
|
|
917
462
|
};
|
|
918
463
|
var imageInsert = {
|
|
@@ -955,33 +500,9 @@ var imageAltText = {
|
|
|
955
500
|
title: "Title",
|
|
956
501
|
description: "Description"
|
|
957
502
|
};
|
|
958
|
-
var responsePreview = {
|
|
959
|
-
loading: "{action}...",
|
|
960
|
-
result: "{action} Result",
|
|
961
|
-
closeEsc: "Close (Esc)",
|
|
962
|
-
editPrompt: "Edit the result before accepting:",
|
|
963
|
-
changes: "Changes:",
|
|
964
|
-
original: "Original:",
|
|
965
|
-
"new": "New:",
|
|
966
|
-
cancelEdit: "Cancel Edit"
|
|
967
|
-
};
|
|
968
|
-
var commentMarkers = {
|
|
969
|
-
resolvedComment: "Resolved comment",
|
|
970
|
-
comment: "Comment"
|
|
971
|
-
};
|
|
972
503
|
var editor = {
|
|
973
|
-
toggleCommentsSidebar: "Toggle comments sidebar",
|
|
974
504
|
showDocumentOutline: "Show document outline",
|
|
975
|
-
editing: "Editing",
|
|
976
|
-
editingDescription: "Edit document directly",
|
|
977
|
-
suggesting: "Suggesting",
|
|
978
|
-
suggestingDescription: "Edits become suggestions",
|
|
979
|
-
viewing: "Viewing",
|
|
980
|
-
viewingDescription: "Read-only, no edits",
|
|
981
|
-
failedToParse: "Failed to parse document",
|
|
982
|
-
linkRemoved: "Link removed",
|
|
983
505
|
linkCopied: "Link copied to clipboard",
|
|
984
|
-
failedToSave: "Failed to save document",
|
|
985
506
|
fontSubstitutionNotice: "Some fonts in this document aren't available, so substitutes are shown: {fonts}"
|
|
986
507
|
};
|
|
987
508
|
var hyperlinkPopup = {
|
|
@@ -1006,7 +527,6 @@ var contentControl = {
|
|
|
1006
527
|
formFill: "Form-fill mode",
|
|
1007
528
|
inspector: "Content control properties",
|
|
1008
529
|
remove: "Remove content control",
|
|
1009
|
-
noControl: "Place the caret inside a content control",
|
|
1010
530
|
inspectorPanel: {
|
|
1011
531
|
title: "Content control",
|
|
1012
532
|
alias: "Title",
|
|
@@ -1046,7 +566,6 @@ var headerFooter = {
|
|
|
1046
566
|
firstPageFooter: "First page footer",
|
|
1047
567
|
evenPageHeader: "Even page header",
|
|
1048
568
|
evenPageFooter: "Even page footer",
|
|
1049
|
-
regionSection: "{region} — Section {section}",
|
|
1050
569
|
sameAsPrevious: "Same as previous",
|
|
1051
570
|
sameAsPreviousHint: "Edits apply to the preceding section's pages too.",
|
|
1052
571
|
options: "Options",
|
|
@@ -1059,20 +578,12 @@ var headerFooter = {
|
|
|
1059
578
|
footerDistance: "Footer distance from edge",
|
|
1060
579
|
removeHeader: "Remove header",
|
|
1061
580
|
removeFooter: "Remove footer",
|
|
1062
|
-
pageNumbers: "Page numbers",
|
|
1063
581
|
insertPageNumber: "Insert current page number",
|
|
1064
582
|
insertTotalPages: "Insert total page count",
|
|
1065
583
|
insertSectionPages: "Insert section page count",
|
|
1066
|
-
insertPageXofY: "Insert page X of Y"
|
|
1067
|
-
pageXofYLabel: "Page",
|
|
1068
|
-
pageXofYSeparator: "of",
|
|
1069
|
-
remove: "Remove {label}",
|
|
1070
|
-
closeEditing: "Close {label} editing"
|
|
584
|
+
insertPageXofY: "Insert page X of Y"
|
|
1071
585
|
};
|
|
1072
586
|
var image = {
|
|
1073
|
-
placeholder: "Image placeholder",
|
|
1074
|
-
placeholderText: "[Image]",
|
|
1075
|
-
editableAriaLabel: "Editable image",
|
|
1076
587
|
unsupportedFormat: "Unsupported image format ({format})",
|
|
1077
588
|
nonPictureGraphic: "Unsupported graphic ({kind})",
|
|
1078
589
|
missingResource: "Image missing",
|
|
@@ -1085,10 +596,6 @@ var image = {
|
|
|
1085
596
|
};
|
|
1086
597
|
var imageOverlay = {
|
|
1087
598
|
selection: "Selected image",
|
|
1088
|
-
rotate: "Rotate",
|
|
1089
|
-
imageProperties: "Image properties",
|
|
1090
|
-
deleteImage: "Delete image",
|
|
1091
|
-
replaceImage: "Replace image…",
|
|
1092
599
|
handle: {
|
|
1093
600
|
n: "Resize top edge",
|
|
1094
601
|
ne: "Resize top-right corner",
|
|
@@ -1110,26 +617,10 @@ var ruler = {
|
|
|
1110
617
|
topMargin: "Top margin",
|
|
1111
618
|
bottomMargin: "Bottom margin"
|
|
1112
619
|
};
|
|
1113
|
-
var print = {
|
|
1114
|
-
label: "Print",
|
|
1115
|
-
allPages: "All ({totalPages} pages)",
|
|
1116
|
-
singlePage: "Page {start}",
|
|
1117
|
-
pageRange: "Pages {start}-{end}"
|
|
1118
|
-
};
|
|
1119
|
-
var unsaved = {
|
|
1120
|
-
unsaved: "Unsaved",
|
|
1121
|
-
saved: "Saved",
|
|
1122
|
-
unsavedTitle: "Document has unsaved changes",
|
|
1123
|
-
savedTitle: "All changes saved",
|
|
1124
|
-
unsavedAriaLabel: "Unsaved changes",
|
|
1125
|
-
savedAriaLabel: "All changes saved"
|
|
1126
|
-
};
|
|
1127
620
|
var loading = {
|
|
1128
621
|
label: "Loading"
|
|
1129
622
|
};
|
|
1130
623
|
var notes = {
|
|
1131
|
-
editingBanner: "Editing note",
|
|
1132
|
-
closeNote: "Close note",
|
|
1133
624
|
"delete": "Delete note",
|
|
1134
625
|
convertToEndnote: "Convert to endnote",
|
|
1135
626
|
convertToFootnote: "Convert to footnote",
|
|
@@ -1145,13 +636,6 @@ var notes = {
|
|
|
1145
636
|
convertAllEndnotes: "Convert all endnotes to footnotes",
|
|
1146
637
|
inheritedValue: "(inherited)"
|
|
1147
638
|
};
|
|
1148
|
-
var app = {
|
|
1149
|
-
name: "DOCX Editor",
|
|
1150
|
-
newDocument: "New",
|
|
1151
|
-
by: "by EigenPal",
|
|
1152
|
-
framework: "Framework",
|
|
1153
|
-
theme: "Theme"
|
|
1154
|
-
};
|
|
1155
639
|
var editingMode = {
|
|
1156
640
|
label: "Editing mode",
|
|
1157
641
|
editing: "Editing",
|
|
@@ -1196,12 +680,10 @@ var enJson = {
|
|
|
1196
680
|
colorPicker: colorPicker,
|
|
1197
681
|
dialogs: dialogs,
|
|
1198
682
|
comments: comments,
|
|
1199
|
-
trackedChanges: trackedChanges,
|
|
1200
683
|
revisions: revisions,
|
|
1201
684
|
contextMenu: contextMenu,
|
|
1202
685
|
documentOutline: documentOutline,
|
|
1203
686
|
navigation: navigation,
|
|
1204
|
-
sidebar: sidebar,
|
|
1205
687
|
viewer: viewer,
|
|
1206
688
|
titleBar: titleBar,
|
|
1207
689
|
errors: errors,
|
|
@@ -1212,8 +694,6 @@ var enJson = {
|
|
|
1212
694
|
imageInsert: imageInsert,
|
|
1213
695
|
imageProperties: imageProperties,
|
|
1214
696
|
imageAltText: imageAltText,
|
|
1215
|
-
responsePreview: responsePreview,
|
|
1216
|
-
commentMarkers: commentMarkers,
|
|
1217
697
|
editor: editor,
|
|
1218
698
|
hyperlinkPopup: hyperlinkPopup,
|
|
1219
699
|
contentControl: contentControl,
|
|
@@ -1221,11 +701,8 @@ var enJson = {
|
|
|
1221
701
|
image: image,
|
|
1222
702
|
imageOverlay: imageOverlay,
|
|
1223
703
|
ruler: ruler,
|
|
1224
|
-
print: print,
|
|
1225
|
-
unsaved: unsaved,
|
|
1226
704
|
loading: loading,
|
|
1227
705
|
notes: notes,
|
|
1228
|
-
app: app,
|
|
1229
706
|
editingMode: editingMode,
|
|
1230
707
|
review: review
|
|
1231
708
|
};
|
|
@@ -1342,8 +819,8 @@ type DotPath<T, Prefix extends string = ''> = {
|
|
|
1342
819
|
[K in keyof T & string]: T[K] extends Record<string, unknown> ? DotPath<T[K], `${Prefix}${K}.`> : `${Prefix}${K}`;
|
|
1343
820
|
}[keyof T & string];
|
|
1344
821
|
/**
|
|
1345
|
-
* Every valid dot-notation key into `LocaleStrings`, e.g. `'
|
|
1346
|
-
* or `'
|
|
822
|
+
* Every valid dot-notation key into `LocaleStrings`, e.g. `'formattingBar.bold'`
|
|
823
|
+
* or `'navigation.find.counter'`. Pass to `t(key, vars?)` for
|
|
1347
824
|
* compile-time-checked translation lookup.
|
|
1348
825
|
*
|
|
1349
826
|
* @public
|
|
@@ -1370,7 +847,7 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
|
|
|
1370
847
|
* Build a typed `t(key, vars?)` function from a merged locale.
|
|
1371
848
|
*
|
|
1372
849
|
* - **Lookup**: dot-notation paths against the locale tree
|
|
1373
|
-
* (`'
|
|
850
|
+
* (`'formattingBar.bold'`, `'navigation.find.counter'`).
|
|
1374
851
|
* - **Interpolation**: `{name}` placeholders read from `vars`.
|
|
1375
852
|
* - **Plurals**: ICU `{count, plural, =0 {none} one {# item} other {# items}}`
|
|
1376
853
|
* with `Intl.PluralRules` for CLDR categories and `=N` for exact matches.
|
|
@@ -1385,8 +862,8 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
|
|
|
1385
862
|
* import { deepMerge, createT, en, de } from '@docx-editor.dev/i18n';
|
|
1386
863
|
* const merged = deepMerge(en, de) as LocaleStrings;
|
|
1387
864
|
* const t = createT(merged, 'de');
|
|
1388
|
-
* t('
|
|
1389
|
-
* t('
|
|
865
|
+
* t('formattingBar.bold'); // → 'Fett'
|
|
866
|
+
* t('navigation.find.counter', { current: 3, total: 15 });
|
|
1390
867
|
* ```
|
|
1391
868
|
*
|
|
1392
869
|
* @public
|