Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 93f544a

Browse files
committed
feat(text-snippets): rewrite CKEditor translations
1 parent 9c80ab2 commit 93f544a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/ckeditor5/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import "ckeditor5/ckeditor5.css";
22
import "./theme/code_block_toolbar.css";
33
import { COMMON_PLUGINS, CORE_PLUGINS, POPUP_EDITOR_PLUGINS } from "./plugins";
44
import { BalloonEditor, DecoupledEditor, FindAndReplaceEditing, FindCommand } from "ckeditor5";
5+
import "./translation_overrides.js";
56
export { EditorWatchdog } from "ckeditor5";
67
export type { EditorConfig, MentionFeed, MentionFeedObjectItem, Node, Position, Element, WatchdogConfig } from "ckeditor5";
78
export type { TemplateDefinition } from "ckeditor5-premium-features";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
window.CKEDITOR_TRANSLATIONS = {
2+
en: {
3+
dictionary: {
4+
"Insert template": "Insert text snippet",
5+
"Search template": "Search text snippet"
6+
}
7+
}
8+
};

0 commit comments

Comments
 (0)