Skip to content

Commit

Permalink
Use the language variable “MENU_BAR_MENU_INSERT” for “Insert”
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Sep 16, 2024
1 parent 6086630 commit 980b6a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class WoltlabBlockQuotePanelView extends View {
const buttonView = new ButtonView(locale);

buttonView.set({
label: t("Insert"),
label: t("MENU_BAR_MENU_INSERT"),
icon: icons.check,
class: "ck-button-save",
type: "submit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export class WoltlabCodeBlockPanelView extends View {
const buttonView = new ButtonView(locale);

buttonView.set({
label: t("Insert"),
label: t("MENU_BAR_MENU_INSERT"),
icon: icons.check,
class: "ck-button-save",
type: "submit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class WoltlabCodeBlock extends Plugin {
view.file = "";
view.highlighter = "";
view.line = "";
view.insertButtonLabel = t("Insert");
view.insertButtonLabel = t("MENU_BAR_MENU_INSERT");
}
}
});
Expand Down

0 comments on commit 980b6a0

Please sign in to comment.