Update app.ts
In some languages, "Cider" cannot be placed at the end
This commit is contained in:
parent
65673dec7a
commit
0227a18d54
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue