Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
i18n(ckeditor5): finish calling every bookmark an anchor
Elian Doran5a1979e9e93b
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex 0f44de05f6..59fa3a3c6f 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -3577,6 +3577,7 @@"anchor-name-cannot-contain-space-characters": "Anchor name cannot contain space characters.","anchor-name-must-not-be-empty": "Anchor name must not be empty.","anchor-toolbar": "Anchor toolbar",+ "anchor-widget": "anchor widget","anchors": "Anchors","box-size": "Box size","bulleted-list": "Bulleted list",@@ -3656,6 +3657,7 @@"mermaid-widget": "Mermaid widget","missing-definition": "(missing definition)","new-footnote": "New footnote",+ "no-anchors-available": "No anchors available.","no-text-snippets-available": "No text snippets available.","no-text-snippets-were-found-matching-0": "No text snippets were found matching \"%0\".","note": "Note",@@ -3665,7 +3667,9 @@"preview": "Preview","quote-a-passage-from-another-source": "Quote a passage from another source.","read-more-about-mermaid-diagram-syntax": "Read more about Mermaid diagram syntax",+ "remove-anchor": "Remove anchor","right-click-or-press-0-to-change-state": "Right-click or press %0 to change state.",+ "scroll-to-anchor": "Scroll to anchor","search-text-snippet": "Search text snippet","select-collapsible-block": "Select collapsible block","source-view": "Source view",diff --git a/packages/ckeditor5/src/messages.ts b/packages/ckeditor5/src/messages.tsindex 07ebec359c..9e7a054cb8 100644--- a/packages/ckeditor5/src/messages.ts+++ b/packages/ckeditor5/src/messages.ts@@ -59,8 +59,12 @@ export const MESSAGE_OVERRIDES: Record<string, string> = {"Bookmark name already exists.": "Anchor name already exists.","Bookmark name cannot contain space characters.": "Anchor name cannot contain space characters.","Edit bookmark": "Edit anchor",+ "Remove bookmark": "Remove anchor","Enter the bookmark name without spaces.": "Enter the anchor name without spaces.",- "Bookmark toolbar": "Anchor toolbar"+ "Bookmark toolbar": "Anchor toolbar",+ "bookmark widget": "anchor widget",+ "No bookmarks available.": "No anchors available.",+ "Scroll to bookmark": "Scroll to anchor"};/**