diff --git a/src/electron-main.ts b/src/electron-main.ts index 4ee2b37..0805ef5 100644 --- a/src/electron-main.ts +++ b/src/electron-main.ts @@ -247,7 +247,9 @@ const warnBeforeExit = (event: Event, input: Input): void => { if (shouldWarnBeforeExit && exitShortcutPressed) { const shouldCancelCloseRequest = dialog.showMessageBoxSync(global.mainWindow, { type: "question", - buttons: [_t("Cancel"), _t("Close Element")], + buttons: [_t("Cancel"), _t("Close %(brand)s", { + brand: global.vectorConfig.brand || 'Element', + })], message: _t("Are you sure you want to quit?"), defaultId: 1, cancelId: 0, diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 0f193de..182b06e 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1,6 +1,6 @@ { "Cancel": "Cancel", - "Close Element": "Close Element", + "Close %(brand)s": "Close %(brand)s", "Are you sure you want to quit?": "Are you sure you want to quit?", "Show/Hide": "Show/Hide", "Quit": "Quit",