magic-editor-x 2.4.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +140 -62
  3. package/bin/magic-editor-x.mjs +55 -8
  4. package/dist/admin/{AuditPage-guB0SiGS.mjs → AuditPage-Be78C7EC.mjs} +4 -3
  5. package/dist/admin/{AuditPage-C2u6z4aN.js → AuditPage-iQzpjH8H.js} +7 -6
  6. package/dist/admin/{ConfigurationPage-DiEpF1Rr.mjs → ConfigurationPage-C9CPBfWy.mjs} +186 -6
  7. package/dist/admin/{ConfigurationPage-D6uya-J1.js → ConfigurationPage-DefuBeYO.js} +191 -11
  8. package/dist/admin/Content-BttG50Mc.mjs +360 -0
  9. package/dist/admin/Content-V5MRBsI3.js +362 -0
  10. package/dist/admin/{CustomBlocksPage-Byt10-6c.mjs → CustomBlocksPage-DB5nnCsn.mjs} +5 -4
  11. package/dist/admin/{CustomBlocksPage-DP3h_wNd.js → CustomBlocksPage-Dg2rM3F4.js} +8 -7
  12. package/dist/admin/EntryWidgets-B8YA0Zxy.mjs +199 -0
  13. package/dist/admin/EntryWidgets-BcXAAx3F.js +201 -0
  14. package/dist/admin/{MentionsWidget-sMkM9mHX.mjs → MentionsWidget-CJPZDk9Z.mjs} +2 -2
  15. package/dist/admin/{MentionsWidget-C2OCAmqq.js → MentionsWidget-DUz6YVIG.js} +2 -2
  16. package/dist/admin/{useT-CLPhBmBC.mjs → SectionCard-8ZNHkvn9.mjs} +2 -12
  17. package/dist/admin/{useT-BXJLIPN4.js → SectionCard-Bs-xiiH1.js} +0 -10
  18. package/dist/admin/{TemplatesPage-Yp4OqFE2.mjs → TemplatesPage-VsZ_Mc0R.mjs} +6 -5
  19. package/dist/admin/{TemplatesPage-DrSJdteI.js → TemplatesPage-dx4_yd_t.js} +13 -12
  20. package/dist/admin/{api-bix9RLLI.js → api-4AYzwS4-.js} +9 -1
  21. package/dist/admin/{api-2ZRpHM3d.mjs → api-CcTYyckq.mjs} +9 -1
  22. package/dist/admin/{de-zcV8D7nt.js → de-B6rdcOqQ.js} +103 -1
  23. package/dist/admin/{de-1cFMs-4c.mjs → de-BWfR2jTg.mjs} +8 -1
  24. package/dist/admin/{de-DiCZrmH8.mjs → de-Bip0sBRT.mjs} +19 -1
  25. package/dist/admin/{de-Dn8athM8.js → de-BrPR4sUB.js} +8 -1
  26. package/dist/admin/{de-CKz6CG3V.mjs → de-CQA8hOpl.mjs} +103 -1
  27. package/dist/admin/{de-CbBDnXeT.js → de-CnnxKXj7.js} +19 -1
  28. package/dist/admin/{de-BhhGss1l.js → de-Dss5POqk.js} +12 -1
  29. package/dist/admin/{de-BNPIGqhs.mjs → de-zgHCYTLH.mjs} +12 -1
  30. package/dist/admin/{en-CIZ5Ggod.js → en--JjAHbpP.js} +8 -1
  31. package/dist/admin/{en-cYzqbASF.mjs → en-BCKaVgBM.mjs} +103 -1
  32. package/dist/admin/{en-B9ApE1y1.js → en-CJ17Sp_e.js} +12 -1
  33. package/dist/admin/{en-BMWhILnj.js → en-CbGkcq0Q.js} +103 -1
  34. package/dist/admin/{en-DCPMqFIa.mjs → en-Cd6Jk-J0.mjs} +19 -1
  35. package/dist/admin/{en-CpehF0Kv.js → en-D69Fe9ZO.js} +19 -1
  36. package/dist/admin/{en-Dc9y-6n9.mjs → en-Dr58wBAo.mjs} +8 -1
  37. package/dist/admin/{en-gFLeK9Ng.mjs → en-Uhm7OouM.mjs} +12 -1
  38. package/dist/admin/entry-panel-events-0msyPrAD.js +18 -0
  39. package/dist/admin/entry-panel-events-XRuUoLZ9.mjs +19 -0
  40. package/dist/admin/{es-D2Kw6E4N.mjs → es-B2Hkkbw9.mjs} +8 -1
  41. package/dist/admin/{es-BmwBgEgz.mjs → es-BMkmfH88.mjs} +12 -1
  42. package/dist/admin/{es-Chs37IBR.mjs → es-Bz8d72Fa.mjs} +19 -1
  43. package/dist/admin/{es-CQPh8PXw.js → es-C8UotT8O.js} +103 -1
  44. package/dist/admin/{es-CawpzwyC.js → es-CcEDZpVQ.js} +19 -1
  45. package/dist/admin/{es-C0W31rl8.js → es-DJm3HFJt.js} +12 -1
  46. package/dist/admin/{es-C4IRHV5d.js → es-YvaTAtqY.js} +8 -1
  47. package/dist/admin/{es-DCamt1ek.mjs → es-pvPfNAld.mjs} +103 -1
  48. package/dist/admin/{fr-BOvvfEH7.mjs → fr-BvPjRiwr.mjs} +8 -1
  49. package/dist/admin/{fr-Dp5-XP29.mjs → fr-CKHZ0xxU.mjs} +19 -1
  50. package/dist/admin/{fr-iGeIfEcU.js → fr-CRM9VuAq.js} +12 -1
  51. package/dist/admin/{fr-CMWBNE5D.mjs → fr-CrIHmKYX.mjs} +12 -1
  52. package/dist/admin/{fr-COOsqexl.js → fr-Cx29jQ_g.js} +19 -1
  53. package/dist/admin/{fr-oW0t8bT5.mjs → fr-D4tL6Ag2.mjs} +103 -1
  54. package/dist/admin/{fr-Zkb8vfjN.js → fr-Di-U-rAH.js} +8 -1
  55. package/dist/admin/{fr-DpC44Ol8.js → fr-DrUYv2jh.js} +103 -1
  56. package/dist/admin/{index-BVjf1gVC.mjs → index-C4ksUkEm.mjs} +9183 -6353
  57. package/dist/admin/{index-64wc26Bl.js → index-C5D3VqLq.js} +9170 -6340
  58. package/dist/admin/{index-D_Fv8Non.mjs → index-CMYCZWOh.mjs} +1053 -190
  59. package/dist/admin/{index-D6Z7i8ba.js → index-DRyctF9s.js} +961 -98
  60. package/dist/admin/index.js +1 -1
  61. package/dist/admin/index.mjs +2 -2
  62. package/dist/admin/{math-vsK_06ZR.js → math-D6jmskGS.js} +1 -1
  63. package/dist/admin/{math-CIQ4Z_mY.mjs → math-DntdSWKX.mjs} +1 -1
  64. package/dist/admin/{pt-DALDvfBn.mjs → pt-B8x7v-Xw.mjs} +19 -1
  65. package/dist/admin/{pt-DXy7G1x7.js → pt-BYn2xx78.js} +19 -1
  66. package/dist/admin/{pt-Bo0Pm_Pt.js → pt-CojQcz-p.js} +103 -1
  67. package/dist/admin/{pt-uGpfRQLC.mjs → pt-CuoIihKx.mjs} +103 -1
  68. package/dist/admin/{pt-1IUyx6ae.js → pt-CzrN_3ui.js} +8 -1
  69. package/dist/admin/{pt-DFNgZ5_k.mjs → pt-DDlPJYtB.mjs} +12 -1
  70. package/dist/admin/{pt-BHmXk2d9.js → pt-DPVAycXJ.js} +12 -1
  71. package/dist/admin/{pt-etwsg3G4.mjs → pt-DdGagO99.mjs} +8 -1
  72. package/dist/admin/useT-Bpw__IXT.js +12 -0
  73. package/dist/admin/useT-Cb-R3kyA.mjs +13 -0
  74. package/dist/blocks/index.d.mts +124 -0
  75. package/dist/blocks/index.d.ts +124 -0
  76. package/dist/blocks/index.js +172 -3
  77. package/dist/blocks/index.mjs +172 -3
  78. package/dist/math/index.js +6 -2
  79. package/dist/math/index.mjs +6 -2
  80. package/dist/react/index.js +1376 -1067
  81. package/dist/react/index.mjs +1376 -1067
  82. package/dist/render/index.d.mts +22 -0
  83. package/dist/render/index.d.ts +22 -0
  84. package/dist/render/index.js +1376 -1067
  85. package/dist/render/index.mjs +1376 -1067
  86. package/dist/server/index.js +28894 -24197
  87. package/dist/server/index.mjs +28893 -24196
  88. package/dist/server/mcp-worker.js +11319 -0
  89. package/dist/vue/index.js +1376 -1067
  90. package/dist/vue/index.mjs +1376 -1067
  91. package/package.json +7 -7
  92. package/schema/magic-editor-x.schema.json +9 -1
  93. package/types/blocks.d.ts +124 -0
  94. package/types/index.d.ts +10 -1
  95. package/types/render.d.ts +22 -0
@@ -632,7 +632,109 @@ const de = {
632
632
  "editor.suggestions.showAll": "Vorschläge anzeigen",
633
633
  "editor.toolbar.suggest": "Änderungen vorschlagen",
634
634
  "editor.toolbar.suggestionsCount": "Vorschläge ({count, plural, one {# offen} other {# offen}})",
635
- "editor.toolbar.suggestions": "Vorschläge"
635
+ "editor.toolbar.suggestions": "Vorschläge",
636
+ "entryPanel.title": "Magic Editor X",
637
+ "entryPanel.loading": "Wird geladen",
638
+ "entryPanel.error": "Kommentare und Qualität konnten nicht geladen werden.",
639
+ "entryPanel.retry": "Erneut versuchen",
640
+ "entryPanel.presence.title": "Gerade in Bearbeitung",
641
+ "entryPanel.presence.editing": "{name} bearbeitet diesen Eintrag",
642
+ "entryPanel.presence.idle": "{name} hat diesen Eintrag geöffnet (inaktiv)",
643
+ "entryPanel.presence.empty": "Niemand sonst bearbeitet diesen Eintrag gerade.",
644
+ "entryPanel.comments.title": "Kommentare",
645
+ "entryPanel.comments.count": "{count, plural, one {# offene Diskussion} other {# offene Diskussionen}}",
646
+ "entryPanel.comments.field": "{count, plural, one {# offen} other {# offen}}",
647
+ "entryPanel.comments.show": "Anzeigen",
648
+ "entryPanel.comments.showLabel": "Kommentare in {field} anzeigen",
649
+ "entryPanel.comments.empty": "Keine offenen Kommentare. Markieren Sie Text in einem Feld und wählen Sie Kommentieren, um einen zu beginnen.",
650
+ "entryPanel.quality.title": "Qualität",
651
+ "entryPanel.quality.issues": "{count, plural, one {# Hinweis} other {# Hinweise}}",
652
+ "entryPanel.quality.broken": "{count, plural, one {# defekter Link} other {# defekte Links}}",
653
+ "entryPanel.quality.check": "Prüfen",
654
+ "entryPanel.quality.checkLabel": "{field} prüfen",
655
+ "entryPanel.quality.empty": "Im gespeicherten Entwurf wurden keine Probleme gefunden.",
656
+ "entryPanel.quality.savedDraft": "Die Zahlen gelten für den gespeicherten Entwurf. Speichern Sie, um sie zu aktualisieren.",
657
+ "entryPanel.quality.published": "{count, plural, one {Die veröffentlichte Version hat # defekten Link.} other {Die veröffentlichte Version hat # defekte Links.}}",
658
+ "entryPanel.quality.lastRun": "Links zuletzt geprüft: {date}",
659
+ "entryPanel.quality.noRun": "Die geplante Linkprüfung ist noch nicht gelaufen.",
660
+ "entryPanel.softLock.title": "Jemand anderes bearbeitet diesen Eintrag",
661
+ "entryPanel.softLock.body": "{names} {count, plural, one {bearbeitet} other {bearbeiten}} diesen Eintrag gerade. Stimmen Sie sich ab, wer was ändert, damit Sie Ihre Änderungen nicht gegenseitig überschreiben.",
662
+ "entryPanel.softLock.continue": "Weiter bearbeiten",
663
+ "widget.retry": "Erneut versuchen",
664
+ "widget.openThreads.title": "Meine offenen Diskussionen",
665
+ "widget.openThreads.loading": "Diskussionen werden geladen",
666
+ "widget.openThreads.error": "Diskussionen konnten nicht geladen werden.",
667
+ "widget.openThreads.empty": "Keine offenen Diskussionen. Diskussionen, die Sie beginnen oder in denen Sie erwähnt werden, bleiben hier, bis sie erledigt sind.",
668
+ "widget.openThreads.where": "{title} ({type})",
669
+ "widget.openThreads.started": "Sie haben diese Diskussion begonnen",
670
+ "widget.openThreads.mentioned": "Sie wurden erwähnt",
671
+ "widget.openThreads.more": "Weitere offene Diskussionen werden nicht angezeigt. Erledigen Sie Diskussionen, um den Rest zu sehen.",
672
+ "widget.brokenLinks.title": "Defekte Links",
673
+ "widget.brokenLinks.loading": "Links werden geladen",
674
+ "widget.brokenLinks.error": "Defekte Links konnten nicht geladen werden.",
675
+ "widget.brokenLinks.off": "Die geplante Linkprüfung ist in der Serverkonfiguration ausgeschaltet.",
676
+ "widget.brokenLinks.noRun": "Die geplante Linkprüfung ist noch nicht gelaufen. Die Ergebnisse erscheinen hier nach dem ersten Lauf.",
677
+ "widget.brokenLinks.lastRun": "Letzte Prüfung: {date}",
678
+ "widget.brokenLinks.empty": "Keine defekten Links in den Einträgen, die Sie lesen können.",
679
+ "widget.brokenLinks.count": "{count, plural, one {# defekter Link} other {# defekte Links}}",
680
+ "widget.brokenLinks.more": "Weitere Einträge haben defekte Links. {date}",
681
+ "entryPanel.openGroup": "Öffnen Sie zuerst „{group}“ im Formular und wählen Sie dann erneut {action}.",
682
+ "editor.reuse.reason.notAllowed": "Dieses Feld erlaubt diesen Block nicht.",
683
+ "editor.reuse.reason.unavailable": "Dieser Blocktyp ist in diesem Editor nicht verfügbar.",
684
+ "editor.reuse.reason.syncedMissing": "Der synchronisierte Block wurde entfernt oder wird nicht mehr angeboten.",
685
+ "editor.reuse.reason.unfixable": "Dieser Block lässt sich nicht an die Einstellungen dieses Felds anpassen.",
686
+ "editor.reuse.loading": "Wird geladen",
687
+ "editor.reuse.typesError": "Die Liste der Inhaltstypen konnte nicht geladen werden.",
688
+ "editor.reuse.noTypes": "Es gibt noch keine Inhalte in anderen Einträgen, die Sie lesen können.",
689
+ "editor.reuse.noTypesHint": "Schreiben und speichern Sie zuerst Inhalte in einem anderen Eintrag, oder bitten Sie eine Administratorin oder einen Administrator um Lesezugriff.",
690
+ "editor.reuse.searchError": "Die Einträge konnten nicht geladen werden. Versuchen Sie es erneut.",
691
+ "editor.reuse.noResults": "Keine Einträge gefunden. Versuchen Sie ein anderes Wort.",
692
+ "editor.reuse.noEntries": "Hier gibt es keine Einträge, die Sie lesen können.",
693
+ "editor.reuse.results": "Einträge",
694
+ "editor.reuse.untitled": "Eintrag ohne Titel",
695
+ "editor.reuse.thisEntry": "Dieser Eintrag",
696
+ "editor.reuse.statusDraft": "Entwurf",
697
+ "editor.reuse.statusPublished": "Veröffentlicht",
698
+ "editor.reuse.more": "{shown} von {total} Einträgen werden angezeigt. Tippen Sie, um die Liste einzugrenzen.",
699
+ "editor.reuse.type": "Inhaltstyp",
700
+ "editor.reuse.locale": "Sprache",
701
+ "editor.reuse.clear": "Suche löschen",
702
+ "editor.reuse.search": "Einträge nach Titel suchen",
703
+ "editor.reuse.sourceError": "Der Inhalt dieses Eintrags konnte nicht geladen werden.",
704
+ "editor.reuse.noContent": "Dieser Eintrag hat keinen gespeicherten Inhalt, den Sie einfügen können.",
705
+ "editor.reuse.noContentHint": "Wählen Sie einen anderen Eintrag, oder speichern Sie diesen zuerst mit Inhalt.",
706
+ "editor.reuse.field": "Feld",
707
+ "editor.reuse.selectAll": "Alle auswählen",
708
+ "editor.reuse.selectedCount": "{count} von {total} ausgewählt",
709
+ "editor.reuse.blocked": "{count, plural, one {# Block kann} other {# Blöcke können}} nicht in dieses Feld eingefügt werden. Der Grund steht beim Block.",
710
+ "editor.reuse.blocks": "Blöcke",
711
+ "editor.reuse.blockLabel": "Block {number}: {name}",
712
+ "editor.reuse.adjusted": "An dieses Feld angepasst",
713
+ "editor.reuse.truncated": "Nur die ersten {shown} von {total} Blöcken werden angezeigt.",
714
+ "editor.reuse.change": "Anderen Eintrag wählen",
715
+ "editor.reuse.versionHint": "Zeigt den Eintrag, wie er zuletzt gespeichert wurde (Entwurf). Noch nicht gespeicherte Änderungen sind nicht enthalten. Die Blöcke werden nach dem Block eingefügt, an dem Sie zuletzt gearbeitet haben.",
716
+ "editor.reuse.close": "Schließen",
717
+ "editor.reuse.title": "Aus einem anderen Eintrag einfügen",
718
+ "editor.reuse.cancel": "Abbrechen",
719
+ "editor.reuse.insert": "{count, plural, one {# Block} other {# Blöcke}} einfügen",
720
+ "editor.reuse.omitted.unavailable": "{count, plural, one {# Block wurde} other {# Blöcke wurden}} weggelassen, weil dieser Editor kein Werkzeug für {count, plural, one {seinen Typ} other {ihre Typen}} hat.",
721
+ "editor.reuse.omitted.syncedMissing": "{count, plural, one {# synchronisierter Block wurde} other {# synchronisierte Blöcke wurden}} weggelassen, weil {count, plural, one {seine Quelle} other {ihre Quellen}} entfernt {count, plural, one {wurde oder nicht mehr angeboten wird} other {wurden oder nicht mehr angeboten werden}}.",
722
+ "editor.reuse.omitted.unfixable": "{count, plural, one {# Block wurde} other {# Blöcke wurden}} weggelassen, weil {count, plural, one {er sich} other {sie sich}} nicht an die Einstellungen dieses Felds anpassen {count, plural, one {ließ} other {ließen}}.",
723
+ "editor.reuse.nothing": "Keiner dieser Blöcke kann in dieses Feld eingefügt werden.",
724
+ "editor.reuse.inserted": "{count, plural, one {# Block} other {# Blöcke}} aus {name} eingefügt.",
725
+ "editor.reuse.insertedPlain": "{count, plural, one {# Block eingefügt} other {# Blöcke eingefügt}}.",
726
+ "editor.reuse.copied": "Block kopiert. Sie können ihn in jedes Magic-Editor-X-Feld einfügen.",
727
+ "editor.reuse.copyFailed": "Der Block konnte nicht kopiert werden. Markieren Sie ihn und drücken Sie Strg+C (Cmd+C auf dem Mac).",
728
+ "editor.toolbar.reuse": "Aus einem anderen Eintrag einfügen",
729
+ "editor.reuse.copyBlock": "Block kopieren",
730
+ "editor.reuse.embed": "Eingebetteter Inhalt",
731
+ "editor.quality.rule.colorContrast": "{mode, select, dark {Dunkles Design} other {Helles Design}}: Textfarbe / Hervorhebung {pair} hat einen Kontrast von {ratio}:1, unter 4,5:1",
732
+ "editor.drafts.found": "Es wurden ungespeicherte Änderungen gefunden ({time}).",
733
+ "editor.drafts.conflict": "Der gespeicherte Inhalt wurde seitdem geändert. Beim Wiederherstellen wird er im Editor ersetzt ({count, plural, one {# Block unterscheidet sich} other {# Blöcke unterscheiden sich}}).",
734
+ "editor.drafts.conflictPlain": "Der gespeicherte Inhalt wurde seitdem geändert. Beim Wiederherstellen wird er im Editor ersetzt.",
735
+ "editor.drafts.discard": "Verwerfen",
736
+ "editor.drafts.restore": "Wiederherstellen",
737
+ "editor.drafts.restored": "Änderungen wiederhergestellt. Speichern Sie den Eintrag, um sie zu behalten."
636
738
  };
637
739
  export {
638
740
  de as default
@@ -525,6 +525,24 @@ const de = {
525
525
  "settings.audit.event.suggestionAccept": "Vorschlag angenommen",
526
526
  "settings.audit.event.suggestionReject": "Vorschlag abgelehnt",
527
527
  "settings.audit.event.suggestionWithdraw": "Vorschlag zurückgezogen",
528
- "settings.audit.counts.outdated": "Neuere Fassung des Blocks ersetzt"
528
+ "settings.audit.counts.outdated": "Neuere Fassung des Blocks ersetzt",
529
+ "settings.environment.mcp": "Werkzeuge für KI-Clients (MCP)",
530
+ "settings.environment.mcpOn": "KI-Clients verbinden sich mit {path} über ein Admin-Token. Geben Sie dem Token die Berechtigung „Use the MCP tools“ unter Plugins > Magic Editor X. Die Werkzeuge wandeln Inhalte um, prüfen und rendern sie; sie lesen oder speichern nie Einträge.",
531
+ "settings.environment.mcpServerOff": "Eingeschaltet (mcp.enabled), aber der MCP-Server von Strapi ist aus. Setzen Sie server.mcp.enabled in config/server auf true und starten Sie neu.",
532
+ "settings.environment.mcpOff": "Schalten Sie es mit mcp.enabled in config/plugins und server.mcp.enabled in config/server ein und starten Sie dann neu.",
533
+ "settings.palette.title": "Textfarben und Hervorhebungen",
534
+ "settings.palette.subtitle": "Festgelegt in der Plugin-Konfiguration (config/plugins.js, Schlüssel palette). Felder bieten sie an, wenn die Feldoption „Textfarbe und Hervorhebung“ aktiviert ist.",
535
+ "settings.palette.empty": "Es ist keine Palette konfiguriert, daher sehen Redakteure kein Farbwerkzeug. Bitten Sie Ihren Entwickler, Farben in der Plugin-Konfiguration anzulegen.",
536
+ "settings.palette.issuesTitle": "{count, plural, one {# Kombination ist} other {# Kombinationen sind}} schwer lesbar",
537
+ "settings.palette.issue": "{mode, select, dark {Dunkles Design} other {Helles Design}}: {pair} hat einen Kontrast von {ratio}:1 (nötig: 4,5:1)",
538
+ "settings.palette.defaultText": "Standardtext",
539
+ "settings.palette.page": "Seitenhintergrund",
540
+ "settings.palette.colors": "Textfarben",
541
+ "settings.palette.highlights": "Hervorhebungen",
542
+ "settings.palette.light": "Helles Design",
543
+ "settings.palette.dark": "Dunkles Design",
544
+ "settings.palette.css": "CSS für Ihre Website",
545
+ "settings.palette.copy": "CSS kopieren",
546
+ "settings.palette.annotations": "Anmerkungen für die Feldoption „Anmerkungen“: {names}"
529
547
  };
530
548
  exports.default = de;
@@ -294,6 +294,17 @@ const de = {
294
294
  "tools.names.gallery": "Galerie",
295
295
  "tools.names.video": "Video",
296
296
  "tools.names.audio": "Audio",
297
- "tools.hyperlink.internalOnly": "Wählen Sie einen Eintrag über „Mit einem Eintrag verlinken“"
297
+ "tools.hyperlink.internalOnly": "Wählen Sie einen Eintrag über „Mit einem Eintrag verlinken“",
298
+ "tools.names.color": "Farbe",
299
+ "tools.names.superscript": "Hochgestellt",
300
+ "tools.names.subscript": "Tiefgestellt",
301
+ "tools.names.abbreviation": "Abkürzung",
302
+ "tools.color.text": "Text",
303
+ "tools.color.highlight": "Hervorhebung",
304
+ "tools.color.remove": "Farbe entfernen",
305
+ "tools.annotation.apply": "Anwenden",
306
+ "tools.annotation.remove": "Entfernen",
307
+ "tools.annotation.required": "Bitte füllen Sie die Pflichtfelder aus.",
308
+ "tools.annotation.fullForm": "Ausgeschriebene Form"
298
309
  };
299
310
  exports.default = de;
@@ -292,7 +292,18 @@ const de = {
292
292
  "tools.names.gallery": "Galerie",
293
293
  "tools.names.video": "Video",
294
294
  "tools.names.audio": "Audio",
295
- "tools.hyperlink.internalOnly": "Wählen Sie einen Eintrag über „Mit einem Eintrag verlinken“"
295
+ "tools.hyperlink.internalOnly": "Wählen Sie einen Eintrag über „Mit einem Eintrag verlinken“",
296
+ "tools.names.color": "Farbe",
297
+ "tools.names.superscript": "Hochgestellt",
298
+ "tools.names.subscript": "Tiefgestellt",
299
+ "tools.names.abbreviation": "Abkürzung",
300
+ "tools.color.text": "Text",
301
+ "tools.color.highlight": "Hervorhebung",
302
+ "tools.color.remove": "Farbe entfernen",
303
+ "tools.annotation.apply": "Anwenden",
304
+ "tools.annotation.remove": "Entfernen",
305
+ "tools.annotation.required": "Bitte füllen Sie die Pflichtfelder aus.",
306
+ "tools.annotation.fullForm": "Ausgeschriebene Form"
296
307
  };
297
308
  export {
298
309
  de as default
@@ -38,6 +38,13 @@ const en = {
38
38
  "field.options.linkTargets.all": "Entries and web addresses",
39
39
  "field.options.linkTargets.internal": "Only entries of this site",
40
40
  "field.options.linkTargets.external": "Only web addresses",
41
- "field.options.linkTargets.none": "No links"
41
+ "field.options.linkTargets.none": "No links",
42
+ "field.options.formatting": "Extra formatting",
43
+ "field.options.inlineColors.label": "Text colour and highlight",
44
+ "field.options.inlineColors.description": "Editors pick from the colours your developer set in the plugin configuration (palette). Without a palette nothing is shown.",
45
+ "field.options.inlineScript.label": "Superscript and subscript",
46
+ "field.options.inlineScript.description": "For formulas and units such as m² or H₂O",
47
+ "field.options.inlineAnnotations.label": "Annotations",
48
+ "field.options.inlineAnnotations.description": "Comma-separated annotation names, for example: abbreviation. Your developer can add more, such as glossary."
42
49
  };
43
50
  exports.default = en;
@@ -632,7 +632,109 @@ const en = {
632
632
  "editor.suggestions.showAll": "Show suggestions",
633
633
  "editor.toolbar.suggest": "Suggest changes",
634
634
  "editor.toolbar.suggestionsCount": "Suggestions ({count, plural, one {# open} other {# open}})",
635
- "editor.toolbar.suggestions": "Suggestions"
635
+ "editor.toolbar.suggestions": "Suggestions",
636
+ "entryPanel.title": "Magic Editor X",
637
+ "entryPanel.loading": "Loading",
638
+ "entryPanel.error": "Comments and quality could not be loaded.",
639
+ "entryPanel.retry": "Try again",
640
+ "entryPanel.presence.title": "Editing now",
641
+ "entryPanel.presence.editing": "{name} is editing this entry",
642
+ "entryPanel.presence.idle": "{name} has this entry open (idle)",
643
+ "entryPanel.presence.empty": "Nobody else is editing this entry right now.",
644
+ "entryPanel.comments.title": "Comments",
645
+ "entryPanel.comments.count": "{count, plural, one {# open thread} other {# open threads}}",
646
+ "entryPanel.comments.field": "{count, plural, one {# open} other {# open}}",
647
+ "entryPanel.comments.show": "Show",
648
+ "entryPanel.comments.showLabel": "Show comments in {field}",
649
+ "entryPanel.comments.empty": "No open comments. To start one, select text in a field and choose Comment.",
650
+ "entryPanel.quality.title": "Quality",
651
+ "entryPanel.quality.issues": "{count, plural, one {# issue} other {# issues}}",
652
+ "entryPanel.quality.broken": "{count, plural, one {# broken link} other {# broken links}}",
653
+ "entryPanel.quality.check": "Check",
654
+ "entryPanel.quality.checkLabel": "Check {field}",
655
+ "entryPanel.quality.empty": "No problems found in the saved draft.",
656
+ "entryPanel.quality.savedDraft": "Counts are for the saved draft. Save to update them.",
657
+ "entryPanel.quality.published": "{count, plural, one {The published version has # broken link.} other {The published version has # broken links.}}",
658
+ "entryPanel.quality.lastRun": "Links last checked {date}",
659
+ "entryPanel.quality.noRun": "The scheduled link check has not run yet.",
660
+ "entryPanel.softLock.title": "Someone else is editing this entry",
661
+ "entryPanel.softLock.body": "{names} {count, plural, one {is} other {are}} editing this entry right now. To avoid overwriting each other's changes, agree who changes what.",
662
+ "entryPanel.softLock.continue": "Continue editing",
663
+ "widget.retry": "Try again",
664
+ "widget.openThreads.title": "My open threads",
665
+ "widget.openThreads.loading": "Loading threads",
666
+ "widget.openThreads.error": "Threads could not be loaded.",
667
+ "widget.openThreads.empty": "No open threads. Threads you start or are mentioned in stay here until they are resolved.",
668
+ "widget.openThreads.where": "{title} ({type})",
669
+ "widget.openThreads.started": "You started this thread",
670
+ "widget.openThreads.mentioned": "You were mentioned",
671
+ "widget.openThreads.more": "More open threads are not shown. Resolve threads to see the rest.",
672
+ "widget.brokenLinks.title": "Broken links",
673
+ "widget.brokenLinks.loading": "Loading links",
674
+ "widget.brokenLinks.error": "Broken links could not be loaded.",
675
+ "widget.brokenLinks.off": "The scheduled link check is turned off in the server configuration.",
676
+ "widget.brokenLinks.noRun": "The scheduled link check has not run yet. Results show up here after it runs.",
677
+ "widget.brokenLinks.lastRun": "Last check {date}",
678
+ "widget.brokenLinks.empty": "No broken links in the entries you can read.",
679
+ "widget.brokenLinks.count": "{count, plural, one {# broken link} other {# broken links}}",
680
+ "widget.brokenLinks.more": "More entries have broken links. {date}",
681
+ "entryPanel.openGroup": "Open “{group}” in the form first, then choose {action} again.",
682
+ "editor.reuse.reason.notAllowed": "This field does not allow this block.",
683
+ "editor.reuse.reason.unavailable": "This block type is not available in this editor.",
684
+ "editor.reuse.reason.syncedMissing": "The synced block was removed or is no longer offered.",
685
+ "editor.reuse.reason.unfixable": "This block cannot be adjusted to the settings of this field.",
686
+ "editor.reuse.loading": "Loading",
687
+ "editor.reuse.typesError": "The list of content types could not be loaded.",
688
+ "editor.reuse.noTypes": "There is no content you can read in other entries yet.",
689
+ "editor.reuse.noTypesHint": "Write and save content in another entry first, or ask an administrator for read access to it.",
690
+ "editor.reuse.searchError": "The entries could not be loaded. Try again.",
691
+ "editor.reuse.noResults": "No entries match. Try another word.",
692
+ "editor.reuse.noEntries": "There are no entries you can read here.",
693
+ "editor.reuse.results": "Entries",
694
+ "editor.reuse.untitled": "Untitled entry",
695
+ "editor.reuse.thisEntry": "This entry",
696
+ "editor.reuse.statusDraft": "Draft",
697
+ "editor.reuse.statusPublished": "Published",
698
+ "editor.reuse.more": "Showing {shown} of {total} entries. Type to narrow the list.",
699
+ "editor.reuse.type": "Content type",
700
+ "editor.reuse.locale": "Language",
701
+ "editor.reuse.clear": "Clear search",
702
+ "editor.reuse.search": "Search entries by title",
703
+ "editor.reuse.sourceError": "The content of this entry could not be loaded.",
704
+ "editor.reuse.noContent": "This entry has no saved content you can insert.",
705
+ "editor.reuse.noContentHint": "Choose another entry, or save this one with content first.",
706
+ "editor.reuse.field": "Field",
707
+ "editor.reuse.selectAll": "Select all",
708
+ "editor.reuse.selectedCount": "{count} of {total} selected",
709
+ "editor.reuse.blocked": "{count, plural, one {# block cannot} other {# blocks cannot}} be inserted into this field. The reason is shown at the block.",
710
+ "editor.reuse.blocks": "Blocks",
711
+ "editor.reuse.blockLabel": "Block {number}: {name}",
712
+ "editor.reuse.adjusted": "Adjusted to this field",
713
+ "editor.reuse.truncated": "Only the first {shown} of {total} blocks are shown.",
714
+ "editor.reuse.change": "Choose another entry",
715
+ "editor.reuse.versionHint": "Shows the entry as last saved (draft). Changes that are not saved yet are not included. The blocks are inserted after the block you worked on last.",
716
+ "editor.reuse.close": "Close",
717
+ "editor.reuse.title": "Insert from another entry",
718
+ "editor.reuse.cancel": "Cancel",
719
+ "editor.reuse.insert": "Insert {count, plural, one {# block} other {# blocks}}",
720
+ "editor.reuse.omitted.unavailable": "{count, plural, one {# block was left out} other {# blocks were left out}} because this editor has no tool for {count, plural, one {its type} other {their types}}.",
721
+ "editor.reuse.omitted.syncedMissing": "{count, plural, one {# synced block was left out} other {# synced blocks were left out}} because {count, plural, one {its source was} other {their sources were}} removed or {count, plural, one {is} other {are}} no longer offered.",
722
+ "editor.reuse.omitted.unfixable": "{count, plural, one {# block was left out} other {# blocks were left out}} because {count, plural, one {it} other {they}} could not be adjusted to the settings of this field.",
723
+ "editor.reuse.nothing": "None of these blocks can be inserted into this field.",
724
+ "editor.reuse.inserted": "{count, plural, one {# block} other {# blocks}} from {name} inserted.",
725
+ "editor.reuse.insertedPlain": "{count, plural, one {# block inserted} other {# blocks inserted}}.",
726
+ "editor.reuse.copied": "Block copied. Paste it into any Magic Editor X field.",
727
+ "editor.reuse.copyFailed": "The block could not be copied. Select it and press Ctrl+C (Cmd+C on a Mac).",
728
+ "editor.toolbar.reuse": "Insert from another entry",
729
+ "editor.reuse.copyBlock": "Copy block",
730
+ "editor.reuse.embed": "Embedded content",
731
+ "editor.quality.rule.colorContrast": "{mode, select, dark {Dark theme} other {Light theme}}: text colour / highlight {pair} has contrast {ratio}:1, below 4.5:1",
732
+ "editor.drafts.found": "Unsaved changes from {time} were found.",
733
+ "editor.drafts.conflict": "The saved content changed since then. Restoring replaces it in the editor ({count, plural, one {# block differs} other {# blocks differ}}).",
734
+ "editor.drafts.conflictPlain": "The saved content changed since then. Restoring replaces it in the editor.",
735
+ "editor.drafts.discard": "Discard",
736
+ "editor.drafts.restore": "Restore",
737
+ "editor.drafts.restored": "Changes restored. Save the entry to keep them."
636
738
  };
637
739
  export {
638
740
  en as default
@@ -294,6 +294,17 @@ const en = {
294
294
  "tools.names.gallery": "Gallery",
295
295
  "tools.names.video": "Video",
296
296
  "tools.names.audio": "Audio",
297
- "tools.hyperlink.internalOnly": 'Choose an entry with "Link to an entry"'
297
+ "tools.hyperlink.internalOnly": 'Choose an entry with "Link to an entry"',
298
+ "tools.names.color": "Colour",
299
+ "tools.names.superscript": "Superscript",
300
+ "tools.names.subscript": "Subscript",
301
+ "tools.names.abbreviation": "Abbreviation",
302
+ "tools.color.text": "Text",
303
+ "tools.color.highlight": "Highlight",
304
+ "tools.color.remove": "Remove colour",
305
+ "tools.annotation.apply": "Apply",
306
+ "tools.annotation.remove": "Remove",
307
+ "tools.annotation.required": "Fill in the required fields.",
308
+ "tools.annotation.fullForm": "Full form"
298
309
  };
299
310
  exports.default = en;
@@ -634,6 +634,108 @@ const en = {
634
634
  "editor.suggestions.showAll": "Show suggestions",
635
635
  "editor.toolbar.suggest": "Suggest changes",
636
636
  "editor.toolbar.suggestionsCount": "Suggestions ({count, plural, one {# open} other {# open}})",
637
- "editor.toolbar.suggestions": "Suggestions"
637
+ "editor.toolbar.suggestions": "Suggestions",
638
+ "entryPanel.title": "Magic Editor X",
639
+ "entryPanel.loading": "Loading",
640
+ "entryPanel.error": "Comments and quality could not be loaded.",
641
+ "entryPanel.retry": "Try again",
642
+ "entryPanel.presence.title": "Editing now",
643
+ "entryPanel.presence.editing": "{name} is editing this entry",
644
+ "entryPanel.presence.idle": "{name} has this entry open (idle)",
645
+ "entryPanel.presence.empty": "Nobody else is editing this entry right now.",
646
+ "entryPanel.comments.title": "Comments",
647
+ "entryPanel.comments.count": "{count, plural, one {# open thread} other {# open threads}}",
648
+ "entryPanel.comments.field": "{count, plural, one {# open} other {# open}}",
649
+ "entryPanel.comments.show": "Show",
650
+ "entryPanel.comments.showLabel": "Show comments in {field}",
651
+ "entryPanel.comments.empty": "No open comments. To start one, select text in a field and choose Comment.",
652
+ "entryPanel.quality.title": "Quality",
653
+ "entryPanel.quality.issues": "{count, plural, one {# issue} other {# issues}}",
654
+ "entryPanel.quality.broken": "{count, plural, one {# broken link} other {# broken links}}",
655
+ "entryPanel.quality.check": "Check",
656
+ "entryPanel.quality.checkLabel": "Check {field}",
657
+ "entryPanel.quality.empty": "No problems found in the saved draft.",
658
+ "entryPanel.quality.savedDraft": "Counts are for the saved draft. Save to update them.",
659
+ "entryPanel.quality.published": "{count, plural, one {The published version has # broken link.} other {The published version has # broken links.}}",
660
+ "entryPanel.quality.lastRun": "Links last checked {date}",
661
+ "entryPanel.quality.noRun": "The scheduled link check has not run yet.",
662
+ "entryPanel.softLock.title": "Someone else is editing this entry",
663
+ "entryPanel.softLock.body": "{names} {count, plural, one {is} other {are}} editing this entry right now. To avoid overwriting each other's changes, agree who changes what.",
664
+ "entryPanel.softLock.continue": "Continue editing",
665
+ "widget.retry": "Try again",
666
+ "widget.openThreads.title": "My open threads",
667
+ "widget.openThreads.loading": "Loading threads",
668
+ "widget.openThreads.error": "Threads could not be loaded.",
669
+ "widget.openThreads.empty": "No open threads. Threads you start or are mentioned in stay here until they are resolved.",
670
+ "widget.openThreads.where": "{title} ({type})",
671
+ "widget.openThreads.started": "You started this thread",
672
+ "widget.openThreads.mentioned": "You were mentioned",
673
+ "widget.openThreads.more": "More open threads are not shown. Resolve threads to see the rest.",
674
+ "widget.brokenLinks.title": "Broken links",
675
+ "widget.brokenLinks.loading": "Loading links",
676
+ "widget.brokenLinks.error": "Broken links could not be loaded.",
677
+ "widget.brokenLinks.off": "The scheduled link check is turned off in the server configuration.",
678
+ "widget.brokenLinks.noRun": "The scheduled link check has not run yet. Results show up here after it runs.",
679
+ "widget.brokenLinks.lastRun": "Last check {date}",
680
+ "widget.brokenLinks.empty": "No broken links in the entries you can read.",
681
+ "widget.brokenLinks.count": "{count, plural, one {# broken link} other {# broken links}}",
682
+ "widget.brokenLinks.more": "More entries have broken links. {date}",
683
+ "entryPanel.openGroup": "Open “{group}” in the form first, then choose {action} again.",
684
+ "editor.reuse.reason.notAllowed": "This field does not allow this block.",
685
+ "editor.reuse.reason.unavailable": "This block type is not available in this editor.",
686
+ "editor.reuse.reason.syncedMissing": "The synced block was removed or is no longer offered.",
687
+ "editor.reuse.reason.unfixable": "This block cannot be adjusted to the settings of this field.",
688
+ "editor.reuse.loading": "Loading",
689
+ "editor.reuse.typesError": "The list of content types could not be loaded.",
690
+ "editor.reuse.noTypes": "There is no content you can read in other entries yet.",
691
+ "editor.reuse.noTypesHint": "Write and save content in another entry first, or ask an administrator for read access to it.",
692
+ "editor.reuse.searchError": "The entries could not be loaded. Try again.",
693
+ "editor.reuse.noResults": "No entries match. Try another word.",
694
+ "editor.reuse.noEntries": "There are no entries you can read here.",
695
+ "editor.reuse.results": "Entries",
696
+ "editor.reuse.untitled": "Untitled entry",
697
+ "editor.reuse.thisEntry": "This entry",
698
+ "editor.reuse.statusDraft": "Draft",
699
+ "editor.reuse.statusPublished": "Published",
700
+ "editor.reuse.more": "Showing {shown} of {total} entries. Type to narrow the list.",
701
+ "editor.reuse.type": "Content type",
702
+ "editor.reuse.locale": "Language",
703
+ "editor.reuse.clear": "Clear search",
704
+ "editor.reuse.search": "Search entries by title",
705
+ "editor.reuse.sourceError": "The content of this entry could not be loaded.",
706
+ "editor.reuse.noContent": "This entry has no saved content you can insert.",
707
+ "editor.reuse.noContentHint": "Choose another entry, or save this one with content first.",
708
+ "editor.reuse.field": "Field",
709
+ "editor.reuse.selectAll": "Select all",
710
+ "editor.reuse.selectedCount": "{count} of {total} selected",
711
+ "editor.reuse.blocked": "{count, plural, one {# block cannot} other {# blocks cannot}} be inserted into this field. The reason is shown at the block.",
712
+ "editor.reuse.blocks": "Blocks",
713
+ "editor.reuse.blockLabel": "Block {number}: {name}",
714
+ "editor.reuse.adjusted": "Adjusted to this field",
715
+ "editor.reuse.truncated": "Only the first {shown} of {total} blocks are shown.",
716
+ "editor.reuse.change": "Choose another entry",
717
+ "editor.reuse.versionHint": "Shows the entry as last saved (draft). Changes that are not saved yet are not included. The blocks are inserted after the block you worked on last.",
718
+ "editor.reuse.close": "Close",
719
+ "editor.reuse.title": "Insert from another entry",
720
+ "editor.reuse.cancel": "Cancel",
721
+ "editor.reuse.insert": "Insert {count, plural, one {# block} other {# blocks}}",
722
+ "editor.reuse.omitted.unavailable": "{count, plural, one {# block was left out} other {# blocks were left out}} because this editor has no tool for {count, plural, one {its type} other {their types}}.",
723
+ "editor.reuse.omitted.syncedMissing": "{count, plural, one {# synced block was left out} other {# synced blocks were left out}} because {count, plural, one {its source was} other {their sources were}} removed or {count, plural, one {is} other {are}} no longer offered.",
724
+ "editor.reuse.omitted.unfixable": "{count, plural, one {# block was left out} other {# blocks were left out}} because {count, plural, one {it} other {they}} could not be adjusted to the settings of this field.",
725
+ "editor.reuse.nothing": "None of these blocks can be inserted into this field.",
726
+ "editor.reuse.inserted": "{count, plural, one {# block} other {# blocks}} from {name} inserted.",
727
+ "editor.reuse.insertedPlain": "{count, plural, one {# block inserted} other {# blocks inserted}}.",
728
+ "editor.reuse.copied": "Block copied. Paste it into any Magic Editor X field.",
729
+ "editor.reuse.copyFailed": "The block could not be copied. Select it and press Ctrl+C (Cmd+C on a Mac).",
730
+ "editor.toolbar.reuse": "Insert from another entry",
731
+ "editor.reuse.copyBlock": "Copy block",
732
+ "editor.reuse.embed": "Embedded content",
733
+ "editor.quality.rule.colorContrast": "{mode, select, dark {Dark theme} other {Light theme}}: text colour / highlight {pair} has contrast {ratio}:1, below 4.5:1",
734
+ "editor.drafts.found": "Unsaved changes from {time} were found.",
735
+ "editor.drafts.conflict": "The saved content changed since then. Restoring replaces it in the editor ({count, plural, one {# block differs} other {# blocks differ}}).",
736
+ "editor.drafts.conflictPlain": "The saved content changed since then. Restoring replaces it in the editor.",
737
+ "editor.drafts.discard": "Discard",
738
+ "editor.drafts.restore": "Restore",
739
+ "editor.drafts.restored": "Changes restored. Save the entry to keep them."
638
740
  };
639
741
  exports.default = en;
@@ -523,7 +523,25 @@ const en = {
523
523
  "settings.audit.event.suggestionAccept": "Suggestion accepted",
524
524
  "settings.audit.event.suggestionReject": "Suggestion rejected",
525
525
  "settings.audit.event.suggestionWithdraw": "Suggestion withdrawn",
526
- "settings.audit.counts.outdated": "Replaced a newer version of the block"
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}'
527
545
  };
528
546
  export {
529
547
  en as default
@@ -525,6 +525,24 @@ const en = {
525
525
  "settings.audit.event.suggestionAccept": "Suggestion accepted",
526
526
  "settings.audit.event.suggestionReject": "Suggestion rejected",
527
527
  "settings.audit.event.suggestionWithdraw": "Suggestion withdrawn",
528
- "settings.audit.counts.outdated": "Replaced a newer version of the block"
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}'
529
547
  };
530
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
@@ -292,7 +292,18 @@ const en = {
292
292
  "tools.names.gallery": "Gallery",
293
293
  "tools.names.video": "Video",
294
294
  "tools.names.audio": "Audio",
295
- "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"
296
307
  };
297
308
  export {
298
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
@@ -292,7 +292,18 @@ const es = {
292
292
  "tools.names.gallery": "Galería",
293
293
  "tools.names.video": "Vídeo",
294
294
  "tools.names.audio": "Audio",
295
- "tools.hyperlink.internalOnly": "Elija una entrada con «Enlazar a una entrada»"
295
+ "tools.hyperlink.internalOnly": "Elija una entrada con «Enlazar a una entrada»",
296
+ "tools.names.color": "Color",
297
+ "tools.names.superscript": "Superíndice",
298
+ "tools.names.subscript": "Subíndice",
299
+ "tools.names.abbreviation": "Abreviatura",
300
+ "tools.color.text": "Texto",
301
+ "tools.color.highlight": "Resaltado",
302
+ "tools.color.remove": "Quitar el color",
303
+ "tools.annotation.apply": "Aplicar",
304
+ "tools.annotation.remove": "Quitar",
305
+ "tools.annotation.required": "Complete los campos obligatorios.",
306
+ "tools.annotation.fullForm": "Forma completa"
296
307
  };
297
308
  export {
298
309
  es as default