From 0227a18d545977b91c8dce157512cec6446b8d0d Mon Sep 17 00:00:00 2001 From: N0chteil <53608074+N0chteil@users.noreply.github.com> Date: Sat, 5 Feb 2022 12:52:25 +0100 Subject: [PATCH] Update app.ts In some languages, "Cider" cannot be placed at the end --- src/main/base/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/base/app.ts b/src/main/base/app.ts index 908f93e0..b6415152 100644 --- a/src/main/base/app.ts +++ b/src/main/base/app.ts @@ -264,7 +264,7 @@ export class AppEvents { const menu = Menu.buildFromTemplate([ { - label: (visible ? this.i18n['action.tray.minimize'] : `${this.i18n['action.tray.show']} ${app.getName()}`), + label: (visible ? this.i18n['action.tray.minimize'] : this.i18n['action.tray.show'].includes("{appName}") ? `${this.i18n['action.tray.show'].replace("{appName}", app.getName())}` : `${this.i18n['action.tray.show']} ${app.getName()}`), click: () => { if (utils.getWindow()) { if (visible) {