magic-editor-x 2.1.0 → 2.2.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 (81) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +215 -89
  3. package/bin/magic-editor-x.mjs +190 -0
  4. package/dist/admin/{ConfigurationPage-CK2AbfGW.mjs → ConfigurationPage-3Dir3dAf.mjs} +3 -3
  5. package/dist/admin/{ConfigurationPage-CzsT_dO_.js → ConfigurationPage-YvnPnna6.js} +3 -3
  6. package/dist/admin/{CustomBlocksPage-CvLrsBds.js → CustomBlocksPage-BiiL2ORG.js} +4 -4
  7. package/dist/admin/{CustomBlocksPage-B2A8S5MV.mjs → CustomBlocksPage-CR2BaP9O.mjs} +4 -4
  8. package/dist/admin/{EditorField-7YCdXx-v.mjs → EditorField-B8pyAxPE.mjs} +5384 -278
  9. package/dist/admin/{EditorField-BdBCW15Q.js → EditorField-Diq1j8kc.js} +5378 -272
  10. package/dist/admin/{api-CmccMxlN.js → api-Dsq53giv.js} +1 -0
  11. package/dist/admin/{api-D5CAH0nh.mjs → api-RZ0Fz0BD.mjs} +1 -0
  12. package/dist/admin/de-62Vxb2iw.js +250 -0
  13. package/dist/admin/de-BVvwSYYO.mjs +250 -0
  14. package/dist/admin/de-BmmLBJli.mjs +41 -0
  15. package/dist/admin/{de-CkUYGb7U.js → de-BteRx2iA.js} +7 -1
  16. package/dist/admin/{de-rRIutpYJ.mjs → de-CFX5atOk.mjs} +7 -1
  17. package/dist/admin/de-DaJwN6nk.js +41 -0
  18. package/dist/admin/en-Cg2Ak5Cr.mjs +250 -0
  19. package/dist/admin/en-Cn78RZs-.js +41 -0
  20. package/dist/admin/{en-DulOcmXb.js → en-CyjAcccB.js} +7 -1
  21. package/dist/admin/en-D7mZWLGp.mjs +41 -0
  22. package/dist/admin/en-VlkaIzrM.js +250 -0
  23. package/dist/admin/{en-Puup8TFi.mjs → en-ea0tfA5i.mjs} +7 -1
  24. package/dist/admin/es-BT9oAcHf.js +250 -0
  25. package/dist/admin/es-BmGtLkJD.js +41 -0
  26. package/dist/admin/{es-BoQZC86B.js → es-C8GZFGjv.js} +7 -1
  27. package/dist/admin/es-C9-cXdb6.mjs +250 -0
  28. package/dist/admin/{es-257SSB7f.mjs → es-CEi_ycX8.mjs} +7 -1
  29. package/dist/admin/es-joykG5I9.mjs +41 -0
  30. package/dist/admin/{fr-C5rSdKU4.mjs → fr-BAMSvQbR.mjs} +7 -1
  31. package/dist/admin/fr-CrzxGe5e.mjs +41 -0
  32. package/dist/admin/fr-Ct_uPqxV.js +41 -0
  33. package/dist/admin/fr-D6KJqPWi.js +250 -0
  34. package/dist/admin/fr-DpU_qiXR.mjs +250 -0
  35. package/dist/admin/{fr-HxFcPpv4.js → fr-oRCJNdeJ.js} +7 -1
  36. package/dist/admin/index-C-lyON1B.mjs +303 -0
  37. package/dist/admin/index-iA0lued_.js +302 -0
  38. package/dist/admin/index.js +1 -1
  39. package/dist/admin/index.mjs +1 -1
  40. package/dist/admin/pt-BOrl6x-r.js +250 -0
  41. package/dist/admin/{pt-D6UuEtPy.mjs → pt-CQrfqsCN.mjs} +7 -1
  42. package/dist/admin/pt-Ga-4Hsv0.mjs +41 -0
  43. package/dist/admin/pt-chN2jrXl.js +41 -0
  44. package/dist/admin/pt-jUqOR7Xh.mjs +250 -0
  45. package/dist/admin/{pt-Cjn2Sc9k.js → pt-tUeJ2Ywd.js} +7 -1
  46. package/dist/admin/{sanitize-DP5aeU7V.js → sanitize-Cb4jvBhj.js} +42 -11
  47. package/dist/admin/{sanitize-jjCot5PM.mjs → sanitize-ClkX823p.mjs} +45 -14
  48. package/dist/admin/{useT-91ruePzq.js → useT-BWZ_-Hel.js} +1 -1
  49. package/dist/admin/{useT-vgY88N_H.mjs → useT-pvHmgBFj.mjs} +1 -1
  50. package/dist/render/index.d.mts +75 -0
  51. package/dist/render/index.d.ts +75 -0
  52. package/dist/render/index.js +1420 -0
  53. package/dist/render/index.mjs +1398 -0
  54. package/dist/server/index.js +8081 -348
  55. package/dist/server/index.mjs +8084 -351
  56. package/package.json +21 -4
  57. package/schema/magic-editor-x.schema.json +967 -0
  58. package/types/index.d.ts +211 -0
  59. package/types/render.d.ts +75 -0
  60. package/dist/admin/de-BHPyA2S-.mjs +0 -103
  61. package/dist/admin/de-DBR893G4.js +0 -13
  62. package/dist/admin/de-RMs-_SCK.js +0 -103
  63. package/dist/admin/de-fBFh09Wl.mjs +0 -13
  64. package/dist/admin/en-BluCStLw.mjs +0 -103
  65. package/dist/admin/en-C81faOHP.js +0 -103
  66. package/dist/admin/en-D9Nfccux.mjs +0 -13
  67. package/dist/admin/en-gueRT44P.js +0 -13
  68. package/dist/admin/es-B0Zy8DVg.mjs +0 -13
  69. package/dist/admin/es-CQRI2Prp.mjs +0 -103
  70. package/dist/admin/es-D1QzY0JW.js +0 -103
  71. package/dist/admin/es-DRGs7meF.js +0 -13
  72. package/dist/admin/fr-B8rdLAIL.js +0 -13
  73. package/dist/admin/fr-Di3R6gOX.mjs +0 -103
  74. package/dist/admin/fr-R3_MbzT5.js +0 -103
  75. package/dist/admin/fr-oiUb2bb_.mjs +0 -13
  76. package/dist/admin/index-0_b1iroK.mjs +0 -156
  77. package/dist/admin/index-6SZLli70.js +0 -155
  78. package/dist/admin/pt-B3Jce6uT.mjs +0 -13
  79. package/dist/admin/pt-BCW1u_Hp.js +0 -103
  80. package/dist/admin/pt-BiWuSBcH.js +0 -13
  81. package/dist/admin/pt-Cr9AL408.mjs +0 -103
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const de = {
4
+ "field.label": "Magic Editor X",
5
+ "field.description": "Block-Editor mit Medien, Einbettungen, eigenen Blöcken, Versionsverlauf und gemeinsamer Live-Bearbeitung",
6
+ "field.options.section": "Editor",
7
+ "field.options.placeholder.label": "Platzhalter",
8
+ "field.options.placeholder.description": "Text, der angezeigt wird, solange der Editor leer ist",
9
+ "field.options.advanced": "Layout",
10
+ "field.options.minHeight.label": "Mindesthöhe (px)",
11
+ "field.options.minHeight.description": "Höhe des leeren Editors, zwischen 120 und 2000 Pixeln",
12
+ "field.options.preset.label": "Vorgabe",
13
+ "field.options.preset.description": "Welche Blöcke und Formatierungen Redakteure in diesem Feld verwenden können. Wird beim Speichern durchgesetzt.",
14
+ "field.options.linkTargets.label": "Erlaubte Links",
15
+ "field.options.linkTargets.description": "Links auf Einträge dieser Website, auf Webadressen, beides oder keine",
16
+ "field.options.requireAlt.label": "Alternativtext für Bilder verlangen",
17
+ "field.options.requireAlt.description": "Bilder brauchen eine Textbeschreibung oder müssen als dekorativ markiert sein",
18
+ "field.options.content": "Erlaubte Inhalte und Grenzen",
19
+ "field.options.allowedBlocks.label": "Erlaubte Blöcke",
20
+ "field.options.allowedBlocks.description": "Kommagetrennte Blocknamen, die die Liste der Vorgabe ersetzen, zum Beispiel: paragraph, header, list, image, myCustomBlock",
21
+ "field.options.headingLevels.label": "Überschriftenebenen",
22
+ "field.options.headingLevels.description": "Zum Beispiel 2-4 oder 2,3. Leer verwendet die Vorgabe.",
23
+ "field.options.maxBlocks.label": "Höchstzahl an Blöcken",
24
+ "field.options.maxBlocks.description": "Leer oder 0 bedeutet keine Grenze",
25
+ "field.options.maxCharacters.label": "Höchstzahl an Zeichen",
26
+ "field.options.maxCharacters.description": "Sichtbarer Text, gezählt wie in der Editor-Werkzeugleiste. Leer oder 0 bedeutet keine Grenze.",
27
+ "field.options.features": "Funktionen",
28
+ "field.options.disableAi.label": "KI-Assistent für dieses Feld ausschalten",
29
+ "field.options.disableCollaboration.label": "Live-Zusammenarbeit für dieses Feld ausschalten",
30
+ "field.options.publishGuard.label": "Veröffentlichen blockieren, solange die Qualitätsprüfung Fehler meldet",
31
+ "field.options.publishGuard.description": "Fehler sind fehlende Alternativtexte (wenn verlangt) und leere Links",
32
+ "field.options.preset.full": "Vollständig: alle Blöcke und Formatierungen",
33
+ "field.options.preset.article": "Artikel: lange Texte ohne Roh-HTML",
34
+ "field.options.preset.basic": "Einfach: Überschriften 2-3, Listen, Zitate, Bilder",
35
+ "field.options.preset.minimal": "Minimal: Absätze, Listen, fett, kursiv, Links",
36
+ "field.options.linkTargets.all": "Einträge und Webadressen",
37
+ "field.options.linkTargets.internal": "Nur Einträge dieser Website",
38
+ "field.options.linkTargets.external": "Nur Webadressen",
39
+ "field.options.linkTargets.none": "Keine Links"
40
+ };
41
+ exports.default = de;
@@ -0,0 +1,250 @@
1
+ const en = {
2
+ "editor.upload.failed": "The file could not be uploaded.",
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",
5
+ "editor.value.invalid": "The stored content could not be read. It is kept until you edit this field.",
6
+ "editor.config.error": "The editor could not be loaded.",
7
+ "editor.config.retry": "Try again",
8
+ "editor.loading": "Loading the editor",
9
+ "editor.collab.status.connecting": "Connecting",
10
+ "editor.collab.status.syncing": "Syncing",
11
+ "editor.collab.status.live": "Live",
12
+ "editor.collab.status.offline": "Offline",
13
+ "editor.collab.status.denied": "Live editing unavailable",
14
+ "editor.collab.status.error": "Live editing unavailable",
15
+ "editor.toolbar.undo": "Undo",
16
+ "editor.toolbar.redo": "Redo",
17
+ "editor.toolbar.history": "Version history",
18
+ "editor.toolbar.exitFullscreen": "Exit full screen",
19
+ "editor.toolbar.fullscreen": "Full screen",
20
+ "editor.collab.viewer": "{name} (viewing)",
21
+ "editor.collab.readOnly": "View only",
22
+ "editor.collab.peers": "{count, plural, =0 {Nobody else is editing} one {# other person is editing} other {# other people are editing}}",
23
+ "editor.history.trigger.manual": "Saved",
24
+ "editor.history.trigger.auto": "Automatic",
25
+ "editor.history.trigger.restore": "Restored",
26
+ "editor.history.trigger.legacy": "From 1.x",
27
+ "editor.history.saved": "Version saved.",
28
+ "editor.history.unchanged": "Nothing changed since the last version.",
29
+ "editor.history.saveFailed": "The version could not be saved.",
30
+ "editor.history.restored": "Version {version} restored. Save the entry to keep it.",
31
+ "editor.history.restoreFailed": "This version could not be restored.",
32
+ "editor.history.close": "Close",
33
+ "editor.history.title": "Version history",
34
+ "editor.history.description": "Versions of this field. Restoring replaces the editor content; save the entry to keep it.",
35
+ "editor.history.loading": "Loading versions",
36
+ "editor.history.error": "Versions could not be loaded.",
37
+ "editor.history.retry": "Try again",
38
+ "editor.history.empty": "No versions yet. Save one to start the history.",
39
+ "editor.history.listLabel": "Versions",
40
+ "editor.history.version": "Version {version}",
41
+ "editor.history.byline": "{date} by {name}",
42
+ "editor.history.stats": "{blocks, plural, one {# block} other {# blocks}} · {words, plural, one {# word} other {# words}}",
43
+ "editor.history.preview": "Preview version {version}",
44
+ "editor.history.restore": "Restore",
45
+ "editor.history.previewLoading": "Loading preview",
46
+ "editor.history.previewError": "The preview could not be loaded.",
47
+ "editor.history.cancel": "Close",
48
+ "editor.history.save": "Save current version",
49
+ "editor.history.confirmTitle": "Restore version {version}?",
50
+ "editor.history.confirmBody": "The editor content is replaced with this version. Nothing is stored until you save the entry, so you can still discard the change.",
51
+ "editor.ai.action.improve": "Improve writing",
52
+ "editor.ai.action.grammar": "Fix spelling and grammar",
53
+ "editor.ai.action.shorten": "Make shorter",
54
+ "editor.ai.action.expand": "Make longer",
55
+ "editor.ai.action.summarize": "Summarize",
56
+ "editor.ai.action.simplify": "Simplify",
57
+ "editor.ai.action.translate": "Translate",
58
+ "editor.ai.action.tone": "Change tone",
59
+ "editor.ai.action.continue": "Continue writing",
60
+ "editor.ai.tone.professional": "Professional",
61
+ "editor.ai.tone.friendly": "Friendly",
62
+ "editor.ai.tone.casual": "Casual",
63
+ "editor.ai.tone.confident": "Confident",
64
+ "editor.ai.tone.formal": "Formal",
65
+ "editor.ai.tone.persuasive": "Persuasive",
66
+ "editor.ai.error.disabled": "The AI assistant is turned off.",
67
+ "editor.ai.error.notConfigured": "The AI assistant is not configured yet.",
68
+ "editor.ai.error.noKey": "The AI provider key is missing.",
69
+ "editor.ai.error.auth": "The AI provider rejected the key.",
70
+ "editor.ai.error.busy": "The AI provider is busy. Try again later.",
71
+ "editor.ai.error.timeout": "The AI provider did not answer in time.",
72
+ "editor.ai.error.refused": "The AI provider declined this request.",
73
+ "editor.ai.error.rateLimit": "You sent many requests. Try again in a minute.",
74
+ "editor.ai.error.tooLong": "The selected text is too long for the assistant.",
75
+ "editor.ai.error.generic": "The AI assistant is not available right now.",
76
+ "editor.ai.close": "Close",
77
+ "editor.ai.title": "AI assistant",
78
+ "editor.ai.selection": "Selected text",
79
+ "editor.ai.noSelection": "Select text in the editor first.",
80
+ "editor.ai.action": "What should the assistant do?",
81
+ "editor.ai.language": "Target language",
82
+ "editor.ai.tone": "Tone",
83
+ "editor.ai.privacy": "The selected text is sent to the AI provider your administrator configured.",
84
+ "editor.ai.working": "Writing a suggestion",
85
+ "editor.ai.suggestion": "Suggestion",
86
+ "editor.ai.cancel": "Cancel",
87
+ "editor.ai.retry": "Try again",
88
+ "editor.ai.generate": "Generate",
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.",
91
+ "editor.collab.status.reconnecting": "Reconnecting",
92
+ "editor.collab.away": "{name} (away)",
93
+ "editor.collab.editingBlock": "{name} is editing this block",
94
+ "editor.collab.more": "+{count}",
95
+ "editor.collab.unsent": "Changes are kept and sent when the connection is back",
96
+ "editor.collab.upgrade": "Reload the page to keep editing live",
97
+ "editor.collab.joined": "{names} joined",
98
+ "editor.collab.left": "{names} left",
99
+ "editor.history.namedLatest": "Nothing changed since the last version, so the name was given to it.",
100
+ "editor.history.labelField": "Name of the new version",
101
+ "editor.history.labelHint": 'Optional. For example "Before legal review". Up to 120 characters.',
102
+ "editor.history.labelTooLong": "Use 120 characters or fewer.",
103
+ "editor.history.rename": "Rename version {version}",
104
+ "editor.history.renameLabel": "Version name",
105
+ "editor.history.renameHint": "Leave empty to remove the name.",
106
+ "editor.history.renameSave": "Save name",
107
+ "editor.history.renameCancel": "Cancel",
108
+ "editor.history.renamed": "Version name saved.",
109
+ "editor.history.renameFailed": "The name could not be saved.",
110
+ "editor.history.tabs": "Version views",
111
+ "editor.history.tab.preview": "Preview",
112
+ "editor.history.tab.changes": "Changes",
113
+ "editor.history.diff.loading": "Comparing with the current content",
114
+ "editor.history.diff.error": "The changes could not be shown.",
115
+ "editor.history.diff.none": "This version has the same content as the editor.",
116
+ "editor.history.diff.help": 'Compared with the current editor content: "Added" is new in the editor since this version, "Removed" was in this version only.',
117
+ "editor.history.diff.summary": "{changed} changed · {added} added · {removed} removed · {moved} moved",
118
+ "editor.history.diff.op.added": "Added since this version",
119
+ "editor.history.diff.op.removed": "Removed since this version",
120
+ "editor.history.diff.op.changed": "Changed",
121
+ "editor.history.diff.op.moved": "Moved",
122
+ "editor.history.diff.formatting": "Formatting only",
123
+ "editor.history.diff.inserted": "Added text:",
124
+ "editor.history.diff.deleted": "Removed text:",
125
+ "editor.history.diff.empty": "(empty)",
126
+ "editor.history.diff.restoreBlock": "Restore this block",
127
+ "editor.history.diff.restoreBlockLabel": "Restore block {number} from version {version}",
128
+ "editor.history.diff.blockRestored": "Block restored. Save the entry to keep it.",
129
+ "editor.history.diff.restoreFailed": "The block could not be restored.",
130
+ "editor.history.diff.more": "{count, plural, one {# more change is} other {# more changes are}} not shown.",
131
+ "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
+ "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
+ "editor.paste.imagesNoUpload": "{count, plural, one {# image was} other {# images were}} left out because you cannot upload files.",
134
+ "editor.paste.failed": "The pasted content could not be converted.",
135
+ "editor.quality.title": "Quality checks",
136
+ "editor.quality.summary": "{errors, plural, one {# error} other {# errors}} · {warnings, plural, one {# warning} other {# warnings}}",
137
+ "editor.quality.close": "Close quality checks",
138
+ "editor.quality.errors": "Errors",
139
+ "editor.quality.warnings": "Warnings",
140
+ "editor.quality.empty": "No problems found.",
141
+ "editor.quality.block": "Block {index}",
142
+ "editor.quality.guard.blocked": "Publishing is blocked while errors remain.",
143
+ "editor.quality.guard.info": "This field cannot be published while it has errors.",
144
+ "editor.quality.rule.imageAlt": "Image without alternative text",
145
+ "editor.quality.rule.headingOrder": "Heading level {level} skips a level",
146
+ "editor.quality.rule.multipleH1": "More than one level 1 heading",
147
+ "editor.quality.rule.emptyHeading": "Empty heading",
148
+ "editor.quality.rule.emptyLink": "Link without text or address",
149
+ "editor.quality.rule.ambiguousLink": 'Link text "{text}" does not say where the link goes',
150
+ "editor.quality.rule.tableHeader": "Table without a header row",
151
+ "editor.quality.rule.lowContrast": "Text colour contrast {ratio}:1 is below 4.5:1",
152
+ "editor.quality.rule.unknown": "Problem",
153
+ "editor.quality.links.title": "Links and media",
154
+ "editor.quality.links.check": "Check links",
155
+ "editor.quality.links.checking": "Checking links",
156
+ "editor.quality.links.done": "Link check finished: {count, plural, =0 {no problems} one {# problem} other {# problems}}",
157
+ "editor.quality.links.rateLimited": "Too many link checks. Try again in a minute.",
158
+ "editor.quality.links.failed": "The links could not be checked.",
159
+ "editor.quality.links.none": "This content has no links to check.",
160
+ "editor.quality.links.results": "Link check results",
161
+ "editor.quality.links.externalOff": "External links are not checked. An administrator can turn this on in the plugin configuration.",
162
+ "editor.quality.link.ok": "Works",
163
+ "editor.quality.link.missing": "Not found",
164
+ "editor.quality.link.draft": "Not published",
165
+ "editor.quality.link.unknown": "Not checked (no access)",
166
+ "editor.quality.link.broken": "Broken",
167
+ "editor.quality.link.timeout": "No answer in time",
168
+ "editor.quality.link.blocked": "Address not allowed",
169
+ "editor.quality.link.error": "Unreachable",
170
+ "editor.quality.link.skipped": "Not checked",
171
+ "editor.quality.link.entry": "Entry {documentId} ({type})",
172
+ "editor.quality.link.media": "Media file {id}",
173
+ "editor.selection.deleted": "{count, plural, one {# block deleted} other {# blocks deleted}}",
174
+ "editor.selection.duplicated": "{count, plural, one {# block duplicated} other {# blocks duplicated}}",
175
+ "editor.selection.converted": "{count, plural, one {# block converted} other {# blocks converted}}",
176
+ "editor.selection.copied": "Copied as Markdown",
177
+ "editor.selection.label": "Selected blocks",
178
+ "editor.selection.count": "{count, plural, one {# block selected} other {# blocks selected}}",
179
+ "editor.selection.moveUp": "Move up",
180
+ "editor.selection.moveDown": "Move down",
181
+ "editor.selection.duplicate": "Duplicate",
182
+ "editor.selection.copyMarkdown": "Copy as Markdown",
183
+ "editor.selection.delete": "Delete",
184
+ "editor.selection.convert": "Convert to",
185
+ "editor.toolbar.find": "Find and replace",
186
+ "editor.toolbar.qualityCount": "Quality checks ({count, plural, one {# problem} other {# problems}})",
187
+ "editor.toolbar.quality": "Quality checks",
188
+ "editor.toolbar.more": "More editor actions",
189
+ "editor.toolbar.focusOff": "Leave focus mode",
190
+ "editor.toolbar.focusOn": "Focus mode",
191
+ "editor.toolbar.shortcuts": "Keyboard shortcuts",
192
+ "editor.stats.blocksLimit": "{blocks} / {max} blocks",
193
+ "editor.stats.blocks": "{blocks, plural, one {# block} other {# blocks}}",
194
+ "editor.stats.words": "{words, plural, one {# word} other {# words}}",
195
+ "editor.stats.charactersLimit": "{characters} / {max} characters",
196
+ "editor.stats.characters": "{characters, plural, one {# character} other {# characters}}",
197
+ "editor.stats.reading": "{minutes, plural, one {# min read} other {# min read}}",
198
+ "editor.find.replaced": "{count, plural, one {# match replaced} other {# matches replaced}}",
199
+ "editor.find.position": "{current} of {total}",
200
+ "editor.find.none": "No matches",
201
+ "editor.find.title": "Find and replace",
202
+ "editor.find.close": "Close find and replace",
203
+ "editor.find.find": "Find",
204
+ "editor.find.replaceWith": "Replace with",
205
+ "editor.find.matchCase": "Match case",
206
+ "editor.find.wholeWord": "Whole words",
207
+ "editor.find.regex": "Regular expression",
208
+ "editor.find.previous": "Previous match",
209
+ "editor.find.next": "Next match",
210
+ "editor.find.replace": "Replace",
211
+ "editor.find.replaceAll": "Replace all",
212
+ "editor.find.truncated": "(only the first matches are shown)",
213
+ "editor.find.error.invalid": "This regular expression is not valid.",
214
+ "editor.find.error.tooLong": "Search for at most {max} characters.",
215
+ "editor.preset.title": "Field settings",
216
+ "editor.preset.fix": "Fix automatically",
217
+ "editor.preset.hint": "Saving fails until this content matches the settings of the field. Automatic fixes change heading levels, turn blocks that are not allowed into paragraphs and remove links that are not allowed.",
218
+ "editor.preset.rule.block": 'Block type "{type}" is not allowed in this field',
219
+ "editor.preset.rule.heading": "Heading level {level} is not allowed in this field",
220
+ "editor.preset.rule.link": "{kind, select, internal {Links to entries are} other {Links to web addresses are}} not allowed in this field",
221
+ "editor.preset.rule.alt": "Image needs an alternative text or must be marked as decorative",
222
+ "editor.preset.rule.maxBlocks": "{count} blocks, at most {max} are allowed",
223
+ "editor.preset.rule.maxCharacters": "{count} characters, at most {max} are allowed",
224
+ "editor.shortcuts.undo": "Undo",
225
+ "editor.shortcuts.redo": "Redo",
226
+ "editor.shortcuts.find": "Find and replace",
227
+ "editor.shortcuts.help": "Show keyboard shortcuts",
228
+ "editor.shortcuts.toolbox": "Choose a block type (in an empty block)",
229
+ "editor.shortcuts.leave": "Leave the editor",
230
+ "editor.shortcuts.plainPaste": "Paste as plain text",
231
+ "editor.shortcuts.md.heading": "Heading (# to ######, then Space)",
232
+ "editor.shortcuts.md.bullets": "Bulleted list (- or *, then Space)",
233
+ "editor.shortcuts.md.numbers": "Numbered list (1. then Space)",
234
+ "editor.shortcuts.md.checklist": "Checklist ([] or [x], then Space)",
235
+ "editor.shortcuts.md.quote": "Quote (> then Space)",
236
+ "editor.shortcuts.md.code": "Code block (``` then Enter)",
237
+ "editor.shortcuts.md.delimiter": "Delimiter (--- then Enter)",
238
+ "editor.shortcuts.md.bold": "**bold**, _italic_, ~~strike~~, `code`",
239
+ "editor.shortcuts.close": "Close",
240
+ "editor.shortcuts.title": "Keyboard shortcuts",
241
+ "editor.shortcuts.editor": "Editor",
242
+ "editor.shortcuts.tools": "Blocks and formatting",
243
+ "editor.shortcuts.markdown": "Markdown while typing",
244
+ "editor.preset.fixed": "{fixed, plural, one {# block fixed} other {# blocks fixed}}{removed, plural, =0 {} one {, # removed} other {, # removed}}",
245
+ "editor.preset.notice": "This content does not match the settings of this field ({count, plural, one {# problem} other {# problems}}). Saving fails until it is fixed.",
246
+ "editor.preset.show": "Show problems"
247
+ };
248
+ export {
249
+ en as default
250
+ };
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const en = {
4
+ "field.label": "Magic Editor X",
5
+ "field.description": "Block editor with media, embeds, custom blocks, history and live collaboration",
6
+ "field.options.section": "Editor",
7
+ "field.options.placeholder.label": "Placeholder",
8
+ "field.options.placeholder.description": "Text shown while the editor is empty",
9
+ "field.options.advanced": "Layout",
10
+ "field.options.minHeight.label": "Minimum height (px)",
11
+ "field.options.minHeight.description": "Height of the empty editor, between 120 and 2000 pixels",
12
+ "field.options.preset.label": "Preset",
13
+ "field.options.preset.description": "Which blocks and formatting editors can use in this field. Enforced when saving.",
14
+ "field.options.linkTargets.label": "Allowed links",
15
+ "field.options.linkTargets.description": "Links to entries of this site, to web addresses, both or none",
16
+ "field.options.requireAlt.label": "Require alternative text for images",
17
+ "field.options.requireAlt.description": "Images need a text description or must be marked as decorative",
18
+ "field.options.content": "Allowed content and limits",
19
+ "field.options.allowedBlocks.label": "Allowed blocks",
20
+ "field.options.allowedBlocks.description": "Comma-separated block names that replace the preset list, for example: paragraph, header, list, image, myCustomBlock",
21
+ "field.options.headingLevels.label": "Heading levels",
22
+ "field.options.headingLevels.description": "For example 2-4 or 2,3. Empty uses the preset.",
23
+ "field.options.maxBlocks.label": "Maximum number of blocks",
24
+ "field.options.maxBlocks.description": "Empty or 0 means no limit",
25
+ "field.options.maxCharacters.label": "Maximum number of characters",
26
+ "field.options.maxCharacters.description": "Visible text, counted like the editor toolbar. Empty or 0 means no limit.",
27
+ "field.options.features": "Features",
28
+ "field.options.disableAi.label": "Turn off the AI assistant for this field",
29
+ "field.options.disableCollaboration.label": "Turn off live collaboration for this field",
30
+ "field.options.publishGuard.label": "Block publishing while quality checks report errors",
31
+ "field.options.publishGuard.description": "Errors are missing alternative texts (when required) and empty links",
32
+ "field.options.preset.full": "Full: every block and formatting",
33
+ "field.options.preset.article": "Article: long-form text without raw HTML",
34
+ "field.options.preset.basic": "Basic: headings 2-3, lists, quotes, images",
35
+ "field.options.preset.minimal": "Minimal: paragraphs, lists, bold, italic, links",
36
+ "field.options.linkTargets.all": "Entries and web addresses",
37
+ "field.options.linkTargets.internal": "Only entries of this site",
38
+ "field.options.linkTargets.external": "Only web addresses",
39
+ "field.options.linkTargets.none": "No links"
40
+ };
41
+ exports.default = en;
@@ -171,6 +171,12 @@ const en = {
171
171
  "tools.csp.hostBlocked": "The admin does not allow content from {host}. The block is saved unchanged and still appears on your website.",
172
172
  "tools.csp.blockedGeneric": "The admin does not allow this content. The block is saved unchanged and still appears on your website.",
173
173
  "tools.csp.howTo": "How to allow it",
174
- "tools.csp.askAdmin": "Ask an administrator to allow it in the Content Security Policy."
174
+ "tools.csp.askAdmin": "Ask an administrator to allow it in the Content Security Policy.",
175
+ "tools.image.altRequired": "Alternative text (required)",
176
+ "tools.image.alt": "Alternative text",
177
+ "tools.image.altPlaceholder": "Describe the image for people who cannot see it",
178
+ "tools.image.decorative": "Decorative image (no alternative text)",
179
+ "tools.image.altMissing": "Add an alternative text or mark the image as decorative.",
180
+ "tools.hyperlink.internalOnly": 'Choose an entry with "Link to an entry"'
175
181
  };
176
182
  exports.default = en;
@@ -0,0 +1,41 @@
1
+ const en = {
2
+ "field.label": "Magic Editor X",
3
+ "field.description": "Block editor with media, embeds, custom blocks, history and live collaboration",
4
+ "field.options.section": "Editor",
5
+ "field.options.placeholder.label": "Placeholder",
6
+ "field.options.placeholder.description": "Text shown while the editor is empty",
7
+ "field.options.advanced": "Layout",
8
+ "field.options.minHeight.label": "Minimum height (px)",
9
+ "field.options.minHeight.description": "Height of the empty editor, between 120 and 2000 pixels",
10
+ "field.options.preset.label": "Preset",
11
+ "field.options.preset.description": "Which blocks and formatting editors can use in this field. Enforced when saving.",
12
+ "field.options.linkTargets.label": "Allowed links",
13
+ "field.options.linkTargets.description": "Links to entries of this site, to web addresses, both or none",
14
+ "field.options.requireAlt.label": "Require alternative text for images",
15
+ "field.options.requireAlt.description": "Images need a text description or must be marked as decorative",
16
+ "field.options.content": "Allowed content and limits",
17
+ "field.options.allowedBlocks.label": "Allowed blocks",
18
+ "field.options.allowedBlocks.description": "Comma-separated block names that replace the preset list, for example: paragraph, header, list, image, myCustomBlock",
19
+ "field.options.headingLevels.label": "Heading levels",
20
+ "field.options.headingLevels.description": "For example 2-4 or 2,3. Empty uses the preset.",
21
+ "field.options.maxBlocks.label": "Maximum number of blocks",
22
+ "field.options.maxBlocks.description": "Empty or 0 means no limit",
23
+ "field.options.maxCharacters.label": "Maximum number of characters",
24
+ "field.options.maxCharacters.description": "Visible text, counted like the editor toolbar. Empty or 0 means no limit.",
25
+ "field.options.features": "Features",
26
+ "field.options.disableAi.label": "Turn off the AI assistant for this field",
27
+ "field.options.disableCollaboration.label": "Turn off live collaboration for this field",
28
+ "field.options.publishGuard.label": "Block publishing while quality checks report errors",
29
+ "field.options.publishGuard.description": "Errors are missing alternative texts (when required) and empty links",
30
+ "field.options.preset.full": "Full: every block and formatting",
31
+ "field.options.preset.article": "Article: long-form text without raw HTML",
32
+ "field.options.preset.basic": "Basic: headings 2-3, lists, quotes, images",
33
+ "field.options.preset.minimal": "Minimal: paragraphs, lists, bold, italic, links",
34
+ "field.options.linkTargets.all": "Entries and web addresses",
35
+ "field.options.linkTargets.internal": "Only entries of this site",
36
+ "field.options.linkTargets.external": "Only web addresses",
37
+ "field.options.linkTargets.none": "No links"
38
+ };
39
+ export {
40
+ en as default
41
+ };