commit
7fa9e4e392
4 changed files with 66 additions and 2 deletions
|
@ -375,7 +375,7 @@ Update 12/05/2022 22:50 UTC
|
||||||
* `settings.option.audio.dbspl.display`: Added for `en_US`,
|
* `settings.option.audio.dbspl.display`: Added for `en_US`,
|
||||||
* `settings.option.audio.dbspl.description`: Added for `en_US`,
|
* `settings.option.audio.dbspl.description`: Added for `en_US`,
|
||||||
* `settings.option.audio.dbfs.calibration`: Added for `en_US`,
|
* `settings.option.audio.dbfs.calibration`: Added for `en_US`,
|
||||||
* `settings.option.audio.dbfs.description`: Added for `en_US`
|
* `settings.option.audio.dbfs.description`: Added for `en_US`,
|
||||||
|
|
||||||
Update 14/05/2022 02:00 UTC
|
Update 14/05/2022 02:00 UTC
|
||||||
|
|
||||||
|
@ -386,4 +386,11 @@ Update 14/05/2022 02:00 UTC
|
||||||
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.E68_2`: Added for `en_US`,
|
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.E68_2`: Added for `en_US`,
|
||||||
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.E168_1`: Added for `en_US`,
|
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.E168_1`: Added for `en_US`,
|
||||||
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.Z3600`: Added for `en_US`,
|
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.Z3600`: Added for `en_US`,
|
||||||
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.Z8500`: Added for `en_US`
|
* `settings.option.audio.enableAdvancedFunctionality.atmosphereRealizerMode.Z8500`: Added for `en_US`,
|
||||||
|
|
||||||
|
|
||||||
|
Update 18/05/2022 14:20 UTC
|
||||||
|
|
||||||
|
* `action.tray.playpause`: Added for `en_US`,
|
||||||
|
* `action.tray.next`: Added for `en_US`,
|
||||||
|
* `action.tray.previous`: Added for `en_US`,
|
|
@ -257,6 +257,10 @@
|
||||||
"action.tray.minimize": "Minimize to Tray",
|
"action.tray.minimize": "Minimize to Tray",
|
||||||
"action.tray.quit": "Quit",
|
"action.tray.quit": "Quit",
|
||||||
"action.tray.show": "Show Cider",
|
"action.tray.show": "Show Cider",
|
||||||
|
"action.tray.playpause": "Play/Pause",
|
||||||
|
"action.tray.next": "Next",
|
||||||
|
"action.tray.previous": "Previous",
|
||||||
|
"action.tray.listento": "Listen To:",
|
||||||
"action.update": "Update",
|
"action.update": "Update",
|
||||||
"action.install": "Install",
|
"action.install": "Install",
|
||||||
"action.copy": "Copy",
|
"action.copy": "Copy",
|
||||||
|
|
|
@ -257,6 +257,9 @@
|
||||||
"action.tray.minimize": "Minimize to Tray",
|
"action.tray.minimize": "Minimize to Tray",
|
||||||
"action.tray.quit": "Quit",
|
"action.tray.quit": "Quit",
|
||||||
"action.tray.show": "Show Cider",
|
"action.tray.show": "Show Cider",
|
||||||
|
"action.tray.playpause": "Play/Pause",
|
||||||
|
"action.tray.next": "Next",
|
||||||
|
"action.tray.previous": "Previous",
|
||||||
"action.update": "Update",
|
"action.update": "Update",
|
||||||
"action.install": "Install",
|
"action.install": "Install",
|
||||||
"action.copy": "Copy",
|
"action.copy": "Copy",
|
||||||
|
|
|
@ -299,6 +299,56 @@ export class AppEvents {
|
||||||
this.i18n = utils.getLocale(utils.getStoreValue('general.language'))
|
this.i18n = utils.getLocale(utils.getStoreValue('general.language'))
|
||||||
|
|
||||||
const menu = Menu.buildFromTemplate([
|
const menu = Menu.buildFromTemplate([
|
||||||
|
|
||||||
|
{
|
||||||
|
label: app.getName(),
|
||||||
|
enabled: false,
|
||||||
|
icon: path.join(__dirname, `../../resources/icons/icon.png`),
|
||||||
|
},
|
||||||
|
|
||||||
|
{type: 'separator'},
|
||||||
|
|
||||||
|
/* For now only idea i dont know if posible to implement
|
||||||
|
{
|
||||||
|
label: this.i18n['action.tray.listento'],
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
visible: visible,
|
||||||
|
label: 'track info',
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
|
||||||
|
{type: 'separator'},
|
||||||
|
*/
|
||||||
|
|
||||||
|
{
|
||||||
|
visible: (visible === false),
|
||||||
|
label: this.i18n['action.tray.playpause'],
|
||||||
|
click: () => {
|
||||||
|
utils.getWindow().webContents.executeJavaScript('MusicKitInterop.playPause()')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
visible: (visible === false),
|
||||||
|
label: this.i18n['action.tray.next'],
|
||||||
|
click: () => {
|
||||||
|
utils.getWindow().webContents.executeJavaScript(`MusicKitInterop.next()`)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
visible: (visible === false),
|
||||||
|
label: this.i18n['action.tray.previous'],
|
||||||
|
click: () => {
|
||||||
|
utils.getWindow().webContents.executeJavaScript(`MusicKitInterop.previous()`)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{type: 'separator'},
|
||||||
|
|
||||||
{
|
{
|
||||||
label: (visible ? this.i18n['action.tray.minimize'] : `${this.i18n['action.tray.show']}`),
|
label: (visible ? this.i18n['action.tray.minimize'] : `${this.i18n['action.tray.show']}`),
|
||||||
click: () => {
|
click: () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue