magic-editor-x 1.6.0 → 2.1.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 (97) hide show
  1. package/CHANGELOG.md +322 -0
  2. package/LICENSE +1 -7
  3. package/README.md +398 -969
  4. package/dist/admin/ConfigurationPage-CK2AbfGW.mjs +886 -0
  5. package/dist/admin/ConfigurationPage-CzsT_dO_.js +888 -0
  6. package/dist/admin/CustomBlocksPage-B2A8S5MV.mjs +1741 -0
  7. package/dist/admin/CustomBlocksPage-CvLrsBds.js +1743 -0
  8. package/dist/admin/EditorField-7YCdXx-v.mjs +6829 -0
  9. package/dist/admin/EditorField-BdBCW15Q.js +6864 -0
  10. package/dist/admin/api-CmccMxlN.js +36 -0
  11. package/dist/admin/api-D5CAH0nh.mjs +37 -0
  12. package/dist/admin/de-BHPyA2S-.mjs +103 -0
  13. package/dist/admin/de-Bt6pYIWi.mjs +246 -0
  14. package/dist/admin/de-CVbi685U.js +246 -0
  15. package/dist/admin/de-CkUYGb7U.js +176 -0
  16. package/dist/admin/de-DBR893G4.js +13 -0
  17. package/dist/admin/de-RMs-_SCK.js +103 -0
  18. package/dist/admin/de-fBFh09Wl.mjs +13 -0
  19. package/dist/admin/de-rRIutpYJ.mjs +176 -0
  20. package/dist/admin/en-BX362fTp.js +246 -0
  21. package/dist/admin/en-B_HltUxZ.mjs +246 -0
  22. package/dist/admin/en-BluCStLw.mjs +103 -0
  23. package/dist/admin/en-C81faOHP.js +103 -0
  24. package/dist/admin/en-D9Nfccux.mjs +13 -0
  25. package/dist/admin/en-DulOcmXb.js +176 -0
  26. package/dist/admin/en-Puup8TFi.mjs +176 -0
  27. package/dist/admin/en-gueRT44P.js +13 -0
  28. package/dist/admin/es-257SSB7f.mjs +176 -0
  29. package/dist/admin/es-B0Zy8DVg.mjs +13 -0
  30. package/dist/admin/es-BoQZC86B.js +176 -0
  31. package/dist/admin/es-CHHEZi44.js +246 -0
  32. package/dist/admin/es-CQRI2Prp.mjs +103 -0
  33. package/dist/admin/es-CrhwOq-5.mjs +246 -0
  34. package/dist/admin/es-D1QzY0JW.js +103 -0
  35. package/dist/admin/es-DRGs7meF.js +13 -0
  36. package/dist/admin/fr-5djKfQ3s.mjs +246 -0
  37. package/dist/admin/fr-B3SL0TBV.js +246 -0
  38. package/dist/admin/fr-B8rdLAIL.js +13 -0
  39. package/dist/admin/fr-C5rSdKU4.mjs +176 -0
  40. package/dist/admin/fr-Di3R6gOX.mjs +103 -0
  41. package/dist/admin/fr-HxFcPpv4.js +176 -0
  42. package/dist/admin/fr-R3_MbzT5.js +103 -0
  43. package/dist/admin/fr-oiUb2bb_.mjs +13 -0
  44. package/dist/admin/index-0_b1iroK.mjs +156 -0
  45. package/dist/admin/index-6SZLli70.js +155 -0
  46. package/dist/admin/index.js +1 -1
  47. package/dist/admin/index.mjs +2 -2
  48. package/dist/admin/pt-B3Jce6uT.mjs +13 -0
  49. package/dist/admin/pt-BCW1u_Hp.js +103 -0
  50. package/dist/admin/pt-BdnY2Cth.mjs +246 -0
  51. package/dist/admin/pt-BiWuSBcH.js +13 -0
  52. package/dist/admin/pt-Cjn2Sc9k.js +176 -0
  53. package/dist/admin/pt-Cr9AL408.mjs +103 -0
  54. package/dist/admin/pt-D6UuEtPy.mjs +176 -0
  55. package/dist/admin/pt-EVwCuBUK.js +246 -0
  56. package/dist/admin/sanitize-DP5aeU7V.js +597 -0
  57. package/dist/admin/sanitize-jjCot5PM.mjs +596 -0
  58. package/dist/admin/useT-91ruePzq.js +130 -0
  59. package/dist/admin/useT-vgY88N_H.mjs +131 -0
  60. package/dist/server/index.js +5373 -64722
  61. package/dist/server/index.mjs +5373 -64731
  62. package/package.json +90 -66
  63. package/strapi-admin.js +3 -0
  64. package/strapi-server.js +3 -0
  65. package/COPYRIGHT_NOTICE.txt +0 -20
  66. package/dist/admin/App-BwMEZnS-.mjs +0 -2144
  67. package/dist/admin/App-HNr2tizR.js +0 -2147
  68. package/dist/admin/CustomBlocksPage-BjcA7MGz.js +0 -1519
  69. package/dist/admin/CustomBlocksPage-COPOZ2-_.mjs +0 -1517
  70. package/dist/admin/LicensePage-D0DMTF41.mjs +0 -392
  71. package/dist/admin/LicensePage-D0_9yPkw.js +0 -394
  72. package/dist/admin/LiveCollaborationPanel-CZAbgAVr.js +0 -223
  73. package/dist/admin/LiveCollaborationPanel-D8z72afw.mjs +0 -221
  74. package/dist/admin/Settings-DRenvRcG.js +0 -441
  75. package/dist/admin/Settings-DjyNURlS.mjs +0 -439
  76. package/dist/admin/de-C_0Mj-Zo.mjs +0 -296
  77. package/dist/admin/de-DVNVpAt9.js +0 -296
  78. package/dist/admin/en-B7AAf1ie.mjs +0 -296
  79. package/dist/admin/en-C2hv5GsA.js +0 -296
  80. package/dist/admin/es-BzJqcIST.js +0 -274
  81. package/dist/admin/es-zdP8sd-f.mjs +0 -274
  82. package/dist/admin/fr-CtAgOgH1.mjs +0 -274
  83. package/dist/admin/fr-D3GwqAAJ.js +0 -274
  84. package/dist/admin/getTranslation-2OiEgVGt.mjs +0 -49459
  85. package/dist/admin/getTranslation-DQ_WJ-7M.js +0 -49475
  86. package/dist/admin/index-Bn2tfJrC.js +0 -2186
  87. package/dist/admin/index-DAtClhqy.js +0 -6956
  88. package/dist/admin/index-FVEbTfqO.mjs +0 -2187
  89. package/dist/admin/index-gjWl-6E2.mjs +0 -6934
  90. package/dist/admin/magic-editor-x.css +0 -1103
  91. package/dist/admin/pt-BmUw6YMP.mjs +0 -274
  92. package/dist/admin/pt-CFo0nTbj.js +0 -274
  93. package/dist/admin/tools-CzHTZaY_.mjs +0 -2268
  94. package/dist/admin/tools-DALFhvPO.js +0 -2299
  95. package/pics/collab-magiceditorX.png +0 -0
  96. package/pics/editorX.png +0 -0
  97. package/pics/liveCollabwidget1.png +0 -0
@@ -0,0 +1,246 @@
1
+ const en = {
2
+ "settings.ai.baseUrl.hint": "Leave empty to use {url}.",
3
+ "settings.ai.baseUrl.hintCompatible": "Required. Requests go to the base URL followed by /v1/chat/completions.",
4
+ "settings.ai.baseUrl.label": "Base URL",
5
+ "settings.ai.enabled.label": "Turn on the AI assistant",
6
+ "settings.ai.enabled.privacy": "When an editor runs an AI action, the selected text is sent to {provider}. Nothing is sent while the assistant is off.",
7
+ "settings.ai.key.cannotStoreHint": "Set MAGIC_EDITOR_X_ENCRYPTION_KEY (at least 32 characters) on the server to store a key here, or pass ai.apiKey in config/plugins.js.",
8
+ "settings.ai.key.environmentHint": "The ai.apiKey setting in config/plugins.js is used and overrides a stored key.",
9
+ "settings.ai.key.hint": "Leave empty to keep the stored key. The key is never shown again after saving.",
10
+ "settings.ai.key.keep": "Keep the stored key",
11
+ "settings.ai.key.label": "API key",
12
+ "settings.ai.key.placeholder": "Enter a new key",
13
+ "settings.ai.key.remove": "Remove the stored key",
14
+ "settings.ai.key.status.environment": "From the environment",
15
+ "settings.ai.key.status.none": "No key stored",
16
+ "settings.ai.key.status.removing": "Removed when you save",
17
+ "settings.ai.key.status.stored": "Stored, encrypted",
18
+ "settings.ai.key.status.unreadable": "Stored key unreadable",
19
+ "settings.ai.key.unreadableHint": "A key is stored but cannot be decrypted, usually because MAGIC_EDITOR_X_ENCRYPTION_KEY changed. Enter the key again.",
20
+ "settings.ai.maxInput.hint": "Longer selections are refused. Allowed: {min} to {max} characters.",
21
+ "settings.ai.maxInput.label": "Maximum text length",
22
+ "settings.ai.maxOutput.hint": "Upper limit for one answer. Allowed: {min} to {max} tokens.",
23
+ "settings.ai.maxOutput.label": "Maximum answer length (tokens)",
24
+ "settings.ai.model.hint": "Default: {model}",
25
+ "settings.ai.model.hintCompatible": "Use the model name your server expects.",
26
+ "settings.ai.model.label": "Model",
27
+ "settings.ai.provider.anthropic": "Anthropic (Messages API)",
28
+ "settings.ai.provider.anthropic.name": "Anthropic",
29
+ "settings.ai.provider.compatible": "OpenAI-compatible server",
30
+ "settings.ai.provider.compatible.name": "the server at the base URL",
31
+ "settings.ai.provider.label": "Provider",
32
+ "settings.ai.provider.openai": "OpenAI (Chat Completions)",
33
+ "settings.ai.provider.openai.name": "OpenAI",
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
+ "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
+ "settings.ai.test": "Test connection",
37
+ "settings.ai.title": "AI assistant",
38
+ "settings.blocks.action.delete": "Delete {label}",
39
+ "settings.blocks.action.duplicate": "Duplicate {label}",
40
+ "settings.blocks.action.edit": "Edit {label}",
41
+ "settings.blocks.action.moveDown": "Move {label} down",
42
+ "settings.blocks.action.moveUp": "Move {label} up",
43
+ "settings.blocks.action.toggle": "Show {label} in the editor toolbox",
44
+ "settings.blocks.contentTypes.error": "Content types could not be loaded.",
45
+ "settings.blocks.create": "Create block",
46
+ "settings.blocks.created": "Block {label} created.",
47
+ "settings.blocks.delete.body": "The block disappears from the editor toolbox. Content that already uses it keeps its data, but the editor shows it as unavailable until a block named {name} exists again. This cannot be undone.",
48
+ "settings.blocks.delete.confirm": "Delete block",
49
+ "settings.blocks.delete.title": "Delete the block {label}?",
50
+ "settings.blocks.deleteError": "The block could not be deleted.",
51
+ "settings.blocks.deleted": "Block {label} deleted.",
52
+ "settings.blocks.disabled": "Block {label} is hidden from the toolbox.",
53
+ "settings.blocks.duplicateError": "The block could not be duplicated.",
54
+ "settings.blocks.duplicated": "Copy {label} created.",
55
+ "settings.blocks.empty": "No custom blocks yet. Blocks you create here appear in the editor toolbox of every Magic Editor X field.",
56
+ "settings.blocks.enabled": "Block {label} is shown in the toolbox.",
57
+ "settings.blocks.export": "Export",
58
+ "settings.blocks.exportError": "The export could not be created.",
59
+ "settings.blocks.exported": "Exported {count, plural, one {# block} other {# blocks}}.",
60
+ "settings.blocks.fieldType.checkbox": "Checkbox",
61
+ "settings.blocks.fieldType.color": "Colour",
62
+ "settings.blocks.fieldType.image": "Image (Media Library)",
63
+ "settings.blocks.fieldType.number": "Number",
64
+ "settings.blocks.fieldType.select": "Choice list",
65
+ "settings.blocks.fieldType.text": "Text",
66
+ "settings.blocks.fieldType.textarea": "Long text",
67
+ "settings.blocks.fieldType.url": "Link (URL)",
68
+ "settings.blocks.fields.add": "Add field",
69
+ "settings.blocks.fields.default": "Default value",
70
+ "settings.blocks.fields.defaultChecked": "Checked by default",
71
+ "settings.blocks.fields.empty": "No fields yet. Without fields the block has one text area named content.",
72
+ "settings.blocks.fields.heading": "Field {number}",
73
+ "settings.blocks.fields.label": "Label",
74
+ "settings.blocks.fields.moveDown": "Move field {name} down",
75
+ "settings.blocks.fields.moveUp": "Move field {name} up",
76
+ "settings.blocks.fields.name": "Key",
77
+ "settings.blocks.fields.nameHint": "Stored data key and template placeholder.",
78
+ "settings.blocks.fields.options": "Options",
79
+ "settings.blocks.fields.optionsHint": 'One option per line. Use "value | label" when the label differs.',
80
+ "settings.blocks.fields.placeholder": "Placeholder",
81
+ "settings.blocks.fields.remove": "Remove field {name}",
82
+ "settings.blocks.fields.required": "Required",
83
+ "settings.blocks.fields.type": "Type",
84
+ "settings.blocks.fields.unnamed": "Field {number}",
85
+ "settings.blocks.form.anyContentType": "Any content type",
86
+ "settings.blocks.form.clearContentType": "Clear content type",
87
+ "settings.blocks.form.clearTitleField": "Clear title field",
88
+ "settings.blocks.form.contentType": "Content type",
89
+ "settings.blocks.form.contentTypeHint": "Leave empty to let editors choose.",
90
+ "settings.blocks.form.description": "Description",
91
+ "settings.blocks.form.displayFields": "Stored fields",
92
+ "settings.blocks.form.displayFieldsHint": "Stored with the block.",
93
+ "settings.blocks.form.enabled": "Show in the editor toolbox",
94
+ "settings.blocks.form.icon": "Icon (SVG)",
95
+ "settings.blocks.form.iconHint": "Optional SVG markup. Scripts, styles and links are removed.",
96
+ "settings.blocks.form.iconPreview": "Icon preview",
97
+ "settings.blocks.form.inlineToolbar": "Allow text formatting (inline toolbar)",
98
+ "settings.blocks.form.label": "Label",
99
+ "settings.blocks.form.labelHint": "Shown in the editor toolbox.",
100
+ "settings.blocks.form.name": "Name",
101
+ "settings.blocks.form.nameHint": "Identifier stored with the content. Filled from the label until you edit it.",
102
+ "settings.blocks.form.nameHintEdit": "Stored as the block type in content. Renaming hides existing blocks of the old name.",
103
+ "settings.blocks.form.placeholder": "Placeholder",
104
+ "settings.blocks.form.previewFields": "Preview fields",
105
+ "settings.blocks.form.previewFieldsHint": "Shown in the editor card.",
106
+ "settings.blocks.form.shortcut": "Keyboard shortcut",
107
+ "settings.blocks.form.shortcutHint": "Optional, for example CMD+SHIFT+K.",
108
+ "settings.blocks.form.template": "HTML template",
109
+ "settings.blocks.form.templateEmpty": "No template. The editor shows the fields as a form.",
110
+ "settings.blocks.form.templateHint": "Optional HTML layout for the block. Allowed: basic text, list, image and link tags.",
111
+ "settings.blocks.form.templatePreview": "Preview",
112
+ "settings.blocks.form.titleField": "Title field",
113
+ "settings.blocks.form.titleFieldPlaceholder": "Detected automatically",
114
+ "settings.blocks.form.tunes": "Block settings",
115
+ "settings.blocks.form.type": "Type",
116
+ "settings.blocks.import": "Import",
117
+ "settings.blocks.importError": "The import failed. Nothing was imported.",
118
+ "settings.blocks.importFile": "Custom block export file",
119
+ "settings.blocks.importInvalidFile": "The file is not valid JSON.",
120
+ "settings.blocks.importRejected": "The file is not a Magic Editor X custom block export.",
121
+ "settings.blocks.importSkippedExists": "{name}: a block with this name already exists.",
122
+ "settings.blocks.importSkippedInvalid": "{name}: the definition is not valid.",
123
+ "settings.blocks.importSkippedTitle": "Some blocks were not imported",
124
+ "settings.blocks.imported": "Import finished: {created} created, {skipped} skipped.",
125
+ "settings.blocks.list.actions": "Actions",
126
+ "settings.blocks.list.block": "Block",
127
+ "settings.blocks.list.description": "Description",
128
+ "settings.blocks.list.enabled": "In toolbox",
129
+ "settings.blocks.list.icon": "Icon of {label}",
130
+ "settings.blocks.list.label": "Custom blocks",
131
+ "settings.blocks.list.noDescription": "No description",
132
+ "settings.blocks.list.type": "Type",
133
+ "settings.blocks.loadError": "The custom blocks could not be loaded.",
134
+ "settings.blocks.modal.advanced": "Advanced",
135
+ "settings.blocks.modal.basics": "Basics",
136
+ "settings.blocks.modal.create": "Create block",
137
+ "settings.blocks.modal.createTitle": "Create a custom block",
138
+ "settings.blocks.modal.editTitle": "Edit block {label}",
139
+ "settings.blocks.modal.entry": "Embedded entry",
140
+ "settings.blocks.modal.entryHint": "Editors pick an entry; only entries they can read in the Content Manager are listed.",
141
+ "settings.blocks.modal.fields": "Fields",
142
+ "settings.blocks.modal.fieldsHint": "Inputs editors fill in for each block. Use {example} in the template to show a value.",
143
+ "settings.blocks.modal.invalid": "Some values need attention. They are marked below.",
144
+ "settings.blocks.modal.save": "Save block",
145
+ "settings.blocks.moveError": "The order could not be saved.",
146
+ "settings.blocks.notFound": "This block no longer exists.",
147
+ "settings.blocks.refreshError": "The list could not be refreshed. It shows the last loaded state.",
148
+ "settings.blocks.rejected": "The server rejected some values. They are marked in the form.",
149
+ "settings.blocks.saveError": "The block could not be saved. Your changes are still in the form.",
150
+ "settings.blocks.saved": "Block {label} saved.",
151
+ "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
+ "settings.blocks.title": "Custom blocks",
153
+ "settings.blocks.toggleError": "The block could not be updated.",
154
+ "settings.blocks.toggleInvalid": "Block {label} has invalid settings. Edit it to fix them first.",
155
+ "settings.blocks.tune.alignment": "Alignment",
156
+ "settings.blocks.tune.indent": "Indent",
157
+ "settings.blocks.tune.textVariant": "Text variant",
158
+ "settings.blocks.type.embedded": "Embedded entry",
159
+ "settings.blocks.type.simple": "Simple block",
160
+ "settings.blocks.validation.duplicate": "Field names must be unique.",
161
+ "settings.blocks.validation.fieldName": "Start with a letter; use up to 40 letters, digits or _.",
162
+ "settings.blocks.validation.name": "Start with a letter; use 2 to 50 letters, digits, - or _.",
163
+ "settings.blocks.validation.number": "Enter a number.",
164
+ "settings.blocks.validation.options": "A select field needs at least one option.",
165
+ "settings.blocks.validation.reserved": "This name is used by a built-in tool. Choose another one.",
166
+ "settings.blocks.validation.shortcut": "Use a combination such as CMD+SHIFT+K.",
167
+ "settings.blocks.validation.taken": "Another block already uses this name.",
168
+ "settings.blocks.validation.tooLong": "This text is too long.",
169
+ "settings.blocks.validation.tooMany": "Too many entries.",
170
+ "settings.cancel": "Cancel",
171
+ "settings.close": "Close",
172
+ "settings.configuration.loadError": "The settings could not be loaded. Nothing can be saved until they load.",
173
+ "settings.configuration.readOnly": 'You can view these settings. Changing them needs the "Update settings" permission.',
174
+ "settings.configuration.subtitle": "Choose an AI provider for the editor assistant and review the server options.",
175
+ "settings.configuration.title": "Configuration",
176
+ "settings.discard": "Discard changes",
177
+ "settings.discard.body": "The form goes back to the stored settings. Your unsaved changes are lost.",
178
+ "settings.discard.confirm": "Discard changes",
179
+ "settings.discard.title": "Discard your changes?",
180
+ "settings.environment.collaboration": "Live collaboration",
181
+ "settings.environment.collaborationHint": "Socket path {path}. Other servers are checked every {interval} ms.",
182
+ "settings.environment.maxFile": "Largest file upload",
183
+ "settings.environment.maxImage": "Largest image upload",
184
+ "settings.environment.megabytes": "{size} MB",
185
+ "settings.environment.off": "Off",
186
+ "settings.environment.on": "On",
187
+ "settings.environment.privateAi": "Private AI hosts allowed",
188
+ "settings.environment.privateAiHint": "Needed for local models on localhost or a private network (ai.allowPrivateBaseUrl).",
189
+ "settings.environment.rawHtml": "Raw HTML block",
190
+ "settings.environment.rawHtml.allow": "Stored as typed (the frontend must sanitise it)",
191
+ "settings.environment.rawHtml.disable": "Emptied on save",
192
+ "settings.environment.rawHtml.sanitize": "Cleaned on save (scripts and event handlers removed)",
193
+ "settings.environment.snapshots": "Automatic snapshots",
194
+ "settings.environment.snapshotsEvery": "Every {minutes} minutes during live editing",
195
+ "settings.environment.snapshotsOff": "Off",
196
+ "settings.environment.subtitle": "These options are set in config/plugins.js and apply after a restart. They cannot be changed here.",
197
+ "settings.environment.title": "Server configuration",
198
+ "settings.link.configuration": "Configuration",
199
+ "settings.link.customBlocks": "Custom blocks",
200
+ "settings.retry": "Try again",
201
+ "settings.save": "Save",
202
+ "settings.save.adjusted": "Settings saved. The server adjusted: {fields}.",
203
+ "settings.save.error": "The settings could not be saved. Your changes are still in the form.",
204
+ "settings.save.invalid": "Some values need attention before saving.",
205
+ "settings.save.rejected": "The server rejected the settings",
206
+ "settings.save.success": "Settings saved.",
207
+ "settings.section": "Magic Editor X",
208
+ "settings.switch.off": "Off",
209
+ "settings.switch.on": "On",
210
+ "settings.test.auth": "Connection failed: the provider rejected the API key.",
211
+ "settings.test.failed": "Connection failed. Check the provider, base URL, model and key.",
212
+ "settings.test.invalid": "Fix the highlighted fields before testing.",
213
+ "settings.test.noKey": "Connection failed: no API key is available.",
214
+ "settings.test.notConfigured": "Connection failed: the provider is not configured.",
215
+ "settings.test.rateLimit": "Connection failed: the provider is busy or rate limited.",
216
+ "settings.test.refused": "The provider answered but declined the test request.",
217
+ "settings.test.success": "Connection works. The provider answered.",
218
+ "settings.test.timeout": "Connection failed: the provider did not answer in time.",
219
+ "settings.validation.cannotStore": "Set MAGIC_EDITOR_X_ENCRYPTION_KEY to store an API key.",
220
+ "settings.validation.https": "Use an https URL. Private or http hosts need ai.allowPrivateBaseUrl in config/plugins.js.",
221
+ "settings.validation.invalid": "Check this value.",
222
+ "settings.validation.keyTooLong": "The API key is too long.",
223
+ "settings.validation.model": "Use letters, digits and the characters . _ : / @ - (up to 120 characters).",
224
+ "settings.validation.range": "Enter a whole number from {min} to {max}.",
225
+ "settings.validation.reenterKey": "Enter the API key again when you change the provider or base URL.",
226
+ "settings.validation.required": "This field is required.",
227
+ "settings.validation.url": "Enter a valid http or https URL without user name or password.",
228
+ "settings.csp.title": "Content Security Policy",
229
+ "settings.csp.subtitle": "The admin Content Security Policy is set in config/middlewares.js. The plugin never changes it.",
230
+ "settings.csp.alertTitle": "Some editor previews are blocked",
231
+ "settings.csp.alertBody": "Your Content Security Policy blocks content the editor shows. Stored content is not affected; editors see a placeholder instead. To allow it, add the sources below to the strapi::security middleware and restart Strapi.",
232
+ "settings.csp.frames": "Embeds (frame-src)",
233
+ "settings.csp.framesBlocked": "Blocked: {sources}",
234
+ "settings.csp.images": "External images (img-src)",
235
+ "settings.csp.imagesBlocked": "Blocked: images from other hosts (for example link previews)",
236
+ "settings.csp.imagesHint": "The snippet adds https:. You can list your image hosts instead.",
237
+ "settings.csp.allowed": "Allowed",
238
+ "settings.csp.codeLabel": "Snippet for config/middlewares.js",
239
+ "settings.csp.copy": "Copy the snippet",
240
+ "settings.csp.copied": "Snippet copied to the clipboard.",
241
+ "settings.csp.copyFailed": "The browser did not allow copying. The snippet is selected; copy it with Ctrl+C or Cmd+C.",
242
+ "settings.csp.mergeHint": "Keep your other directives (for example the hosts of your upload provider) and restart Strapi after the change."
243
+ };
244
+ export {
245
+ en as default
246
+ };
@@ -0,0 +1,103 @@
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.stats": "{blocks, plural, one {# block} other {# blocks}} · {words, plural, one {# word} other {# words}}",
24
+ "editor.history.trigger.manual": "Saved",
25
+ "editor.history.trigger.auto": "Automatic",
26
+ "editor.history.trigger.restore": "Restored",
27
+ "editor.history.trigger.legacy": "From 1.x",
28
+ "editor.history.saved": "Version saved.",
29
+ "editor.history.unchanged": "Nothing changed since the last version.",
30
+ "editor.history.saveFailed": "The version could not be saved.",
31
+ "editor.history.restored": "Version {version} restored. Save the entry to keep it.",
32
+ "editor.history.restoreFailed": "This version could not be restored.",
33
+ "editor.history.close": "Close",
34
+ "editor.history.title": "Version history",
35
+ "editor.history.description": "Versions of this field. Restoring replaces the editor content; save the entry to keep it.",
36
+ "editor.history.loading": "Loading versions",
37
+ "editor.history.error": "Versions could not be loaded.",
38
+ "editor.history.retry": "Try again",
39
+ "editor.history.empty": "No versions yet. Save one to start the history.",
40
+ "editor.history.listLabel": "Versions",
41
+ "editor.history.version": "Version {version}",
42
+ "editor.history.byline": "{date} by {name}",
43
+ "editor.history.stats": "{blocks, plural, one {# block} other {# blocks}} · {words, plural, one {# word} other {# words}}",
44
+ "editor.history.preview": "Preview version {version}",
45
+ "editor.history.restore": "Restore",
46
+ "editor.history.previewLoading": "Loading preview",
47
+ "editor.history.previewError": "The preview could not be loaded.",
48
+ "editor.history.cancel": "Close",
49
+ "editor.history.save": "Save current version",
50
+ "editor.history.confirmTitle": "Restore version {version}?",
51
+ "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.",
52
+ "editor.ai.action.improve": "Improve writing",
53
+ "editor.ai.action.grammar": "Fix spelling and grammar",
54
+ "editor.ai.action.shorten": "Make shorter",
55
+ "editor.ai.action.expand": "Make longer",
56
+ "editor.ai.action.summarize": "Summarize",
57
+ "editor.ai.action.simplify": "Simplify",
58
+ "editor.ai.action.translate": "Translate",
59
+ "editor.ai.action.tone": "Change tone",
60
+ "editor.ai.action.continue": "Continue writing",
61
+ "editor.ai.tone.professional": "Professional",
62
+ "editor.ai.tone.friendly": "Friendly",
63
+ "editor.ai.tone.casual": "Casual",
64
+ "editor.ai.tone.confident": "Confident",
65
+ "editor.ai.tone.formal": "Formal",
66
+ "editor.ai.tone.persuasive": "Persuasive",
67
+ "editor.ai.error.disabled": "The AI assistant is turned off.",
68
+ "editor.ai.error.notConfigured": "The AI assistant is not configured yet.",
69
+ "editor.ai.error.noKey": "The AI provider key is missing.",
70
+ "editor.ai.error.auth": "The AI provider rejected the key.",
71
+ "editor.ai.error.busy": "The AI provider is busy. Try again later.",
72
+ "editor.ai.error.timeout": "The AI provider did not answer in time.",
73
+ "editor.ai.error.refused": "The AI provider declined this request.",
74
+ "editor.ai.error.rateLimit": "You sent many requests. Try again in a minute.",
75
+ "editor.ai.error.tooLong": "The selected text is too long for the assistant.",
76
+ "editor.ai.error.generic": "The AI assistant is not available right now.",
77
+ "editor.ai.close": "Close",
78
+ "editor.ai.title": "AI assistant",
79
+ "editor.ai.selection": "Selected text",
80
+ "editor.ai.noSelection": "Select text in the editor first.",
81
+ "editor.ai.action": "What should the assistant do?",
82
+ "editor.ai.language": "Target language",
83
+ "editor.ai.tone": "Tone",
84
+ "editor.ai.privacy": "The selected text is sent to the AI provider your administrator configured.",
85
+ "editor.ai.working": "Writing a suggestion",
86
+ "editor.ai.suggestion": "Suggestion",
87
+ "editor.ai.cancel": "Cancel",
88
+ "editor.ai.retry": "Try again",
89
+ "editor.ai.generate": "Generate",
90
+ "editor.ai.apply": "Replace selection",
91
+ "editor.keyboard": "Press Tab in an empty block to choose a block type. Press Escape, then Tab, to leave the editor.",
92
+ "editor.collab.status.reconnecting": "Reconnecting",
93
+ "editor.collab.away": "{name} (away)",
94
+ "editor.collab.editingBlock": "{name} is editing this block",
95
+ "editor.collab.more": "+{count}",
96
+ "editor.collab.unsent": "Changes are kept and sent when the connection is back",
97
+ "editor.collab.upgrade": "Reload the page to keep editing live",
98
+ "editor.collab.joined": "{names} joined",
99
+ "editor.collab.left": "{names} left"
100
+ };
101
+ export {
102
+ en as default
103
+ };
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const en = {
4
+ "editor.upload.failed": "The file could not be uploaded.",
5
+ "editor.upload.urlFailed": "The image could not be loaded from this URL.",
6
+ "editor.placeholder": "Write something, or press Tab to choose a block",
7
+ "editor.value.invalid": "The stored content could not be read. It is kept until you edit this field.",
8
+ "editor.config.error": "The editor could not be loaded.",
9
+ "editor.config.retry": "Try again",
10
+ "editor.loading": "Loading the editor",
11
+ "editor.collab.status.connecting": "Connecting",
12
+ "editor.collab.status.syncing": "Syncing",
13
+ "editor.collab.status.live": "Live",
14
+ "editor.collab.status.offline": "Offline",
15
+ "editor.collab.status.denied": "Live editing unavailable",
16
+ "editor.collab.status.error": "Live editing unavailable",
17
+ "editor.toolbar.undo": "Undo",
18
+ "editor.toolbar.redo": "Redo",
19
+ "editor.toolbar.history": "Version history",
20
+ "editor.toolbar.exitFullscreen": "Exit full screen",
21
+ "editor.toolbar.fullscreen": "Full screen",
22
+ "editor.collab.viewer": "{name} (viewing)",
23
+ "editor.collab.readOnly": "View only",
24
+ "editor.collab.peers": "{count, plural, =0 {Nobody else is editing} one {# other person is editing} other {# other people are editing}}",
25
+ "editor.stats": "{blocks, plural, one {# block} other {# blocks}} · {words, plural, one {# word} other {# words}}",
26
+ "editor.history.trigger.manual": "Saved",
27
+ "editor.history.trigger.auto": "Automatic",
28
+ "editor.history.trigger.restore": "Restored",
29
+ "editor.history.trigger.legacy": "From 1.x",
30
+ "editor.history.saved": "Version saved.",
31
+ "editor.history.unchanged": "Nothing changed since the last version.",
32
+ "editor.history.saveFailed": "The version could not be saved.",
33
+ "editor.history.restored": "Version {version} restored. Save the entry to keep it.",
34
+ "editor.history.restoreFailed": "This version could not be restored.",
35
+ "editor.history.close": "Close",
36
+ "editor.history.title": "Version history",
37
+ "editor.history.description": "Versions of this field. Restoring replaces the editor content; save the entry to keep it.",
38
+ "editor.history.loading": "Loading versions",
39
+ "editor.history.error": "Versions could not be loaded.",
40
+ "editor.history.retry": "Try again",
41
+ "editor.history.empty": "No versions yet. Save one to start the history.",
42
+ "editor.history.listLabel": "Versions",
43
+ "editor.history.version": "Version {version}",
44
+ "editor.history.byline": "{date} by {name}",
45
+ "editor.history.stats": "{blocks, plural, one {# block} other {# blocks}} · {words, plural, one {# word} other {# words}}",
46
+ "editor.history.preview": "Preview version {version}",
47
+ "editor.history.restore": "Restore",
48
+ "editor.history.previewLoading": "Loading preview",
49
+ "editor.history.previewError": "The preview could not be loaded.",
50
+ "editor.history.cancel": "Close",
51
+ "editor.history.save": "Save current version",
52
+ "editor.history.confirmTitle": "Restore version {version}?",
53
+ "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.",
54
+ "editor.ai.action.improve": "Improve writing",
55
+ "editor.ai.action.grammar": "Fix spelling and grammar",
56
+ "editor.ai.action.shorten": "Make shorter",
57
+ "editor.ai.action.expand": "Make longer",
58
+ "editor.ai.action.summarize": "Summarize",
59
+ "editor.ai.action.simplify": "Simplify",
60
+ "editor.ai.action.translate": "Translate",
61
+ "editor.ai.action.tone": "Change tone",
62
+ "editor.ai.action.continue": "Continue writing",
63
+ "editor.ai.tone.professional": "Professional",
64
+ "editor.ai.tone.friendly": "Friendly",
65
+ "editor.ai.tone.casual": "Casual",
66
+ "editor.ai.tone.confident": "Confident",
67
+ "editor.ai.tone.formal": "Formal",
68
+ "editor.ai.tone.persuasive": "Persuasive",
69
+ "editor.ai.error.disabled": "The AI assistant is turned off.",
70
+ "editor.ai.error.notConfigured": "The AI assistant is not configured yet.",
71
+ "editor.ai.error.noKey": "The AI provider key is missing.",
72
+ "editor.ai.error.auth": "The AI provider rejected the key.",
73
+ "editor.ai.error.busy": "The AI provider is busy. Try again later.",
74
+ "editor.ai.error.timeout": "The AI provider did not answer in time.",
75
+ "editor.ai.error.refused": "The AI provider declined this request.",
76
+ "editor.ai.error.rateLimit": "You sent many requests. Try again in a minute.",
77
+ "editor.ai.error.tooLong": "The selected text is too long for the assistant.",
78
+ "editor.ai.error.generic": "The AI assistant is not available right now.",
79
+ "editor.ai.close": "Close",
80
+ "editor.ai.title": "AI assistant",
81
+ "editor.ai.selection": "Selected text",
82
+ "editor.ai.noSelection": "Select text in the editor first.",
83
+ "editor.ai.action": "What should the assistant do?",
84
+ "editor.ai.language": "Target language",
85
+ "editor.ai.tone": "Tone",
86
+ "editor.ai.privacy": "The selected text is sent to the AI provider your administrator configured.",
87
+ "editor.ai.working": "Writing a suggestion",
88
+ "editor.ai.suggestion": "Suggestion",
89
+ "editor.ai.cancel": "Cancel",
90
+ "editor.ai.retry": "Try again",
91
+ "editor.ai.generate": "Generate",
92
+ "editor.ai.apply": "Replace selection",
93
+ "editor.keyboard": "Press Tab in an empty block to choose a block type. Press Escape, then Tab, to leave the editor.",
94
+ "editor.collab.status.reconnecting": "Reconnecting",
95
+ "editor.collab.away": "{name} (away)",
96
+ "editor.collab.editingBlock": "{name} is editing this block",
97
+ "editor.collab.more": "+{count}",
98
+ "editor.collab.unsent": "Changes are kept and sent when the connection is back",
99
+ "editor.collab.upgrade": "Reload the page to keep editing live",
100
+ "editor.collab.joined": "{names} joined",
101
+ "editor.collab.left": "{names} left"
102
+ };
103
+ exports.default = en;
@@ -0,0 +1,13 @@
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
+ };
11
+ export {
12
+ en as default
13
+ };