Cider Strings RE-Work

This commit is contained in:
Mefsaal 2022-04-29 21:47:05 -03:00
parent cd9f245d21
commit b33cf304a7

View file

@ -3,6 +3,7 @@ import {utils} from "../base/utils";
export default class Thumbar { export default class Thumbar {
private i18n: any = undefined;
/** /**
* Base Plugin Details (Eventually implemented into a GUI in settings) * Base Plugin Details (Eventually implemented into a GUI in settings)
*/ */
@ -22,23 +23,23 @@ export default class Thumbar {
label: app.getName(), label: app.getName(),
submenu: [ submenu: [
{ {
label: 'About', label: utils.getLocale('About', 'menubar.options.about'),
click: () => utils.getWindow().webContents.executeJavaScript(`app.appRoute('about')`) click: () => utils.getWindow().webContents.executeJavaScript(`app.appRoute('about')`)
}, },
{type: 'separator'}, {type: 'separator'},
{ {
label: 'Settings', label: utils.getLocale('Settings', 'menubar.options.settings'),
accelerator: utils.getStoreValue("general.keybindings.settings").join('+'), accelerator: utils.getStoreValue("general.keybindings.settings").join('+'),
click: () => utils.getWindow().webContents.executeJavaScript(`app.appRoute('settings')`) click: () => utils.getWindow().webContents.executeJavaScript(`app.appRoute('settings')`)
}, },
{type: 'separator'}, {type: 'separator'},
{role: 'services'}, {role: 'services', label: utils.getLocale('services', 'menubar.options.services')},
{type: 'separator'}, {type: 'separator'},
{role: 'hide'}, {role: 'hide', label: utils.getLocale('hide', 'menubar.options.hide')},
{role: 'hideOthers'}, {role: 'hideOthers', label: utils.getLocale('hideOthers', 'menubar.options.hideothers')},
{role: 'unhide'}, {role: 'unhide', label: utils.getLocale('unhide', 'menubar.options.unhide')},
{type: 'separator'}, {type: 'separator'},
{role: 'quit'} {role: 'quit', label: utils.getLocale('quit', 'menubar.options.quit')}
] ]
}, },
{ {