Update app.ts

In some languages, "Cider" cannot be placed at the end
This commit is contained in:
N0chteil 2022-02-05 12:52:25 +01:00
parent 65673dec7a
commit 0227a18d54

View file

@ -264,7 +264,7 @@ export class AppEvents {
const menu = Menu.buildFromTemplate([ 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: () => { click: () => {
if (utils.getWindow()) { if (utils.getWindow()) {
if (visible) { if (visible) {