Skip to content

Commit 980b6a0

Browse files
committed
Use the language variable “MENU_BAR_MENU_INSERT” for “Insert”
See https://www.woltlab.com/community/thread/308215-englischer-text-im-editor/
1 parent 6086630 commit 980b6a0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/ckeditor5-woltlab-block-quote/src/ui/woltlabblockquotepanelview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class WoltlabBlockQuotePanelView extends View {
168168
const buttonView = new ButtonView(locale);
169169

170170
buttonView.set({
171-
label: t("Insert"),
171+
label: t("MENU_BAR_MENU_INSERT"),
172172
icon: icons.check,
173173
class: "ck-button-save",
174174
type: "submit",

plugins/ckeditor5-woltlab-code-block/src/ui/woltlabcodeblockpanelview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export class WoltlabCodeBlockPanelView extends View {
257257
const buttonView = new ButtonView(locale);
258258

259259
buttonView.set({
260-
label: t("Insert"),
260+
label: t("MENU_BAR_MENU_INSERT"),
261261
icon: icons.check,
262262
class: "ck-button-save",
263263
type: "submit",

plugins/ckeditor5-woltlab-code-block/src/woltlabcodeblock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class WoltlabCodeBlock extends Plugin {
150150
view.file = "";
151151
view.highlighter = "";
152152
view.line = "";
153-
view.insertButtonLabel = t("Insert");
153+
view.insertButtonLabel = t("MENU_BAR_MENU_INSERT");
154154
}
155155
}
156156
});

0 commit comments

Comments
 (0)