magic-editor-x 2.2.0 → 2.3.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.
Files changed (94) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +493 -168
  3. package/dist/admin/{ConfigurationPage-3Dir3dAf.mjs → ConfigurationPage-BxLHIQdo.mjs} +450 -21
  4. package/dist/admin/{ConfigurationPage-YvnPnna6.js → ConfigurationPage-C-UktL1x.js} +479 -50
  5. package/dist/admin/ConfirmAction-DuQwvRYi.mjs +125 -0
  6. package/dist/admin/ConfirmAction-zLuIFj8t.js +124 -0
  7. package/dist/admin/{CustomBlocksPage-BiiL2ORG.js → CustomBlocksPage-CxcTfdOT.js} +135 -84
  8. package/dist/admin/{CustomBlocksPage-CR2BaP9O.mjs → CustomBlocksPage-D8aMbVXc.mjs} +92 -41
  9. package/dist/admin/DraftSync-BIA8cZgA.js +11 -0
  10. package/dist/admin/DraftSync-CUxOMG-E.mjs +12 -0
  11. package/dist/admin/TemplatesPage-Hn6gyu2l.js +993 -0
  12. package/dist/admin/TemplatesPage-jhYi6Zdf.mjs +993 -0
  13. package/dist/admin/{de-BmmLBJli.mjs → de-1cFMs-4c.mjs} +2 -0
  14. package/dist/admin/{de-BteRx2iA.js → de-2Ie5jy7j.js} +79 -1
  15. package/dist/admin/{de-62Vxb2iw.js → de-B1X46JJZ.js} +205 -2
  16. package/dist/admin/{de-CFX5atOk.mjs → de-BMY2LBaa.mjs} +79 -1
  17. package/dist/admin/{de-Bt6pYIWi.mjs → de-BUS1hUw0.mjs} +145 -0
  18. package/dist/admin/{de-CVbi685U.js → de-C3AsGauQ.js} +145 -0
  19. package/dist/admin/{de-BVvwSYYO.mjs → de-DOiGaTNX.mjs} +205 -2
  20. package/dist/admin/{de-DaJwN6nk.js → de-Dn8athM8.js} +2 -0
  21. package/dist/admin/{en-CyjAcccB.js → en-Ah-Cw0Wd.js} +79 -1
  22. package/dist/admin/{en-BX362fTp.js → en-BkEjpC3i.js} +145 -0
  23. package/dist/admin/{en-VlkaIzrM.js → en-CDg_18Bt.js} +205 -2
  24. package/dist/admin/{en-Cn78RZs-.js → en-CIZ5Ggod.js} +2 -0
  25. package/dist/admin/{en-Cg2Ak5Cr.mjs → en-CU6UzV4g.mjs} +205 -2
  26. package/dist/admin/{en-ea0tfA5i.mjs → en-CvFiqti2.mjs} +79 -1
  27. package/dist/admin/{en-D7mZWLGp.mjs → en-Dc9y-6n9.mjs} +2 -0
  28. package/dist/admin/{en-B_HltUxZ.mjs → en-GCzgS9Aw.mjs} +145 -0
  29. package/dist/admin/{es-BT9oAcHf.js → es-BCpJmUEM.js} +205 -2
  30. package/dist/admin/{es-C9-cXdb6.mjs → es-BmfffNM2.mjs} +205 -2
  31. package/dist/admin/{es-BmGtLkJD.js → es-C4IRHV5d.js} +2 -0
  32. package/dist/admin/{es-CHHEZi44.js → es-C4pEnDRv.js} +145 -0
  33. package/dist/admin/{es-C8GZFGjv.js → es-Cr8JH85N.js} +79 -1
  34. package/dist/admin/{es-joykG5I9.mjs → es-D2Kw6E4N.mjs} +2 -0
  35. package/dist/admin/{es-CrhwOq-5.mjs → es-DHBBZKl2.mjs} +145 -0
  36. package/dist/admin/{es-CEi_ycX8.mjs → es-DbKHZz5l.mjs} +79 -1
  37. package/dist/admin/{fr-CrzxGe5e.mjs → fr-BOvvfEH7.mjs} +2 -0
  38. package/dist/admin/{fr-B3SL0TBV.js → fr-C2aLSwEu.js} +145 -0
  39. package/dist/admin/{fr-BAMSvQbR.mjs → fr-DQJ_7aq5.mjs} +79 -1
  40. package/dist/admin/{fr-DpU_qiXR.mjs → fr-DZd2XJP6.mjs} +205 -2
  41. package/dist/admin/{fr-5djKfQ3s.mjs → fr-Dvq4xk2e.mjs} +145 -0
  42. package/dist/admin/{fr-oRCJNdeJ.js → fr-OJ4VW1kh.js} +79 -1
  43. package/dist/admin/{fr-D6KJqPWi.js → fr-ZcN0yM_2.js} +205 -2
  44. package/dist/admin/{fr-Ct_uPqxV.js → fr-Zkb8vfjN.js} +2 -0
  45. package/dist/admin/index-BHBRr562.js +1940 -0
  46. package/dist/admin/index-CQk1XeNb.mjs +1939 -0
  47. package/dist/admin/{EditorField-Diq1j8kc.js → index-Cm-fFUhE.js} +13704 -6766
  48. package/dist/admin/{EditorField-B8pyAxPE.mjs → index-XgfwqLfV.mjs} +10203 -3265
  49. package/dist/admin/index.js +1 -1
  50. package/dist/admin/index.mjs +2 -2
  51. package/dist/admin/{pt-chN2jrXl.js → pt-1IUyx6ae.js} +2 -0
  52. package/dist/admin/{pt-CQrfqsCN.mjs → pt-BSLzA17U.mjs} +79 -1
  53. package/dist/admin/{pt-jUqOR7Xh.mjs → pt-C3UdeIpd.mjs} +205 -2
  54. package/dist/admin/{pt-BOrl6x-r.js → pt-CImqDnLB.js} +205 -2
  55. package/dist/admin/{pt-BdnY2Cth.mjs → pt-CilDggGF.mjs} +145 -0
  56. package/dist/admin/{pt-tUeJ2Ywd.js → pt-D0I0_JYs.js} +79 -1
  57. package/dist/admin/{pt-EVwCuBUK.js → pt-DX0OAIoL.js} +145 -0
  58. package/dist/admin/{pt-Ga-4Hsv0.mjs → pt-etwsg3G4.mjs} +2 -0
  59. package/dist/admin/useBreakpoint-D30eNTkF.js +37 -0
  60. package/dist/admin/useBreakpoint-DCfn6pDG.mjs +38 -0
  61. package/dist/admin/useT-CmaeZbCr.mjs +65 -0
  62. package/dist/admin/{useT-BWZ_-Hel.js → useT-D3sM9Zf7.js} +4 -70
  63. package/dist/blocks/index.d.mts +167 -0
  64. package/dist/blocks/index.d.ts +167 -0
  65. package/dist/blocks/index.js +631 -0
  66. package/dist/blocks/index.mjs +609 -0
  67. package/dist/react/index.d.mts +39 -0
  68. package/dist/react/index.d.ts +39 -0
  69. package/dist/react/index.js +2687 -0
  70. package/dist/react/index.mjs +2657 -0
  71. package/dist/render/index.d.mts +131 -5
  72. package/dist/render/index.d.ts +131 -5
  73. package/dist/render/index.js +1679 -181
  74. package/dist/render/index.mjs +1679 -181
  75. package/dist/server/index.js +10645 -3716
  76. package/dist/server/index.mjs +10645 -3716
  77. package/dist/vue/index.d.mts +41 -0
  78. package/dist/vue/index.d.ts +41 -0
  79. package/dist/vue/index.js +2630 -0
  80. package/dist/vue/index.mjs +2610 -0
  81. package/package.json +30 -6
  82. package/schema/magic-editor-x.schema.json +540 -1
  83. package/types/blocks.d.ts +167 -0
  84. package/types/index.d.ts +127 -0
  85. package/types/react.d.ts +39 -0
  86. package/types/render.d.ts +131 -5
  87. package/types/vue.d.ts +41 -0
  88. package/dist/admin/api-Dsq53giv.js +0 -37
  89. package/dist/admin/api-RZ0Fz0BD.mjs +0 -38
  90. package/dist/admin/index-C-lyON1B.mjs +0 -303
  91. package/dist/admin/index-iA0lued_.js +0 -302
  92. package/dist/admin/sanitize-Cb4jvBhj.js +0 -628
  93. package/dist/admin/sanitize-ClkX823p.mjs +0 -627
  94. package/dist/admin/useT-pvHmgBFj.mjs +0 -131
@@ -1,7 +1,7 @@
1
1
  const en = {
2
2
  "editor.upload.failed": "The file could not be uploaded.",
3
3
  "editor.upload.urlFailed": "The image could not be loaded from this URL.",
4
- "editor.placeholder": "Write something, or press Tab to choose a block",
4
+ "editor.placeholder": "Write something, or type / to choose a block",
5
5
  "editor.value.invalid": "The stored content could not be read. It is kept until you edit this field.",
6
6
  "editor.config.error": "The editor could not be loaded.",
7
7
  "editor.config.retry": "Try again",
@@ -87,7 +87,51 @@ const en = {
87
87
  "editor.ai.retry": "Try again",
88
88
  "editor.ai.generate": "Generate",
89
89
  "editor.ai.apply": "Replace selection",
90
- "editor.keyboard": "Press Tab in an empty block to choose a block type. Press Escape, then Tab, to leave the editor.",
90
+ "editor.toolbar.grammar": "Check grammar",
91
+ "editor.toolbar.fieldAi": "AI for the whole field",
92
+ "editor.aiField.changed": "The field changed while the translation was made. Nothing was replaced. Send it again.",
93
+ "editor.aiField.title": "AI for the whole field",
94
+ "editor.aiField.translate": "Translate the whole field",
95
+ "editor.aiField.summarize": "Summarize the field",
96
+ "editor.aiField.disclosure": "The text of every block in this field ({count, plural, one {# text} other {# texts}}, {characters} characters) is sent to the AI provider your administrator configured, with its inline formatting and links. Images, files and other block data are not sent.",
97
+ "editor.aiField.empty": "This field has no text yet.",
98
+ "editor.aiField.error.tooLong": "This field is longer than the configured limit.",
99
+ "editor.aiField.working": "Waiting for the AI provider",
100
+ "editor.aiField.preview": "Preview",
101
+ "editor.aiField.replaceHint": "Replacing keeps every block, its formatting and settings. Use Undo in the toolbar to go back.",
102
+ "editor.aiField.summary": "Summary",
103
+ "editor.aiField.copied": "Copied to the clipboard.",
104
+ "editor.aiField.send": "Send to the AI provider",
105
+ "editor.aiField.replace": "Replace field content",
106
+ "editor.aiField.copy": "Copy",
107
+ "editor.aiField.insert": "Insert as paragraph",
108
+ "editor.aiField.error.off": "Whole-field AI actions are turned off.",
109
+ "editor.aiField.error.format": "The answer had an unexpected format. Nothing changed.",
110
+ "editor.grammar.empty": "This field has no text to check.",
111
+ "editor.grammar.checking": "Checking grammar",
112
+ "editor.grammar.found": "{count, plural, =0 {No issues found} one {# issue found} other {# issues found}}",
113
+ "editor.grammar.apply.formatting": "This text spans formatting or a line break. Edit it by hand in the editor.",
114
+ "editor.grammar.apply.changed": "The text changed since the check. Run the check again.",
115
+ "editor.grammar.applied": 'Replaced with "{text}"',
116
+ "editor.grammar.title": "Grammar check",
117
+ "editor.grammar.privacy": "The text of this field is sent to the LanguageTool server your administrator configured.",
118
+ "editor.grammar.close": "Close grammar check",
119
+ "editor.grammar.run": "Check grammar",
120
+ "editor.grammar.rerun": "Check again",
121
+ "editor.grammar.count": "{count, plural, =0 {No issues} one {# issue} other {# issues}}",
122
+ "editor.grammar.truncated": "Only the first 500 issues are shown.",
123
+ "editor.grammar.results": "Grammar issues",
124
+ "editor.grammar.applyLabel": 'Replace "{from}" with "{to}"',
125
+ "editor.grammar.none": "No issues found.",
126
+ "editor.grammar.error.disabled": "The grammar check is turned off.",
127
+ "editor.grammar.error.notConfigured": "The grammar check is not configured yet.",
128
+ "editor.grammar.error.auth": "LanguageTool rejected the credentials.",
129
+ "editor.grammar.error.busy": "LanguageTool is busy. Try again later.",
130
+ "editor.grammar.error.timeout": "LanguageTool did not answer in time.",
131
+ "editor.grammar.error.tooLong": "This field is too long to check at once.",
132
+ "editor.grammar.error.rateLimit": "You sent many checks. Try again in a minute.",
133
+ "editor.grammar.error.generic": "The grammar check is not available right now.",
134
+ "editor.keyboard": "Type / in an empty block to choose a block type. Tab moves to the next block; press Escape, then Tab, to leave the editor.",
91
135
  "editor.collab.status.reconnecting": "Reconnecting",
92
136
  "editor.collab.away": "{name} (away)",
93
137
  "editor.collab.editingBlock": "{name} is editing this block",
@@ -123,11 +167,82 @@ const en = {
123
167
  "editor.history.diff.inserted": "Added text:",
124
168
  "editor.history.diff.deleted": "Removed text:",
125
169
  "editor.history.diff.empty": "(empty)",
170
+ "editor.history.diff.tune.change": "{tune}: {before} → {after}",
171
+ "editor.history.diff.tune.alignmentTune": "Alignment",
172
+ "editor.history.diff.tune.textVariant": "Text variant",
173
+ "editor.history.diff.tune.indentTune": "Indent",
174
+ "editor.history.diff.tune.value.left": "left",
175
+ "editor.history.diff.tune.value.center": "center",
176
+ "editor.history.diff.tune.value.right": "right",
177
+ "editor.history.diff.tune.value.justify": "justified",
178
+ "editor.history.diff.tune.value.none": "none",
179
+ "editor.history.diff.tune.value.callOut": "call-out",
180
+ "editor.history.diff.tune.value.citation": "citation",
181
+ "editor.history.diff.tune.value.details": "details",
126
182
  "editor.history.diff.restoreBlock": "Restore this block",
127
183
  "editor.history.diff.restoreBlockLabel": "Restore block {number} from version {version}",
128
184
  "editor.history.diff.blockRestored": "Block restored. Save the entry to keep it.",
129
185
  "editor.history.diff.restoreFailed": "The block could not be restored.",
186
+ "editor.quality.rule.tocNoHeadings": "Table of contents without headings between level {minLevel} and {maxLevel}",
130
187
  "editor.history.diff.more": "{count, plural, one {# more change is} other {# more changes are}} not shown.",
188
+ "editor.comments.actionFailed": "This did not work. Try again.",
189
+ "editor.comments.announce.added": "Comment added",
190
+ "editor.comments.announce.deleted": "Comment deleted",
191
+ "editor.comments.announce.new": "{count, plural, one {# new comment} other {# new comments}}",
192
+ "editor.comments.announce.reopened": "Thread reopened",
193
+ "editor.comments.announce.replied": "Reply added",
194
+ "editor.comments.announce.resolved": "Thread resolved",
195
+ "editor.comments.announce.saved": "Comment saved",
196
+ "editor.comments.block.empty": "{index}. Block without text",
197
+ "editor.comments.block.label": "Block",
198
+ "editor.comments.block.option": "{index}. {excerpt}",
199
+ "editor.comments.body.hint": "Plain text, up to {max} characters. Ctrl or Cmd + Enter posts.",
200
+ "editor.comments.body.label": "Comment",
201
+ "editor.comments.cancel": "Cancel",
202
+ "editor.comments.close": "Close comments",
203
+ "editor.comments.delete": "Delete",
204
+ "editor.comments.delete.commentBody": "The comment is deleted for everyone. This cannot be undone.",
205
+ "editor.comments.delete.commentTitle": "Delete this comment?",
206
+ "editor.comments.delete.threadBody": "The thread and all its replies are deleted for everyone. This cannot be undone.",
207
+ "editor.comments.delete.threadTitle": "Delete this thread?",
208
+ "editor.comments.deleteFailed": "The comment could not be deleted.",
209
+ "editor.comments.deletedUser": "Deleted user",
210
+ "editor.comments.detached": "Block removed",
211
+ "editor.comments.detachedHint": "The block of this thread was deleted. The thread stays readable and can be resolved.",
212
+ "editor.comments.edit": "Edit",
213
+ "editor.comments.editLabel": "Edit comment",
214
+ "editor.comments.edited": "edited",
215
+ "editor.comments.empty": "No comments yet. Choose a block and add the first comment.",
216
+ "editor.comments.emptyOpen": "No open threads. Resolved threads are hidden.",
217
+ "editor.comments.emptyReadOnly": "No comments yet.",
218
+ "editor.comments.error": "The comments could not be loaded.",
219
+ "editor.comments.failed": "The comment could not be saved.",
220
+ "editor.comments.list": "Comment threads",
221
+ "editor.comments.loading": "Loading comments",
222
+ "editor.comments.marker": "Block {index}: {count, plural, one {# open comment thread} other {# open comment threads}}",
223
+ "editor.comments.new": "Comment on a block",
224
+ "editor.comments.noBlocks": "This field has no blocks to comment on yet.",
225
+ "editor.comments.post": "Post comment",
226
+ "editor.comments.rateLimited": "Too many comments. Try again in a minute.",
227
+ "editor.comments.readOnly": "You can read comments but not add any.",
228
+ "editor.comments.refreshFailed": "New comments could not be loaded. Showing the last known state.",
229
+ "editor.comments.reopen": "Reopen",
230
+ "editor.comments.reply": "Reply",
231
+ "editor.comments.replyLabel": "Reply to this thread",
232
+ "editor.comments.resolve": "Resolve",
233
+ "editor.comments.resolvedBadge": "Resolved",
234
+ "editor.comments.resolvedBy": "Resolved by {name}",
235
+ "editor.comments.retry": "Try again",
236
+ "editor.comments.save": "Save",
237
+ "editor.comments.showBlock": "Show block",
238
+ "editor.comments.showResolved": "Show resolved threads",
239
+ "editor.comments.summary": "{open, plural, one {# open thread} other {# open threads}} · {resolved} resolved",
240
+ "editor.comments.thread.noExcerpt": "a block without text",
241
+ "editor.comments.thread.on": "On: {excerpt}",
242
+ "editor.comments.title": "Comments",
243
+ "editor.comments.you": "{name} (you)",
244
+ "editor.toolbar.comments": "Comments",
245
+ "editor.toolbar.commentsCount": "Comments ({count, plural, one {# open thread} other {# open threads}})",
131
246
  "editor.paste.blocksDropped": "{count, plural, one {# pasted block is} other {# pasted blocks are}} not allowed in this field and {count, plural, one {was} other {were}} left out.",
132
247
  "editor.paste.imagesFailed": "{count, plural, one {# image} other {# images}} could not be added. Upload {count, plural, one {it} other {them}} with the image block.",
133
248
  "editor.paste.imagesNoUpload": "{count, plural, one {# image was} other {# images were}} left out because you cannot upload files.",
@@ -170,6 +285,17 @@ const en = {
170
285
  "editor.quality.link.skipped": "Not checked",
171
286
  "editor.quality.link.entry": "Entry {documentId} ({type})",
172
287
  "editor.quality.link.media": "Media file {id}",
288
+ "editor.quality.rule.videoCaptions": "Video without captions or subtitles",
289
+ "editor.quality.schedule.title": "Scheduled check",
290
+ "editor.quality.schedule.loading": "Loading the scheduled result",
291
+ "editor.quality.schedule.failed": "The scheduled result could not be loaded.",
292
+ "editor.quality.schedule.never": "No scheduled check has run yet.",
293
+ "editor.quality.schedule.count": "{count, plural, =0 {no broken links} one {# broken link} other {# broken links}}",
294
+ "editor.quality.schedule.summary": "Last scheduled check {date}: {result}",
295
+ "editor.quality.schedule.noLinks": "Last scheduled check {date}: no external links in the saved content.",
296
+ "editor.quality.schedule.published": "Published version: {result}",
297
+ "editor.quality.schedule.pending": "{count, plural, one {# link was} other {# links were}} not checked yet.",
298
+ "editor.quality.schedule.results": "Broken links found by the scheduled check",
173
299
  "editor.selection.deleted": "{count, plural, one {# block deleted} other {# blocks deleted}}",
174
300
  "editor.selection.duplicated": "{count, plural, one {# block duplicated} other {# blocks duplicated}}",
175
301
  "editor.selection.converted": "{count, plural, one {# block converted} other {# blocks converted}}",
@@ -189,6 +315,83 @@ const en = {
189
315
  "editor.toolbar.focusOff": "Leave focus mode",
190
316
  "editor.toolbar.focusOn": "Focus mode",
191
317
  "editor.toolbar.shortcuts": "Keyboard shortcuts",
318
+ "editor.preview.embed": "Embedded content",
319
+ "editor.preview.embedFrom": "Embedded content from {host}",
320
+ "editor.preview.empty": "Nothing to preview yet.",
321
+ "editor.preview.label": "Rendered preview",
322
+ "editor.preview.table": "Table",
323
+ "editor.saveTemplate.count": "{count, plural, one {# block is} other {# blocks are}} saved. You can change everything later in Settings under Magic Editor X, Templates.",
324
+ "editor.saveTemplate.description": "Description",
325
+ "editor.saveTemplate.empty": "This field is empty. Write something first.",
326
+ "editor.saveTemplate.error": "The template could not be saved. Try again.",
327
+ "editor.saveTemplate.kind": "Type",
328
+ "editor.saveTemplate.kindPattern": "Pattern: blocks to insert anywhere",
329
+ "editor.saveTemplate.kindTemplate": "Template: starting content for an empty field",
330
+ "editor.saveTemplate.name": "Name",
331
+ "editor.saveTemplate.nameRequired": "Enter a name.",
332
+ "editor.saveTemplate.rejected": "The template could not be saved: the content is empty or too large.",
333
+ "editor.saveTemplate.save": "Save",
334
+ "editor.saveTemplate.saved": "Template {name} saved.",
335
+ "editor.saveTemplate.scope": "Offer it in",
336
+ "editor.saveTemplate.scopeAll": "Every Magic Editor X field",
337
+ "editor.saveTemplate.scopeField": "Only this field ({field})",
338
+ "editor.saveTemplate.title": "Save as template or pattern",
339
+ "editor.selection.saveTemplate": "Save as pattern",
340
+ "editor.shortcuts.preview": "Show or hide the rendered preview",
341
+ "editor.templates.adjusted": "{count, plural, one {# block was adjusted} other {# blocks were adjusted}} to the settings of this field.",
342
+ "editor.templates.applied": "Template {name} applied.",
343
+ "editor.templates.apply": "Use template",
344
+ "editor.templates.blocks": "{count, plural, one {# block} other {# blocks}}",
345
+ "editor.templates.cancel": "Cancel",
346
+ "editor.templates.clear": "Clear search",
347
+ "editor.templates.close": "Close",
348
+ "editor.templates.empty": "No templates or patterns are available for this field yet.",
349
+ "editor.templates.emptyManager": "Create them in Settings under Magic Editor X, Templates, or save the content of this field as a template.",
350
+ "editor.templates.error": "The templates could not be loaded.",
351
+ "editor.templates.hintPattern": "A pattern is inserted after the block you worked on last.",
352
+ "editor.templates.hintTemplate": "A template replaces the content of this field.",
353
+ "editor.templates.insert": "Insert pattern",
354
+ "editor.templates.inserted": "{count, plural, one {# block} other {# blocks}} from {name} inserted.",
355
+ "editor.templates.kind.pattern": "Pattern",
356
+ "editor.templates.kind.template": "Template",
357
+ "editor.templates.list": "Templates and patterns",
358
+ "editor.templates.loading": "Loading templates",
359
+ "editor.templates.noResults": "No templates match your search.",
360
+ "editor.templates.nothing": "No block of {name} fits this field.",
361
+ "editor.templates.omitted": "{count, plural, one {# block was left out} other {# blocks were left out}} because this field does not allow {count, plural, one {its type} other {their types}}.",
362
+ "editor.templates.previewHeading": "Preview of {name}",
363
+ "editor.templates.replace.body": "The template replaces the {count, plural, one {# block} other {# blocks}} in this field. Undo brings the content back, and nothing is stored until you save the entry.",
364
+ "editor.templates.replace.confirm": "Replace content",
365
+ "editor.templates.replace.title": "Replace the content of this field?",
366
+ "editor.templates.saveCurrent": "Save content as template",
367
+ "editor.templates.search": "Search templates",
368
+ "editor.templates.title": "Insert a template or pattern",
369
+ "editor.templates.truncated": "{count, plural, one {# block was left out} other {# blocks were left out}} because of the block limit of this field.",
370
+ "editor.templates.willOmit": "{count, plural, one {# block is} other {# blocks are}} not allowed in this field and will be left out.",
371
+ "editor.synced.section": "Synced blocks",
372
+ "editor.synced.kind": "Synced block",
373
+ "editor.synced.badge": "Synced",
374
+ "editor.synced.label": "Synced block: {name}",
375
+ "editor.synced.hint": "A synced block is inserted as a reference after the block you worked on last. When its source changes, every field that uses it shows the new content.",
376
+ "editor.synced.insert": "Insert synced block",
377
+ "editor.synced.inserted": "Synced block {name} inserted.",
378
+ "editor.synced.loading": "Loading the synced block",
379
+ "editor.synced.error": "The synced block could not be loaded.",
380
+ "editor.synced.stale": "The latest version could not be loaded. This is the last loaded content.",
381
+ "editor.synced.removed": "Synced block removed. Its source was deleted, so this block shows nothing. You can delete the block.",
382
+ "editor.synced.removedLabel": "Synced block removed",
383
+ "editor.synced.nothingAllowed": "None of its blocks is allowed in this field, so it shows nothing.",
384
+ "editor.synced.omitted": "{count, plural, one {# block of the source is} other {# blocks of the source are}} not allowed in this field and left out.",
385
+ "editor.synced.edit": "Edit source",
386
+ "editor.synced.detach": "Detach",
387
+ "editor.synced.detached": "{name} detached: {count, plural, one {# block is} other {# blocks are}} now regular content of this field. Undo brings the synced block back.",
388
+ "editor.synced.detachFailed": "The synced block could not be loaded, so it was not detached.",
389
+ "editor.history.diff.synced": "Synced block {name}",
390
+ "editor.history.diff.syncedRemoved": "Synced block (source deleted)",
391
+ "editor.history.diff.syncedUnknown": "Synced block",
392
+ "editor.toolbar.preview": "Preview",
393
+ "editor.toolbar.previewOff": "Back to editing",
394
+ "editor.toolbar.templates": "Insert template",
192
395
  "editor.stats.blocksLimit": "{blocks} / {max} blocks",
193
396
  "editor.stats.blocks": "{blocks, plural, one {# block} other {# blocks}}",
194
397
  "editor.stats.words": "{words, plural, one {# word} other {# words}}",
@@ -77,6 +77,16 @@ const en = {
77
77
  "tools.hyperlink.label": "Link address",
78
78
  "tools.hyperlink.newTab": "Open in a new tab",
79
79
  "tools.hyperlink.placeholder": "Paste a link and press Enter",
80
+ "tools.mention.title": "Mention an entry",
81
+ "tools.names.mention": "Mention",
82
+ "tools.names.toc": "Table of contents",
83
+ "tools.toc.empty": "No headings between level {min} and {max} yet. Add headings and they appear here.",
84
+ "tools.toc.from": "From level",
85
+ "tools.toc.preview": "Headings in this document",
86
+ "tools.toc.style": "Style",
87
+ "tools.toc.title": "Title",
88
+ "tools.toc.titlePlaceholder": "Contents",
89
+ "tools.toc.to": "To level",
80
90
  "tools.image.background": "With background",
81
91
  "tools.image.border": "With border",
82
92
  "tools.image.select": "Select an image",
@@ -121,7 +131,7 @@ const en = {
121
131
  "tools.names.underline": "Underline",
122
132
  "tools.names.unorderedList": "Bulleted list",
123
133
  "tools.names.warning": "Warning",
124
- "tools.paragraph.placeholder": "Write, or press Tab to choose a block",
134
+ "tools.paragraph.placeholder": "Write, or type / to choose a block",
125
135
  "tools.personality.description": "Role or description",
126
136
  "tools.personality.link": "Link (optional)",
127
137
  "tools.personality.name": "Name",
@@ -172,9 +182,77 @@ const en = {
172
182
  "tools.csp.askAdmin": "Ask an administrator to allow it in the Content Security Policy.",
173
183
  "tools.image.altRequired": "Alternative text (required)",
174
184
  "tools.image.alt": "Alternative text",
185
+ "tools.image.aiAlt.suggest": "Suggest alternative text",
186
+ "tools.image.aiAlt.use": "Use suggestion",
187
+ "tools.image.aiAlt.dismiss": "Dismiss",
188
+ "tools.image.aiAlt.label": "Suggested alternative text (review before using)",
189
+ "tools.image.aiAlt.noFile": "Only images from the Media Library can be described.",
190
+ "tools.image.aiAlt.working": "Asking the AI provider for a suggestion",
191
+ "tools.image.aiAlt.ready": "Suggestion ready. Review it before using it.",
192
+ "tools.image.aiAlt.used": "Suggestion added. You can still edit it.",
193
+ "tools.image.aiAlt.error.off": "Alternative text suggestions are turned off.",
194
+ "tools.image.aiAlt.error.format": "Only JPEG, PNG, GIF and WebP can be described.",
195
+ "tools.image.aiAlt.error.large": "The image is too large to send.",
196
+ "tools.image.aiAlt.error.read": "The image file could not be read.",
197
+ "tools.image.aiAlt.error.refused": "The AI provider declined this image.",
198
+ "tools.image.aiAlt.error.timeout": "The AI provider did not answer in time.",
199
+ "tools.image.aiAlt.error.rateLimit": "You sent many requests. Try again in a minute.",
200
+ "tools.image.aiAlt.error.generic": "No suggestion is available right now.",
175
201
  "tools.image.altPlaceholder": "Describe the image for people who cannot see it",
176
202
  "tools.image.decorative": "Decorative image (no alternative text)",
177
203
  "tools.image.altMissing": "Add an alternative text or mark the image as decorative.",
204
+ "tools.media.noAccess": "You cannot choose files: your role has no read access to the Media Library. Ask an administrator for it.",
205
+ "tools.gallery.add": "Add images",
206
+ "tools.gallery.layoutGrid": "Grid",
207
+ "tools.gallery.layoutCarousel": "Carousel",
208
+ "tools.gallery.layout": "Layout",
209
+ "tools.gallery.columns": "Columns (grid)",
210
+ "tools.gallery.count": "{count, plural, one {# image} other {# images}} (at most {max})",
211
+ "tools.gallery.empty": "No images yet. Add images from the Media Library.",
212
+ "tools.gallery.list": "Gallery images",
213
+ "tools.gallery.caption": "Gallery caption",
214
+ "tools.gallery.skipped": "{count, plural, one {# file was} other {# files were}} not added (only images, at most {max}).",
215
+ "tools.gallery.position": "Image {index} of {count}",
216
+ "tools.gallery.moveEarlier": "Move image {index} earlier",
217
+ "tools.gallery.moveLater": "Move image {index} later",
218
+ "tools.gallery.remove": "Remove image {index}",
219
+ "tools.video.choose": "Choose a video",
220
+ "tools.video.replace": "Replace video",
221
+ "tools.video.empty": "No video yet. Choose one from the Media Library.",
222
+ "tools.audio.choose": "Choose an audio file",
223
+ "tools.audio.replace": "Replace audio file",
224
+ "tools.audio.empty": "No audio file yet. Choose one from the Media Library.",
225
+ "tools.media.loop": "Play in a loop",
226
+ "tools.video.muted": "Start muted",
227
+ "tools.media.title": "Title (accessible name)",
228
+ "tools.video.posterReplace": "Replace poster image",
229
+ "tools.video.poster": "Choose a poster image",
230
+ "tools.video.posterLabel": "Poster image",
231
+ "tools.video.noPoster": "No poster image.",
232
+ "tools.video.posterRemove": "Remove poster image",
233
+ "tools.media.tracks": "Captions and subtitles (WebVTT)",
234
+ "tools.video.captionsHint": "Add captions so people who cannot hear the video can follow it.",
235
+ "tools.media.kindCaptions": "Captions",
236
+ "tools.media.kindSubtitles": "Subtitles",
237
+ "tools.media.kindDescriptions": "Descriptions",
238
+ "tools.media.kindChapters": "Chapters",
239
+ "tools.media.trackDefault": "Show by default",
240
+ "tools.media.trackKind": "Kind",
241
+ "tools.media.trackLanguage": "Language (for example en, de)",
242
+ "tools.media.trackLabel": "Label",
243
+ "tools.media.trackRemove": "Remove track {name}",
244
+ "tools.media.trackAdd": "Add a WebVTT file",
245
+ "tools.media.trackInvalid": "Choose a WebVTT file (.vtt).",
246
+ "tools.focal.surface": "Focal point picker",
247
+ "tools.focal.hint": "Click or tap the image, or focus it and use the arrow keys (Shift for larger steps). Frontends keep this point visible when they crop the image.",
248
+ "tools.focal.reset": "Reset focal point",
249
+ "tools.focal.value": "Focal point: {x} % from the left, {y} % from the top",
250
+ "tools.focal.none": "No focal point set (frontends use the centre).",
251
+ "tools.focal.toggleSet": "Focal point {x} %, {y} %",
252
+ "tools.focal.toggle": "Set focal point",
253
+ "tools.names.gallery": "Gallery",
254
+ "tools.names.video": "Video",
255
+ "tools.names.audio": "Audio",
178
256
  "tools.hyperlink.internalOnly": 'Choose an entry with "Link to an entry"'
179
257
  };
180
258
  export {
@@ -24,6 +24,8 @@ const en = {
24
24
  "field.options.maxCharacters.description": "Visible text, counted like the editor toolbar. Empty or 0 means no limit.",
25
25
  "field.options.features": "Features",
26
26
  "field.options.disableAi.label": "Turn off the AI assistant for this field",
27
+ "field.options.disableGrammar.label": "Turn off the grammar check for this field",
28
+ "field.options.disableGrammar.description": "No text from this field is sent to LanguageTool",
27
29
  "field.options.disableCollaboration.label": "Turn off live collaboration for this field",
28
30
  "field.options.publishGuard.label": "Block publishing while quality checks report errors",
29
31
  "field.options.publishGuard.description": "Errors are missing alternative texts (when required) and empty links",
@@ -34,6 +34,36 @@ const en = {
34
34
  "settings.ai.rbacHint": 'Only roles with the "Use the AI assistant" permission see the assistant. Requests per editor are limited to {count} per minute.',
35
35
  "settings.ai.subtitle": "Editors can improve, shorten, translate or continue selected text with your own AI provider. It is off until you turn it on.",
36
36
  "settings.ai.test": "Test connection",
37
+ "settings.languageTool.validation.https": "Use an https URL. Private or http hosts need languageTool.allowPrivateBaseUrl in config/plugins.js.",
38
+ "settings.languageTool.validation.reenterKey": "Enter the API key again when you change the base URL or user name.",
39
+ "settings.ai.images.label": "Send images to the AI provider",
40
+ "settings.ai.images.privacy": "Lets editors ask for an alternative text suggestion. The image (a stored size of at most 1568 pixels) and the content language are sent to {provider}. Off by default.",
41
+ "settings.ai.fieldActions.label": "Allow whole-field AI actions",
42
+ "settings.ai.fieldActions.privacy": "Lets editors translate or summarize a whole field. The text of every block in the field, with its inline formatting and links, is sent to {provider}. Off by default.",
43
+ "settings.languageTool.server": "the LanguageTool server",
44
+ "settings.languageTool.title": "Grammar check (LanguageTool)",
45
+ "settings.languageTool.subtitle": "Editors can check spelling and grammar of a field with a LanguageTool server: your own (self-hosted) or a hosted service. It is off until you turn it on.",
46
+ "settings.languageTool.test": "Test LanguageTool",
47
+ "settings.languageTool.enabled.label": "Turn on the grammar check",
48
+ "settings.languageTool.enabled.privacy": "When an editor checks a field, the plain text of every block in it is sent to {host}. Nothing is sent while the check is off or until an editor starts a check.",
49
+ "settings.languageTool.baseUrl.hint": "For example https://languagetool.example.com. Requests go to the base URL followed by /v2/check.",
50
+ "settings.languageTool.baseUrl.label": "LanguageTool base URL",
51
+ "settings.languageTool.username.hint": "Only for hosted accounts that need a user name and API key. Leave empty for your own server.",
52
+ "settings.languageTool.username.label": "User name (optional)",
53
+ "settings.languageTool.level.hint": "Strict adds style rules for formal text.",
54
+ "settings.languageTool.level.label": "Rules",
55
+ "settings.languageTool.level.default": "Standard",
56
+ "settings.languageTool.level.picky": "Strict",
57
+ "settings.languageTool.key.cannotStoreHint": "Set MAGIC_EDITOR_X_ENCRYPTION_KEY (at least 32 characters) on the server to store a key.",
58
+ "settings.languageTool.key.label": "API key (optional)",
59
+ "settings.languageTool.rbacHint": 'Only roles with the "Use the grammar check (LanguageTool)" permission see the check. Checks per editor are limited to {count} per minute. Private or http servers need languageTool.allowPrivateBaseUrl in config/plugins.js ({state}).',
60
+ "settings.languageTool.private.on": "allowed",
61
+ "settings.languageTool.private.off": "not allowed",
62
+ "settings.languageTool.test.auth": "Connection failed: LanguageTool rejected the user name or key.",
63
+ "settings.languageTool.test.rateLimit": "Connection failed: LanguageTool is busy or rate limited.",
64
+ "settings.languageTool.test.timeout": "Connection failed: LanguageTool did not answer in time.",
65
+ "settings.languageTool.test.failed": "Connection failed. Check the base URL and, for hosted accounts, the user name and key.",
66
+ "settings.languageTool.test.success": "Connection works. LanguageTool answered.",
37
67
  "settings.ai.title": "AI assistant",
38
68
  "settings.blocks.action.delete": "Delete {label}",
39
69
  "settings.blocks.action.duplicate": "Duplicate {label}",
@@ -150,6 +180,108 @@ const en = {
150
180
  "settings.blocks.saved": "Block {label} saved.",
151
181
  "settings.blocks.subtitle": "Define your own blocks for the editor toolbox: simple blocks with fields and an HTML layout, or blocks that embed a Content Manager entry.",
152
182
  "settings.blocks.title": "Custom blocks",
183
+ "settings.link.templates": "Templates",
184
+ "settings.templates.action.delete": "Delete {name}",
185
+ "settings.templates.action.duplicate": "Duplicate {name}",
186
+ "settings.templates.action.edit": "Edit {name}",
187
+ "settings.templates.action.moveDown": "Move {name} down",
188
+ "settings.templates.action.moveUp": "Move {name} up",
189
+ "settings.templates.action.preview": "Preview {name}",
190
+ "settings.templates.action.toggle": "Offer {name} in the editor",
191
+ "settings.templates.blocks": "{count, plural, one {# block} other {# blocks}}",
192
+ "settings.templates.create": "Create template",
193
+ "settings.templates.created": "Template {name} created.",
194
+ "settings.templates.delete.body": "Editors can no longer insert it. Content that was created from it stays unchanged. This cannot be undone.",
195
+ "settings.templates.delete.confirm": "Delete template",
196
+ "settings.templates.delete.title": "Delete the template {name}?",
197
+ "settings.templates.deleteError": "The template could not be deleted.",
198
+ "settings.templates.deleted": "Template {name} deleted.",
199
+ "settings.templates.disabled": "{name} is no longer offered in the editor.",
200
+ "settings.templates.duplicateError": "The template could not be duplicated.",
201
+ "settings.templates.duplicated": "Copy {name} created. It is off until you turn it on.",
202
+ "settings.templates.edit.back": "Back to templates",
203
+ "settings.templates.edit.createTitle": "Create a template",
204
+ "settings.templates.edit.discardBody": "You go back to the list. Your unsaved changes to this template are lost.",
205
+ "settings.templates.edit.discardConfirm": "Discard changes",
206
+ "settings.templates.edit.discardTitle": "Discard your changes?",
207
+ "settings.templates.edit.save": "Save template",
208
+ "settings.templates.edit.subtitle": "Templates are starting content for an empty field. Patterns are groups of blocks editors insert anywhere.",
209
+ "settings.templates.edit.title": "Edit template {name}",
210
+ "settings.templates.empty": "No templates yet. Templates and patterns you create here appear in the Insert template dialog of the fields they are made for.",
211
+ "settings.templates.enabled": "{name} is offered in the editor.",
212
+ "settings.templates.form.content": "Content",
213
+ "settings.templates.form.contentHint": "The blocks the template inserts. Use the preview in the editor toolbar to see the rendered output.",
214
+ "settings.templates.form.contentLabel": "Template content",
215
+ "settings.templates.form.contentRequired": "Add at least one block.",
216
+ "settings.templates.form.description": "Description",
217
+ "settings.templates.form.descriptionHint": "Optional. Helps editors choose.",
218
+ "settings.templates.form.details": "Details",
219
+ "settings.templates.form.enabled": "Offer in the editor",
220
+ "settings.templates.form.enabledHint": "When this is off, editors do not see the template. You can keep working on it.",
221
+ "settings.templates.form.fieldOption": "{type}: {field} ({preset})",
222
+ "settings.templates.form.fields": "Fields",
223
+ "settings.templates.form.fieldsError": "The list of fields could not be loaded.",
224
+ "settings.templates.form.fieldsPlaceholder": "Choose fields",
225
+ "settings.templates.form.invalid": "Some values need attention. They are marked below.",
226
+ "settings.templates.form.kind": "Type",
227
+ "settings.templates.form.kindPattern": "Pattern: a group of blocks inserted after the current block",
228
+ "settings.templates.form.kindTemplate": "Template: starting content, applied to an empty field or replacing its content after a confirmation",
229
+ "settings.templates.form.name": "Name",
230
+ "settings.templates.form.nameHint": "Shown in the Insert template dialog of the editor.",
231
+ "settings.templates.form.nameRequired": "Enter a name.",
232
+ "settings.templates.form.presets": "Presets",
233
+ "settings.templates.form.presetsPlaceholder": "Choose presets",
234
+ "settings.templates.form.scope": "Where it is offered",
235
+ "settings.templates.form.scopeAll": "Every Magic Editor X field",
236
+ "settings.templates.form.scopeHint": "Editors see the template in these fields. Blocks a field does not allow are left out when they insert it.",
237
+ "settings.templates.form.scopeLimited": "Only fields with these presets, and these fields",
238
+ "settings.templates.form.scopeRequired": "Choose at least one preset or field.",
239
+ "settings.templates.form.tooLong": "This text is too long.",
240
+ "settings.templates.form.tooManyBlocks": "A template can have at most {max} blocks.",
241
+ "settings.templates.kind.pattern": "Pattern",
242
+ "settings.templates.kind.template": "Template",
243
+ "settings.templates.list.actions": "Actions",
244
+ "settings.templates.list.enabled": "In the editor",
245
+ "settings.templates.list.kind": "Type",
246
+ "settings.templates.list.label": "Templates",
247
+ "settings.templates.list.name": "Name",
248
+ "settings.templates.list.scope": "Offered in",
249
+ "settings.templates.loadError": "The templates could not be loaded.",
250
+ "settings.templates.moveError": "The order could not be saved.",
251
+ "settings.templates.noDescription": "No description",
252
+ "settings.templates.notFound": "This template no longer exists.",
253
+ "settings.templates.preset.article": "Article",
254
+ "settings.templates.preset.basic": "Basic",
255
+ "settings.templates.preset.full": "Full",
256
+ "settings.templates.preset.minimal": "Minimal",
257
+ "settings.templates.preview.title": "Preview of {name}",
258
+ "settings.templates.refreshError": "The list could not be refreshed. It shows the last loaded state.",
259
+ "settings.templates.rejected": "The server rejected some values. They are marked in the form.",
260
+ "settings.templates.saveError": "The template could not be saved. Your changes are still in the form.",
261
+ "settings.templates.saved": "Template {name} saved.",
262
+ "settings.templates.scope.all": "Every field",
263
+ "settings.templates.scope.limited": "Selected presets and fields ({count})",
264
+ "settings.templates.subtitle": 'Reusable starting content and block patterns. Editors insert them with "Insert template" in the editor toolbar.',
265
+ "settings.templates.title": "Templates",
266
+ "settings.templates.toggleError": "The template could not be updated.",
267
+ "settings.templates.kind.synced": "Synced block",
268
+ "settings.templates.filter.label": "Show",
269
+ "settings.templates.filter.all": "All types",
270
+ "settings.templates.filter.template": "Templates",
271
+ "settings.templates.filter.pattern": "Patterns",
272
+ "settings.templates.filter.synced": "Synced blocks",
273
+ "settings.templates.filter.empty": "Nothing of this type yet.",
274
+ "settings.templates.form.kindSynced": "Synced block: inserted as a reference; when you change it here, every field that uses it shows the change",
275
+ "settings.templates.form.kindLocked": "A synced block cannot be turned into a template or pattern, or the other way round.",
276
+ "settings.templates.form.nestedSynced": "A synced block cannot contain another synced block. Remove it or detach it first.",
277
+ "settings.templates.delete.syncedTitle": "Delete the synced block {name}?",
278
+ "settings.templates.delete.syncedConfirm": "Delete synced block",
279
+ "settings.templates.delete.syncedBody": 'After deleting it, these places show nothing where the synced block was, on the website and in the API. Editors see "Synced block removed". This cannot be undone.',
280
+ "settings.templates.usage.loading": "Counting where it is used",
281
+ "settings.templates.usage.error": "It could not be counted where this synced block is used.",
282
+ "settings.templates.usage.none": "It is not used in any entry, template or pattern.",
283
+ "settings.templates.usage.count": "It is used in {entries, plural, one {# entry} other {# entries}} ({fields, plural, one {# field} other {# fields}}) and {templates, plural, one {# template or pattern} other {# templates or patterns}}.",
284
+ "settings.templates.usage.countAtLeast": "It is used in at least {entries, plural, one {# entry} other {# entries}} ({fields, plural, one {# field} other {# fields}}) and {templates, plural, one {# template or pattern} other {# templates or patterns}}. Not every entry could be checked.",
153
285
  "settings.blocks.toggleError": "The block could not be updated.",
154
286
  "settings.blocks.toggleInvalid": "Block {label} has invalid settings. Edit it to fix them first.",
155
287
  "settings.blocks.tune.alignment": "Alignment",
@@ -173,6 +305,14 @@ const en = {
173
305
  "settings.configuration.readOnly": 'You can view these settings. Changing them needs the "Update settings" permission.',
174
306
  "settings.configuration.subtitle": "Choose an AI provider for the editor assistant and review the server options.",
175
307
  "settings.configuration.title": "Configuration",
308
+ "settings.blocks.code.title": "Defined in code",
309
+ "settings.blocks.code.subtitle": "Blocks your app registers in code with the custom block SDK. They are changed in the code and cannot be edited here.",
310
+ "settings.blocks.code.badge": "Defined in code",
311
+ "settings.blocks.code.version": "Version {version}",
312
+ "settings.blocks.code.fields": "Fields: {fields}",
313
+ "settings.blocks.code.presets": "Also in the presets: {presets}",
314
+ "settings.blocks.code.noTool": "No editor tool is registered in the admin, so editors cannot insert this block.",
315
+ "settings.blocks.code.noServer": "Not registered on the server: saved content of this block is cleaned with the generic policy.",
176
316
  "settings.discard": "Discard changes",
177
317
  "settings.discard.body": "The form goes back to the stored settings. Your unsaved changes are lost.",
178
318
  "settings.discard.confirm": "Discard changes",
@@ -195,6 +335,11 @@ const en = {
195
335
  "settings.environment.snapshotsOff": "Off",
196
336
  "settings.environment.subtitle": "These options are set in config/plugins.js and apply after a restart. They cannot be changed here.",
197
337
  "settings.environment.title": "Server configuration",
338
+ "settings.environment.linkSchedule": "Scheduled link check",
339
+ "settings.environment.linkScheduleHint": "Rule {rule}, at most {max} links per run (qualityChecks.externalLinks.schedule).",
340
+ "settings.environment.linkScheduleLastRun": "Last run {date}: {checked, number} links checked, {problems, number} with problems.",
341
+ "settings.environment.linkScheduleNever": "No run yet.",
342
+ "settings.environment.linkScheduleIncomplete": "The last run did not finish; results of earlier runs were kept.",
198
343
  "settings.link.configuration": "Configuration",
199
344
  "settings.link.customBlocks": "Custom blocks",
200
345
  "settings.retry": "Try again",