magic-editor-x 2.3.1 → 2.5.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 (106) hide show
  1. package/CHANGELOG.md +125 -0
  2. package/README.md +428 -148
  3. package/bin/magic-editor-x.mjs +55 -8
  4. package/dist/admin/AuditPage-Be78C7EC.mjs +382 -0
  5. package/dist/admin/AuditPage-iQzpjH8H.js +382 -0
  6. package/dist/admin/{ConfigurationPage-CYGDLjM7.mjs → ConfigurationPage-C9CPBfWy.mjs} +405 -10
  7. package/dist/admin/{ConfigurationPage-CFP3lp9p.js → ConfigurationPage-DefuBeYO.js} +415 -20
  8. package/dist/admin/ConfirmAction-CUhpngYU.js +71 -0
  9. package/dist/admin/ConfirmAction-CZjpduc3.mjs +72 -0
  10. package/dist/admin/Content-BttG50Mc.mjs +360 -0
  11. package/dist/admin/Content-V5MRBsI3.js +362 -0
  12. package/dist/admin/{CustomBlocksPage-B5Q33N-s.mjs → CustomBlocksPage-DB5nnCsn.mjs} +8 -5
  13. package/dist/admin/{CustomBlocksPage-DzPOSpfn.js → CustomBlocksPage-Dg2rM3F4.js} +26 -23
  14. package/dist/admin/EntryWidgets-B8YA0Zxy.mjs +199 -0
  15. package/dist/admin/EntryWidgets-BcXAAx3F.js +201 -0
  16. package/dist/admin/MentionsWidget-CJPZDk9Z.mjs +225 -0
  17. package/dist/admin/MentionsWidget-DUz6YVIG.js +227 -0
  18. package/dist/admin/{useT-Cmg1jwwG.mjs → SectionCard-8ZNHkvn9.mjs} +2 -12
  19. package/dist/admin/{useT-DNphiBQR.js → SectionCard-Bs-xiiH1.js} +0 -10
  20. package/dist/admin/{TemplatesPage-4A8JNO_Z.mjs → TemplatesPage-VsZ_Mc0R.mjs} +307 -10
  21. package/dist/admin/{TemplatesPage-BVkgafCK.js → TemplatesPage-dx4_yd_t.js} +321 -24
  22. package/dist/admin/{ConfirmAction-zLuIFj8t.js → api-4AYzwS4-.js} +28 -71
  23. package/dist/admin/{ConfirmAction-DuQwvRYi.mjs → api-CcTYyckq.mjs} +28 -71
  24. package/dist/admin/auditText-DIIYVR6k.mjs +110 -0
  25. package/dist/admin/auditText-DUhWu2Nx.js +109 -0
  26. package/dist/admin/comments-C7P41lan.js +86 -0
  27. package/dist/admin/comments-hfIbLQNO.mjs +87 -0
  28. package/dist/admin/{de-B1X46JJZ.js → de-B6rdcOqQ.js} +293 -5
  29. package/dist/admin/{de-1cFMs-4c.mjs → de-BWfR2jTg.mjs} +8 -1
  30. package/dist/admin/{de-BUS1hUw0.mjs → de-Bip0sBRT.mjs} +158 -1
  31. package/dist/admin/{de-Dn8athM8.js → de-BrPR4sUB.js} +8 -1
  32. package/dist/admin/{de-DOiGaTNX.mjs → de-CQA8hOpl.mjs} +293 -5
  33. package/dist/admin/{de-C3AsGauQ.js → de-CnnxKXj7.js} +158 -1
  34. package/dist/admin/{de-2Ie5jy7j.js → de-Dss5POqk.js} +53 -3
  35. package/dist/admin/{de-BMY2LBaa.mjs → de-zgHCYTLH.mjs} +53 -3
  36. package/dist/admin/{en-CIZ5Ggod.js → en--JjAHbpP.js} +8 -1
  37. package/dist/admin/{en-CU6UzV4g.mjs → en-BCKaVgBM.mjs} +293 -5
  38. package/dist/admin/{en-Ah-Cw0Wd.js → en-CJ17Sp_e.js} +53 -3
  39. package/dist/admin/{en-CDg_18Bt.js → en-CbGkcq0Q.js} +293 -5
  40. package/dist/admin/{en-GCzgS9Aw.mjs → en-Cd6Jk-J0.mjs} +158 -1
  41. package/dist/admin/{en-BkEjpC3i.js → en-D69Fe9ZO.js} +158 -1
  42. package/dist/admin/{en-Dc9y-6n9.mjs → en-Dr58wBAo.mjs} +8 -1
  43. package/dist/admin/{en-CvFiqti2.mjs → en-Uhm7OouM.mjs} +53 -3
  44. package/dist/admin/entry-panel-events-0msyPrAD.js +18 -0
  45. package/dist/admin/entry-panel-events-XRuUoLZ9.mjs +19 -0
  46. package/dist/admin/{es-D2Kw6E4N.mjs → es-B2Hkkbw9.mjs} +8 -1
  47. package/dist/admin/{es-DbKHZz5l.mjs → es-BMkmfH88.mjs} +53 -3
  48. package/dist/admin/{es-DHBBZKl2.mjs → es-Bz8d72Fa.mjs} +158 -1
  49. package/dist/admin/{es-BCpJmUEM.js → es-C8UotT8O.js} +293 -5
  50. package/dist/admin/{es-C4pEnDRv.js → es-CcEDZpVQ.js} +158 -1
  51. package/dist/admin/{es-Cr8JH85N.js → es-DJm3HFJt.js} +53 -3
  52. package/dist/admin/{es-C4IRHV5d.js → es-YvaTAtqY.js} +8 -1
  53. package/dist/admin/{es-BmfffNM2.mjs → es-pvPfNAld.mjs} +293 -5
  54. package/dist/admin/{fr-BOvvfEH7.mjs → fr-BvPjRiwr.mjs} +8 -1
  55. package/dist/admin/{fr-Dvq4xk2e.mjs → fr-CKHZ0xxU.mjs} +158 -1
  56. package/dist/admin/{fr-OJ4VW1kh.js → fr-CRM9VuAq.js} +53 -3
  57. package/dist/admin/{fr-DQJ_7aq5.mjs → fr-CrIHmKYX.mjs} +53 -3
  58. package/dist/admin/{fr-C2aLSwEu.js → fr-Cx29jQ_g.js} +158 -1
  59. package/dist/admin/{fr-DZd2XJP6.mjs → fr-D4tL6Ag2.mjs} +293 -5
  60. package/dist/admin/{fr-Zkb8vfjN.js → fr-Di-U-rAH.js} +8 -1
  61. package/dist/admin/{fr-ZcN0yM_2.js → fr-DrUYv2jh.js} +293 -5
  62. package/dist/admin/{index-k8_a5o1A.mjs → index-C4ksUkEm.mjs} +20059 -10130
  63. package/dist/admin/{index-DQVE0ymw.js → index-C5D3VqLq.js} +21272 -11344
  64. package/dist/admin/index-CMYCZWOh.mjs +3752 -0
  65. package/dist/admin/index-DRyctF9s.js +3753 -0
  66. package/dist/admin/index.js +2 -1
  67. package/dist/admin/index.mjs +3 -2
  68. package/dist/admin/math-D6jmskGS.js +49 -0
  69. package/dist/admin/math-DntdSWKX.mjs +47 -0
  70. package/dist/admin/{pt-CilDggGF.mjs → pt-B8x7v-Xw.mjs} +158 -1
  71. package/dist/admin/{pt-DX0OAIoL.js → pt-BYn2xx78.js} +158 -1
  72. package/dist/admin/{pt-CImqDnLB.js → pt-CojQcz-p.js} +293 -5
  73. package/dist/admin/{pt-C3UdeIpd.mjs → pt-CuoIihKx.mjs} +293 -5
  74. package/dist/admin/{pt-1IUyx6ae.js → pt-CzrN_3ui.js} +8 -1
  75. package/dist/admin/{pt-BSLzA17U.mjs → pt-DDlPJYtB.mjs} +53 -3
  76. package/dist/admin/{pt-D0I0_JYs.js → pt-DPVAycXJ.js} +53 -3
  77. package/dist/admin/{pt-etwsg3G4.mjs → pt-DdGagO99.mjs} +8 -1
  78. package/dist/admin/useT-Bpw__IXT.js +12 -0
  79. package/dist/admin/useT-Cb-R3kyA.mjs +13 -0
  80. package/dist/blocks/index.d.mts +126 -0
  81. package/dist/blocks/index.d.ts +126 -0
  82. package/dist/blocks/index.js +184 -4
  83. package/dist/blocks/index.mjs +184 -4
  84. package/dist/math/index.d.mts +27 -0
  85. package/dist/math/index.d.ts +27 -0
  86. package/dist/math/index.js +168 -0
  87. package/dist/math/index.mjs +138 -0
  88. package/dist/react/index.js +1650 -759
  89. package/dist/react/index.mjs +1650 -759
  90. package/dist/render/index.d.mts +48 -0
  91. package/dist/render/index.d.ts +48 -0
  92. package/dist/render/index.js +1755 -773
  93. package/dist/render/index.mjs +1755 -773
  94. package/dist/server/index.js +29475 -18462
  95. package/dist/server/index.mjs +29475 -18462
  96. package/dist/server/mcp-worker.js +11319 -0
  97. package/dist/vue/index.js +1650 -759
  98. package/dist/vue/index.mjs +1650 -759
  99. package/package.json +14 -8
  100. package/schema/magic-editor-x.schema.json +135 -2
  101. package/types/blocks.d.ts +126 -0
  102. package/types/index.d.ts +52 -1
  103. package/types/math.d.ts +27 -0
  104. package/types/render.d.ts +48 -0
  105. package/dist/admin/index-DR8sHkTk.js +0 -1940
  106. package/dist/admin/index-My6FjjHB.mjs +0 -1939
@@ -64,7 +64,14 @@ const en = {
64
64
  "settings.languageTool.test.timeout": "Connection failed: LanguageTool did not answer in time.",
65
65
  "settings.languageTool.test.failed": "Connection failed. Check the base URL and, for hosted accounts, the user name and key.",
66
66
  "settings.languageTool.test.success": "Connection works. LanguageTool answered.",
67
+ "settings.environment.mentionEmails": "E-mails for comment mentions",
68
+ "settings.environment.mentionEmailsOn": "People mentioned in a comment get an e-mail through the Strapi email plugin, at most {count} per hour. It names who mentioned them and links to the entry, never the comment text (comments.notifications.email).",
69
+ "settings.environment.mentionEmailsOff": "Mentions show up in the admin only. Turn on e-mails with comments.notifications.email in config/plugins.",
67
70
  "settings.ai.title": "AI assistant",
71
+ "settings.environment.privateImages": "Private image storage for alt text",
72
+ "settings.environment.privateImagesCount": "{count, plural, =0 {Off} one {# origin} other {# origins}}",
73
+ "settings.environment.privateImagesHint": "Alt text suggestions may read images from {origins} (ai.altText.allowPrivateOrigins). Redirects are not followed.",
74
+ "settings.environment.privateImagesNone": "Alt text suggestions read images from public addresses only. Self-hosted storage on a private network needs ai.altText.allowPrivateOrigins.",
68
75
  "settings.blocks.action.delete": "Delete {label}",
69
76
  "settings.blocks.action.duplicate": "Duplicate {label}",
70
77
  "settings.blocks.action.edit": "Edit {label}",
@@ -282,6 +289,39 @@ const en = {
282
289
  "settings.templates.usage.none": "It is not used in any entry, template or pattern.",
283
290
  "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
291
  "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.",
292
+ "settings.syncedVersions.renamed": "Version name saved.",
293
+ "settings.syncedVersions.renameFailed": "The name could not be saved.",
294
+ "settings.syncedVersions.restored": "Version {version} restored. Every field that uses this synced block shows it now.",
295
+ "settings.syncedVersions.restoreInvalid": 'This version cannot be restored with the current settings (for example a field in "Where it is offered" no longer exists).',
296
+ "settings.syncedVersions.restoreFailed": "This version could not be restored.",
297
+ "settings.syncedVersions.title": "Versions",
298
+ "settings.syncedVersions.subtitle": "Every save of this synced block is kept as a version. Restoring a version saves it again as the newest one.",
299
+ "settings.syncedVersions.loading": "Loading versions",
300
+ "settings.syncedVersions.error": "Versions could not be loaded.",
301
+ "settings.syncedVersions.empty": "No versions yet. They are created when you save.",
302
+ "settings.syncedVersions.listLabel": "Versions of this synced block",
303
+ "settings.syncedVersions.version": "Version {version}",
304
+ "settings.syncedVersions.current": "Current",
305
+ "settings.syncedVersions.byline": "{date} by {name}",
306
+ "settings.syncedVersions.details": "{name} · {blocks, plural, one {# block} other {# blocks}}",
307
+ "settings.syncedVersions.preview": "Preview version {version}",
308
+ "settings.syncedVersions.rename": "Rename version {version}",
309
+ "settings.syncedVersions.restore": "Restore",
310
+ "settings.syncedVersions.renameHint": "Leave empty to remove the name.",
311
+ "settings.syncedVersions.labelTooLong": "Use 120 characters or fewer.",
312
+ "settings.syncedVersions.renameLabel": "Version name",
313
+ "settings.syncedVersions.renameSave": "Save name",
314
+ "settings.syncedVersions.renameCancel": "Cancel",
315
+ "settings.syncedVersions.previewLoading": "Loading preview",
316
+ "settings.syncedVersions.previewError": "The preview could not be loaded.",
317
+ "settings.syncedVersions.tabs": "Version views",
318
+ "settings.syncedVersions.tab.preview": "Preview",
319
+ "settings.syncedVersions.tab.changes": "Changes",
320
+ "settings.syncedVersions.confirmTitle": "Restore version {version}?",
321
+ "settings.syncedVersions.confirmBodyDirty": "The synced block is saved with the content of this version, and every field that uses it shows it at once. Your unsaved changes in this form are lost.",
322
+ "settings.syncedVersions.confirmBody": "The synced block is saved with the content of this version, and every field that uses it shows it at once.",
323
+ "settings.syncedVersions.trigger.manual": "Saved",
324
+ "settings.syncedVersions.trigger.restore": "Restored",
285
325
  "settings.blocks.toggleError": "The block could not be updated.",
286
326
  "settings.blocks.toggleInvalid": "Block {label} has invalid settings. Edit it to fix them first.",
287
327
  "settings.blocks.tune.alignment": "Alignment",
@@ -340,9 +380,103 @@ const en = {
340
380
  "settings.environment.linkScheduleLastRun": "Last run {date}: {checked, number} links checked, {problems, number} with problems.",
341
381
  "settings.environment.linkScheduleNever": "No run yet.",
342
382
  "settings.environment.linkScheduleIncomplete": "The last run did not finish; results of earlier runs were kept.",
383
+ "settings.audit.actor.system": "System",
384
+ "settings.audit.actor.deleted": "Deleted user",
385
+ "settings.audit.actor.api": "Content API",
386
+ "settings.audit.actor.unnamed": "Admin without a name",
387
+ "settings.audit.actor.you": "{name} (you)",
388
+ "settings.audit.counts.added": "{count, number} added",
389
+ "settings.audit.counts.changed": "{count, number} changed",
390
+ "settings.audit.counts.removed": "{count, number} removed",
391
+ "settings.audit.counts.moved": "{count, number} moved",
392
+ "settings.audit.counts.version": "Version {version}",
393
+ "settings.audit.meta.action": "Action: {action}",
394
+ "settings.audit.counts.segments": "{count, plural, one {# text} other {# texts}}",
395
+ "settings.audit.meta.keys": "Sections: {keys}",
396
+ "settings.audit.counts.linkcheck": "{checked, number} links checked, {problems, number} with problems",
397
+ "settings.audit.counts.blocks": "{count, plural, one {# block} other {# blocks}}",
398
+ "settings.audit.event.entryCreate": "Entry created",
399
+ "settings.audit.event.entryUpdate": "Entry saved",
400
+ "settings.audit.event.entryPublish": "Published",
401
+ "settings.audit.event.entryUnpublish": "Unpublished",
402
+ "settings.audit.event.entryDiscard": "Draft discarded",
403
+ "settings.audit.event.entryDelete": "Entry deleted",
404
+ "settings.audit.event.versionCreate": "Version saved",
405
+ "settings.audit.event.versionRestore": "Version restored",
406
+ "settings.audit.event.versionRename": "Version renamed",
407
+ "settings.audit.event.aiAction": "AI assistant used",
408
+ "settings.audit.event.commentCreate": "Comment added",
409
+ "settings.audit.event.commentReply": "Reply added",
410
+ "settings.audit.event.commentResolve": "Thread resolved",
411
+ "settings.audit.event.commentReopen": "Thread reopened",
412
+ "settings.audit.event.commentDelete": "Comment deleted",
413
+ "settings.audit.event.commentModerate": "Comment removed by a moderator",
414
+ "settings.audit.event.templateCreate": "Template created",
415
+ "settings.audit.event.templateUpdate": "Template changed",
416
+ "settings.audit.event.templateDelete": "Template deleted",
417
+ "settings.audit.event.syncedCreate": "Synced block created",
418
+ "settings.audit.event.syncedUpdate": "Synced block changed",
419
+ "settings.audit.event.syncedDelete": "Synced block deleted",
420
+ "settings.audit.event.syncedRestore": "Synced block version restored",
421
+ "settings.audit.event.settingsUpdate": "Settings changed",
422
+ "settings.audit.event.linkcheckRun": "Link check run",
423
+ "settings.link.audit": "Audit trail",
424
+ "settings.audit.filters": "Filters",
425
+ "settings.audit.reset": "Reset filters",
426
+ "settings.audit.filter.event": "Event",
427
+ "settings.audit.filter.allEvents": "All events",
428
+ "settings.audit.filter.actor": "Changed by",
429
+ "settings.audit.filter.allActors": "Everyone",
430
+ "settings.audit.filter.uidInvalid": "Use a uid such as api::article.article.",
431
+ "settings.audit.filter.uid": "Content type",
432
+ "settings.audit.filter.documentHint": "Needs a content type.",
433
+ "settings.audit.filter.documentInvalid": "Use lowercase letters and digits only.",
434
+ "settings.audit.filter.document": "Document id",
435
+ "settings.audit.filter.from": "From",
436
+ "settings.audit.filter.rangeInvalid": "The end is before the start.",
437
+ "settings.audit.filter.to": "To",
438
+ "settings.audit.apply": "Apply filters",
439
+ "settings.audit.title": "Audit trail",
440
+ "settings.audit.target.none": "Plugin settings",
441
+ "settings.audit.error": "The audit trail could not be loaded.",
442
+ "settings.audit.loading": "Loading the audit trail",
443
+ "settings.audit.emptyFiltered": "No events match these filters.",
444
+ "settings.audit.empty": "No events recorded yet.",
445
+ "settings.audit.col.time": "Time",
446
+ "settings.audit.col.event": "Event",
447
+ "settings.audit.col.actor": "Changed by",
448
+ "settings.audit.col.target": "Where",
449
+ "settings.audit.col.changes": "Changes",
450
+ "settings.audit.subtitle": "Who changed what and when in editor fields, templates, synced blocks, comments, AI actions and settings. Only counts and block ids are kept, never the content.",
451
+ "settings.audit.refresh": "Refresh",
452
+ "settings.audit.offTitle": "Recording is off",
453
+ "settings.audit.off": "The audit trail is turned off in config/plugins.js (audit.enabled). Earlier events are still shown.",
454
+ "settings.audit.results": "Events",
455
+ "settings.audit.total": "{total, plural, one {# event} other {# events}}",
456
+ "settings.linkRun.finished": "The link check finished.",
457
+ "settings.linkRun.stillRunning": "The check is still running. Reload the page later to see the result.",
458
+ "settings.linkRun.started": "The link check started.",
459
+ "settings.linkRun.conflict": "A link check is already running. The result appears here when it finishes.",
460
+ "settings.linkRun.disabled": "Scheduled link checks are turned off in config/plugins.js (qualityChecks.externalLinks.schedule).",
461
+ "settings.linkRun.failed": "The link check could not be started. Try again.",
462
+ "settings.linkRun.serverZone": "Server time zone",
463
+ "settings.linkRun.title": "Scheduled link check",
464
+ "settings.linkRun.subtitle": "Checks every external link in all editor fields on a schedule. You can also start a check now.",
465
+ "settings.linkRun.running": "Check running",
466
+ "settings.linkRun.run": "Run now",
467
+ "settings.linkRun.noPermission": 'Starting a check needs the "Update settings" permission.',
468
+ "settings.linkRun.state": "State",
469
+ "settings.linkRun.idle": "Idle",
470
+ "settings.linkRun.rule": "Schedule",
471
+ "settings.linkRun.ruleValue": "{rule} ({zone})",
472
+ "settings.linkRun.next": "Next run {date}",
473
+ "settings.linkRun.last": "Last run",
474
+ "settings.linkRun.lastValue": "{date}: {checked, number} links checked, {problems, number} with problems.",
343
475
  "settings.link.configuration": "Configuration",
344
476
  "settings.link.customBlocks": "Custom blocks",
345
477
  "settings.retry": "Try again",
478
+ "settings.audit.event.aiLocalize": "Strapi AI translation checked",
479
+ "settings.audit.counts.aiLocalize": "{translated, number} of {segments, number} texts translated, {kept, number} kept from the source locale",
346
480
  "settings.save": "Save",
347
481
  "settings.save.adjusted": "Settings saved. The server adjusted: {fields}.",
348
482
  "settings.save.error": "The settings could not be saved. Your changes are still in the form.",
@@ -384,7 +518,30 @@ const en = {
384
518
  "settings.csp.copy": "Copy the snippet",
385
519
  "settings.csp.copied": "Snippet copied to the clipboard.",
386
520
  "settings.csp.copyFailed": "The browser did not allow copying. The snippet is selected; copy it with Ctrl+C or Cmd+C.",
387
- "settings.csp.mergeHint": "Keep your other directives (for example the hosts of your upload provider) and restart Strapi after the change."
521
+ "settings.csp.mergeHint": "Keep your other directives (for example the hosts of your upload provider) and restart Strapi after the change.",
522
+ "settings.audit.event.suggestionCreate": "Changes suggested",
523
+ "settings.audit.event.suggestionAccept": "Suggestion accepted",
524
+ "settings.audit.event.suggestionReject": "Suggestion rejected",
525
+ "settings.audit.event.suggestionWithdraw": "Suggestion withdrawn",
526
+ "settings.audit.counts.outdated": "Replaced a newer version of the block",
527
+ "settings.environment.mcp": "Tools for AI clients (MCP)",
528
+ "settings.environment.mcpOn": 'AI clients connect to {path} with an admin token. Give the token the permission "Use the MCP tools" under Plugins > Magic Editor X. The tools convert, check and render content; they never read or save entries.',
529
+ "settings.environment.mcpServerOff": "Turned on (mcp.enabled), but Strapi's MCP server is off. Set server.mcp.enabled to true in config/server and restart.",
530
+ "settings.environment.mcpOff": "Turn on with mcp.enabled in config/plugins and server.mcp.enabled in config/server, then restart.",
531
+ "settings.palette.title": "Text colours and highlights",
532
+ "settings.palette.subtitle": 'Defined in the plugin configuration (config/plugins.js, key palette). Fields offer them when the field option "Text colour and highlight" is on.',
533
+ "settings.palette.empty": "No palette is configured, so editors see no colour tool. Ask your developer to add colour tokens to the plugin configuration.",
534
+ "settings.palette.issuesTitle": "{count, plural, one {# combination is} other {# combinations are}} hard to read",
535
+ "settings.palette.issue": "{mode, select, dark {Dark theme} other {Light theme}}: {pair} has contrast {ratio}:1 (needs 4.5:1)",
536
+ "settings.palette.defaultText": "default text",
537
+ "settings.palette.page": "page background",
538
+ "settings.palette.colors": "Text colours",
539
+ "settings.palette.highlights": "Highlights",
540
+ "settings.palette.light": "Light theme",
541
+ "settings.palette.dark": "Dark theme",
542
+ "settings.palette.css": "CSS for your site",
543
+ "settings.palette.copy": "Copy the CSS",
544
+ "settings.palette.annotations": 'Annotations for the field option "Annotations": {names}'
388
545
  };
389
546
  export {
390
547
  en as default
@@ -66,7 +66,14 @@ const en = {
66
66
  "settings.languageTool.test.timeout": "Connection failed: LanguageTool did not answer in time.",
67
67
  "settings.languageTool.test.failed": "Connection failed. Check the base URL and, for hosted accounts, the user name and key.",
68
68
  "settings.languageTool.test.success": "Connection works. LanguageTool answered.",
69
+ "settings.environment.mentionEmails": "E-mails for comment mentions",
70
+ "settings.environment.mentionEmailsOn": "People mentioned in a comment get an e-mail through the Strapi email plugin, at most {count} per hour. It names who mentioned them and links to the entry, never the comment text (comments.notifications.email).",
71
+ "settings.environment.mentionEmailsOff": "Mentions show up in the admin only. Turn on e-mails with comments.notifications.email in config/plugins.",
69
72
  "settings.ai.title": "AI assistant",
73
+ "settings.environment.privateImages": "Private image storage for alt text",
74
+ "settings.environment.privateImagesCount": "{count, plural, =0 {Off} one {# origin} other {# origins}}",
75
+ "settings.environment.privateImagesHint": "Alt text suggestions may read images from {origins} (ai.altText.allowPrivateOrigins). Redirects are not followed.",
76
+ "settings.environment.privateImagesNone": "Alt text suggestions read images from public addresses only. Self-hosted storage on a private network needs ai.altText.allowPrivateOrigins.",
70
77
  "settings.blocks.action.delete": "Delete {label}",
71
78
  "settings.blocks.action.duplicate": "Duplicate {label}",
72
79
  "settings.blocks.action.edit": "Edit {label}",
@@ -284,6 +291,39 @@ const en = {
284
291
  "settings.templates.usage.none": "It is not used in any entry, template or pattern.",
285
292
  "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}}.",
286
293
  "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.",
294
+ "settings.syncedVersions.renamed": "Version name saved.",
295
+ "settings.syncedVersions.renameFailed": "The name could not be saved.",
296
+ "settings.syncedVersions.restored": "Version {version} restored. Every field that uses this synced block shows it now.",
297
+ "settings.syncedVersions.restoreInvalid": 'This version cannot be restored with the current settings (for example a field in "Where it is offered" no longer exists).',
298
+ "settings.syncedVersions.restoreFailed": "This version could not be restored.",
299
+ "settings.syncedVersions.title": "Versions",
300
+ "settings.syncedVersions.subtitle": "Every save of this synced block is kept as a version. Restoring a version saves it again as the newest one.",
301
+ "settings.syncedVersions.loading": "Loading versions",
302
+ "settings.syncedVersions.error": "Versions could not be loaded.",
303
+ "settings.syncedVersions.empty": "No versions yet. They are created when you save.",
304
+ "settings.syncedVersions.listLabel": "Versions of this synced block",
305
+ "settings.syncedVersions.version": "Version {version}",
306
+ "settings.syncedVersions.current": "Current",
307
+ "settings.syncedVersions.byline": "{date} by {name}",
308
+ "settings.syncedVersions.details": "{name} · {blocks, plural, one {# block} other {# blocks}}",
309
+ "settings.syncedVersions.preview": "Preview version {version}",
310
+ "settings.syncedVersions.rename": "Rename version {version}",
311
+ "settings.syncedVersions.restore": "Restore",
312
+ "settings.syncedVersions.renameHint": "Leave empty to remove the name.",
313
+ "settings.syncedVersions.labelTooLong": "Use 120 characters or fewer.",
314
+ "settings.syncedVersions.renameLabel": "Version name",
315
+ "settings.syncedVersions.renameSave": "Save name",
316
+ "settings.syncedVersions.renameCancel": "Cancel",
317
+ "settings.syncedVersions.previewLoading": "Loading preview",
318
+ "settings.syncedVersions.previewError": "The preview could not be loaded.",
319
+ "settings.syncedVersions.tabs": "Version views",
320
+ "settings.syncedVersions.tab.preview": "Preview",
321
+ "settings.syncedVersions.tab.changes": "Changes",
322
+ "settings.syncedVersions.confirmTitle": "Restore version {version}?",
323
+ "settings.syncedVersions.confirmBodyDirty": "The synced block is saved with the content of this version, and every field that uses it shows it at once. Your unsaved changes in this form are lost.",
324
+ "settings.syncedVersions.confirmBody": "The synced block is saved with the content of this version, and every field that uses it shows it at once.",
325
+ "settings.syncedVersions.trigger.manual": "Saved",
326
+ "settings.syncedVersions.trigger.restore": "Restored",
287
327
  "settings.blocks.toggleError": "The block could not be updated.",
288
328
  "settings.blocks.toggleInvalid": "Block {label} has invalid settings. Edit it to fix them first.",
289
329
  "settings.blocks.tune.alignment": "Alignment",
@@ -342,9 +382,103 @@ const en = {
342
382
  "settings.environment.linkScheduleLastRun": "Last run {date}: {checked, number} links checked, {problems, number} with problems.",
343
383
  "settings.environment.linkScheduleNever": "No run yet.",
344
384
  "settings.environment.linkScheduleIncomplete": "The last run did not finish; results of earlier runs were kept.",
385
+ "settings.audit.actor.system": "System",
386
+ "settings.audit.actor.deleted": "Deleted user",
387
+ "settings.audit.actor.api": "Content API",
388
+ "settings.audit.actor.unnamed": "Admin without a name",
389
+ "settings.audit.actor.you": "{name} (you)",
390
+ "settings.audit.counts.added": "{count, number} added",
391
+ "settings.audit.counts.changed": "{count, number} changed",
392
+ "settings.audit.counts.removed": "{count, number} removed",
393
+ "settings.audit.counts.moved": "{count, number} moved",
394
+ "settings.audit.counts.version": "Version {version}",
395
+ "settings.audit.meta.action": "Action: {action}",
396
+ "settings.audit.counts.segments": "{count, plural, one {# text} other {# texts}}",
397
+ "settings.audit.meta.keys": "Sections: {keys}",
398
+ "settings.audit.counts.linkcheck": "{checked, number} links checked, {problems, number} with problems",
399
+ "settings.audit.counts.blocks": "{count, plural, one {# block} other {# blocks}}",
400
+ "settings.audit.event.entryCreate": "Entry created",
401
+ "settings.audit.event.entryUpdate": "Entry saved",
402
+ "settings.audit.event.entryPublish": "Published",
403
+ "settings.audit.event.entryUnpublish": "Unpublished",
404
+ "settings.audit.event.entryDiscard": "Draft discarded",
405
+ "settings.audit.event.entryDelete": "Entry deleted",
406
+ "settings.audit.event.versionCreate": "Version saved",
407
+ "settings.audit.event.versionRestore": "Version restored",
408
+ "settings.audit.event.versionRename": "Version renamed",
409
+ "settings.audit.event.aiAction": "AI assistant used",
410
+ "settings.audit.event.commentCreate": "Comment added",
411
+ "settings.audit.event.commentReply": "Reply added",
412
+ "settings.audit.event.commentResolve": "Thread resolved",
413
+ "settings.audit.event.commentReopen": "Thread reopened",
414
+ "settings.audit.event.commentDelete": "Comment deleted",
415
+ "settings.audit.event.commentModerate": "Comment removed by a moderator",
416
+ "settings.audit.event.templateCreate": "Template created",
417
+ "settings.audit.event.templateUpdate": "Template changed",
418
+ "settings.audit.event.templateDelete": "Template deleted",
419
+ "settings.audit.event.syncedCreate": "Synced block created",
420
+ "settings.audit.event.syncedUpdate": "Synced block changed",
421
+ "settings.audit.event.syncedDelete": "Synced block deleted",
422
+ "settings.audit.event.syncedRestore": "Synced block version restored",
423
+ "settings.audit.event.settingsUpdate": "Settings changed",
424
+ "settings.audit.event.linkcheckRun": "Link check run",
425
+ "settings.link.audit": "Audit trail",
426
+ "settings.audit.filters": "Filters",
427
+ "settings.audit.reset": "Reset filters",
428
+ "settings.audit.filter.event": "Event",
429
+ "settings.audit.filter.allEvents": "All events",
430
+ "settings.audit.filter.actor": "Changed by",
431
+ "settings.audit.filter.allActors": "Everyone",
432
+ "settings.audit.filter.uidInvalid": "Use a uid such as api::article.article.",
433
+ "settings.audit.filter.uid": "Content type",
434
+ "settings.audit.filter.documentHint": "Needs a content type.",
435
+ "settings.audit.filter.documentInvalid": "Use lowercase letters and digits only.",
436
+ "settings.audit.filter.document": "Document id",
437
+ "settings.audit.filter.from": "From",
438
+ "settings.audit.filter.rangeInvalid": "The end is before the start.",
439
+ "settings.audit.filter.to": "To",
440
+ "settings.audit.apply": "Apply filters",
441
+ "settings.audit.title": "Audit trail",
442
+ "settings.audit.target.none": "Plugin settings",
443
+ "settings.audit.error": "The audit trail could not be loaded.",
444
+ "settings.audit.loading": "Loading the audit trail",
445
+ "settings.audit.emptyFiltered": "No events match these filters.",
446
+ "settings.audit.empty": "No events recorded yet.",
447
+ "settings.audit.col.time": "Time",
448
+ "settings.audit.col.event": "Event",
449
+ "settings.audit.col.actor": "Changed by",
450
+ "settings.audit.col.target": "Where",
451
+ "settings.audit.col.changes": "Changes",
452
+ "settings.audit.subtitle": "Who changed what and when in editor fields, templates, synced blocks, comments, AI actions and settings. Only counts and block ids are kept, never the content.",
453
+ "settings.audit.refresh": "Refresh",
454
+ "settings.audit.offTitle": "Recording is off",
455
+ "settings.audit.off": "The audit trail is turned off in config/plugins.js (audit.enabled). Earlier events are still shown.",
456
+ "settings.audit.results": "Events",
457
+ "settings.audit.total": "{total, plural, one {# event} other {# events}}",
458
+ "settings.linkRun.finished": "The link check finished.",
459
+ "settings.linkRun.stillRunning": "The check is still running. Reload the page later to see the result.",
460
+ "settings.linkRun.started": "The link check started.",
461
+ "settings.linkRun.conflict": "A link check is already running. The result appears here when it finishes.",
462
+ "settings.linkRun.disabled": "Scheduled link checks are turned off in config/plugins.js (qualityChecks.externalLinks.schedule).",
463
+ "settings.linkRun.failed": "The link check could not be started. Try again.",
464
+ "settings.linkRun.serverZone": "Server time zone",
465
+ "settings.linkRun.title": "Scheduled link check",
466
+ "settings.linkRun.subtitle": "Checks every external link in all editor fields on a schedule. You can also start a check now.",
467
+ "settings.linkRun.running": "Check running",
468
+ "settings.linkRun.run": "Run now",
469
+ "settings.linkRun.noPermission": 'Starting a check needs the "Update settings" permission.',
470
+ "settings.linkRun.state": "State",
471
+ "settings.linkRun.idle": "Idle",
472
+ "settings.linkRun.rule": "Schedule",
473
+ "settings.linkRun.ruleValue": "{rule} ({zone})",
474
+ "settings.linkRun.next": "Next run {date}",
475
+ "settings.linkRun.last": "Last run",
476
+ "settings.linkRun.lastValue": "{date}: {checked, number} links checked, {problems, number} with problems.",
345
477
  "settings.link.configuration": "Configuration",
346
478
  "settings.link.customBlocks": "Custom blocks",
347
479
  "settings.retry": "Try again",
480
+ "settings.audit.event.aiLocalize": "Strapi AI translation checked",
481
+ "settings.audit.counts.aiLocalize": "{translated, number} of {segments, number} texts translated, {kept, number} kept from the source locale",
348
482
  "settings.save": "Save",
349
483
  "settings.save.adjusted": "Settings saved. The server adjusted: {fields}.",
350
484
  "settings.save.error": "The settings could not be saved. Your changes are still in the form.",
@@ -386,6 +520,29 @@ const en = {
386
520
  "settings.csp.copy": "Copy the snippet",
387
521
  "settings.csp.copied": "Snippet copied to the clipboard.",
388
522
  "settings.csp.copyFailed": "The browser did not allow copying. The snippet is selected; copy it with Ctrl+C or Cmd+C.",
389
- "settings.csp.mergeHint": "Keep your other directives (for example the hosts of your upload provider) and restart Strapi after the change."
523
+ "settings.csp.mergeHint": "Keep your other directives (for example the hosts of your upload provider) and restart Strapi after the change.",
524
+ "settings.audit.event.suggestionCreate": "Changes suggested",
525
+ "settings.audit.event.suggestionAccept": "Suggestion accepted",
526
+ "settings.audit.event.suggestionReject": "Suggestion rejected",
527
+ "settings.audit.event.suggestionWithdraw": "Suggestion withdrawn",
528
+ "settings.audit.counts.outdated": "Replaced a newer version of the block",
529
+ "settings.environment.mcp": "Tools for AI clients (MCP)",
530
+ "settings.environment.mcpOn": 'AI clients connect to {path} with an admin token. Give the token the permission "Use the MCP tools" under Plugins > Magic Editor X. The tools convert, check and render content; they never read or save entries.',
531
+ "settings.environment.mcpServerOff": "Turned on (mcp.enabled), but Strapi's MCP server is off. Set server.mcp.enabled to true in config/server and restart.",
532
+ "settings.environment.mcpOff": "Turn on with mcp.enabled in config/plugins and server.mcp.enabled in config/server, then restart.",
533
+ "settings.palette.title": "Text colours and highlights",
534
+ "settings.palette.subtitle": 'Defined in the plugin configuration (config/plugins.js, key palette). Fields offer them when the field option "Text colour and highlight" is on.',
535
+ "settings.palette.empty": "No palette is configured, so editors see no colour tool. Ask your developer to add colour tokens to the plugin configuration.",
536
+ "settings.palette.issuesTitle": "{count, plural, one {# combination is} other {# combinations are}} hard to read",
537
+ "settings.palette.issue": "{mode, select, dark {Dark theme} other {Light theme}}: {pair} has contrast {ratio}:1 (needs 4.5:1)",
538
+ "settings.palette.defaultText": "default text",
539
+ "settings.palette.page": "page background",
540
+ "settings.palette.colors": "Text colours",
541
+ "settings.palette.highlights": "Highlights",
542
+ "settings.palette.light": "Light theme",
543
+ "settings.palette.dark": "Dark theme",
544
+ "settings.palette.css": "CSS for your site",
545
+ "settings.palette.copy": "Copy the CSS",
546
+ "settings.palette.annotations": 'Annotations for the field option "Annotations": {names}'
390
547
  };
391
548
  exports.default = en;
@@ -36,7 +36,14 @@ const en = {
36
36
  "field.options.linkTargets.all": "Entries and web addresses",
37
37
  "field.options.linkTargets.internal": "Only entries of this site",
38
38
  "field.options.linkTargets.external": "Only web addresses",
39
- "field.options.linkTargets.none": "No links"
39
+ "field.options.linkTargets.none": "No links",
40
+ "field.options.formatting": "Extra formatting",
41
+ "field.options.inlineColors.label": "Text colour and highlight",
42
+ "field.options.inlineColors.description": "Editors pick from the colours your developer set in the plugin configuration (palette). Without a palette nothing is shown.",
43
+ "field.options.inlineScript.label": "Superscript and subscript",
44
+ "field.options.inlineScript.description": "For formulas and units such as m² or H₂O",
45
+ "field.options.inlineAnnotations.label": "Annotations",
46
+ "field.options.inlineAnnotations.description": "Comma-separated annotation names, for example: abbreviation. Your developer can add more, such as glossary."
40
47
  };
41
48
  export {
42
49
  en as default
@@ -32,6 +32,22 @@ const en = {
32
32
  "tools.code.language": "Language",
33
33
  "tools.code.lineNumbers": "Line numbers",
34
34
  "tools.code.placeholder": "Enter code",
35
+ "tools.math.label": "TeX",
36
+ "tools.math.placeholder": "Type TeX, for example x^2 + y^2",
37
+ "tools.math.style": "Style",
38
+ "tools.math.styleDisplay": "Display (own line, centred)",
39
+ "tools.math.styleText": "Text size",
40
+ "tools.math.preview": "Formula preview",
41
+ "tools.math.empty": "The formula appears here.",
42
+ "tools.math.invalid": "This TeX does not work: {message}",
43
+ "tools.math.unavailable": "The preview could not be loaded.",
44
+ "tools.inlineMath.title": "Inline math",
45
+ "tools.inlineMath.preview": "Formula preview",
46
+ "tools.inlineMath.empty": "Type TeX, for example x^2",
47
+ "tools.footnote.title": "Footnote",
48
+ "tools.names.math": "Math",
49
+ "tools.names.inlineMath": "Inline math",
50
+ "tools.names.footnote": "Footnote",
35
51
  "tools.common.cancel": "Cancel",
36
52
  "tools.common.caption": "Caption",
37
53
  "tools.common.noUpload": "You do not have permission to upload files",
@@ -78,6 +94,13 @@ const en = {
78
94
  "tools.hyperlink.newTab": "Open in a new tab",
79
95
  "tools.hyperlink.placeholder": "Paste a link and press Enter",
80
96
  "tools.mention.title": "Mention an entry",
97
+ "tools.mention.trigger.results": "Entries to mention",
98
+ "tools.mention.trigger.type": "Content type",
99
+ "tools.mention.trigger.hint": "Arrow keys choose, Enter inserts, Escape closes. Tab switches the content type.",
100
+ "tools.mention.trigger.hintSingle": "Arrow keys choose, Enter inserts, Escape closes.",
101
+ "tools.mention.trigger.count": "{count, plural, =0 {No entries match} one {# entry} other {# entries}}",
102
+ "tools.code.filename": "File name",
103
+ "tools.code.filenamePlaceholder": "File name (optional)",
81
104
  "tools.names.mention": "Mention",
82
105
  "tools.names.toc": "Table of contents",
83
106
  "tools.toc.empty": "No headings between level {min} and {max} yet. Add headings and they appear here.",
@@ -149,8 +172,23 @@ const en = {
149
172
  "tools.table.deleteRow": "Delete row",
150
173
  "tools.table.rowAbove": "Add row above",
151
174
  "tools.table.rowBelow": "Add row below",
152
- "tools.table.withHeadings": "With headings",
153
- "tools.table.withoutHeadings": "Without headings",
175
+ "tools.table.alignCenter": "Center column",
176
+ "tools.table.alignLeft": "Align column left",
177
+ "tools.table.alignRight": "Align column right",
178
+ "tools.table.caption": "Caption (optional)",
179
+ "tools.table.captionLabel": "Table caption",
180
+ "tools.table.cell": "Row {row}, column {column}",
181
+ "tools.table.headerColumn": "Header column",
182
+ "tools.table.headerRow": "Header row",
183
+ "tools.table.merge": "Merge selected cells",
184
+ "tools.table.mergeDown": "Merge with the cell below",
185
+ "tools.table.mergeRight": "Merge with the cell to the right",
186
+ "tools.table.merged": "Cells merged",
187
+ "tools.table.selection": "{count, plural, one {# cell selected} other {# cells selected}}",
188
+ "tools.table.split": "Split cell",
189
+ "tools.table.splitDone": "Cell split",
190
+ "tools.table.stretch": "Full width",
191
+ "tools.table.toolbar": "Table tools",
154
192
  "tools.textVariant.callOut": "Call-out",
155
193
  "tools.textVariant.citation": "Citation",
156
194
  "tools.textVariant.details": "Details",
@@ -250,10 +288,22 @@ const en = {
250
288
  "tools.focal.none": "No focal point set (frontends use the centre).",
251
289
  "tools.focal.toggleSet": "Focal point {x} %, {y} %",
252
290
  "tools.focal.toggle": "Set focal point",
291
+ "tools.names.comment": "Comment",
253
292
  "tools.names.gallery": "Gallery",
254
293
  "tools.names.video": "Video",
255
294
  "tools.names.audio": "Audio",
256
- "tools.hyperlink.internalOnly": 'Choose an entry with "Link to an entry"'
295
+ "tools.hyperlink.internalOnly": 'Choose an entry with "Link to an entry"',
296
+ "tools.names.color": "Colour",
297
+ "tools.names.superscript": "Superscript",
298
+ "tools.names.subscript": "Subscript",
299
+ "tools.names.abbreviation": "Abbreviation",
300
+ "tools.color.text": "Text",
301
+ "tools.color.highlight": "Highlight",
302
+ "tools.color.remove": "Remove colour",
303
+ "tools.annotation.apply": "Apply",
304
+ "tools.annotation.remove": "Remove",
305
+ "tools.annotation.required": "Fill in the required fields.",
306
+ "tools.annotation.fullForm": "Full form"
257
307
  };
258
308
  export {
259
309
  en as default
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ const index = require("./index-DRyctF9s.js");
3
+ const OPEN_FIELD_PANEL_EVENT = "magic-editor-x:open-field-panel";
4
+ const FIELD_PANELS = Object.freeze(["comments", "quality"]);
5
+ const requestFieldPanel = (detail) => {
6
+ if (typeof window === "undefined" || !detail || !FIELD_PANELS.includes(detail.panel)) return false;
7
+ const payload = { field: detail.field || null, path: detail.path, panel: detail.panel, handled: false };
8
+ window.dispatchEvent(new CustomEvent(OPEN_FIELD_PANEL_EVENT, { detail: payload }));
9
+ return payload.handled === true;
10
+ };
11
+ const matchesFieldRequest = (detail, { path, savedKey }) => {
12
+ if (!detail || typeof path !== "string") return false;
13
+ if (detail.field) return index.fieldIdentity(path, savedKey) === detail.field;
14
+ return detail.path === path;
15
+ };
16
+ exports.OPEN_FIELD_PANEL_EVENT = OPEN_FIELD_PANEL_EVENT;
17
+ exports.matchesFieldRequest = matchesFieldRequest;
18
+ exports.requestFieldPanel = requestFieldPanel;
@@ -0,0 +1,19 @@
1
+ import { bn as fieldIdentity } from "./index-CMYCZWOh.mjs";
2
+ const OPEN_FIELD_PANEL_EVENT = "magic-editor-x:open-field-panel";
3
+ const FIELD_PANELS = Object.freeze(["comments", "quality"]);
4
+ const requestFieldPanel = (detail) => {
5
+ if (typeof window === "undefined" || !detail || !FIELD_PANELS.includes(detail.panel)) return false;
6
+ const payload = { field: detail.field || null, path: detail.path, panel: detail.panel, handled: false };
7
+ window.dispatchEvent(new CustomEvent(OPEN_FIELD_PANEL_EVENT, { detail: payload }));
8
+ return payload.handled === true;
9
+ };
10
+ const matchesFieldRequest = (detail, { path, savedKey }) => {
11
+ if (!detail || typeof path !== "string") return false;
12
+ if (detail.field) return fieldIdentity(path, savedKey) === detail.field;
13
+ return detail.path === path;
14
+ };
15
+ export {
16
+ OPEN_FIELD_PANEL_EVENT as O,
17
+ matchesFieldRequest as m,
18
+ requestFieldPanel as r
19
+ };
@@ -36,7 +36,14 @@ const es = {
36
36
  "field.options.linkTargets.all": "Entradas y direcciones web",
37
37
  "field.options.linkTargets.internal": "Solo entradas de este sitio",
38
38
  "field.options.linkTargets.external": "Solo direcciones web",
39
- "field.options.linkTargets.none": "Sin enlaces"
39
+ "field.options.linkTargets.none": "Sin enlaces",
40
+ "field.options.formatting": "Formato adicional",
41
+ "field.options.inlineColors.label": "Color de texto y resaltado",
42
+ "field.options.inlineColors.description": "Los editores eligen entre los colores que su desarrollador definió en la configuración del plugin (paleta). Sin paleta no se muestra nada.",
43
+ "field.options.inlineScript.label": "Superíndice y subíndice",
44
+ "field.options.inlineScript.description": "Para fórmulas y unidades como m² o H₂O",
45
+ "field.options.inlineAnnotations.label": "Anotaciones",
46
+ "field.options.inlineAnnotations.description": "Nombres de anotaciones separados por comas, por ejemplo: abbreviation. Su desarrollador puede añadir más, como glossary."
40
47
  };
41
48
  export {
42
49
  es as default