localisation for mediaitem context menu
This commit is contained in:
parent
8c4bc623f0
commit
afcdf0a7ac
1 changed files with 10 additions and 10 deletions
|
@ -320,7 +320,7 @@
|
|||
{
|
||||
"icon": "./assets/feather/heart.svg",
|
||||
"id": "love",
|
||||
"name": "Love",
|
||||
"name": app.getLz("action.love"),
|
||||
"hidden": false,
|
||||
"disabled": true,
|
||||
"action": function() {
|
||||
|
@ -331,7 +331,7 @@
|
|||
"icon": "./assets/feather/heart.svg",
|
||||
"id": "unlove",
|
||||
"active": true,
|
||||
"name": "Unlove",
|
||||
"name": app.getLz("action.unlove"),
|
||||
"hidden": true,
|
||||
"action": function() {
|
||||
app.unlove(self.item)
|
||||
|
@ -340,7 +340,7 @@
|
|||
{
|
||||
"icon": "./assets/feather/thumbs-down.svg",
|
||||
"id": "dislike",
|
||||
"name": "Dislike",
|
||||
"name": app.getLz("action.dislike"),
|
||||
"hidden": false,
|
||||
"disabled": true,
|
||||
"action": function() {
|
||||
|
@ -350,7 +350,7 @@
|
|||
{
|
||||
"icon": "./assets/feather/thumbs-down.svg",
|
||||
"id": "undo_dislike",
|
||||
"name": "Undo dislike",
|
||||
"name": app.getLz("action.undoDislike"),
|
||||
"active": true,
|
||||
"hidden": true,
|
||||
"action": function() {
|
||||
|
@ -362,7 +362,7 @@
|
|||
{
|
||||
"icon": "./assets/feather/list.svg",
|
||||
"id": "addToPlaylist",
|
||||
"name": "Add to Playlist...",
|
||||
"name": app.getLz("action.addToPlaylist") + " ...",
|
||||
"action": function() {
|
||||
app.promptAddToPlaylist()
|
||||
}
|
||||
|
@ -370,7 +370,7 @@
|
|||
{
|
||||
"id": "addToLibrary",
|
||||
"icon": "./assets/feather/plus.svg",
|
||||
"name": "Add to library",
|
||||
"name": app.getLz("action.addToLibrary") + " ...",
|
||||
"hidden": false,
|
||||
"disabled": true,
|
||||
"action": function() {
|
||||
|
@ -383,7 +383,7 @@
|
|||
{
|
||||
"id": "removeFromLibrary",
|
||||
"icon": "./assets/feather/x-circle.svg",
|
||||
"name": "Remove from library",
|
||||
"name": app.getLz("action.removeFromLibrary"),
|
||||
"hidden": true,
|
||||
"action": async function() {
|
||||
console.log("remove");
|
||||
|
@ -394,7 +394,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "Play Next",
|
||||
"name": app.getLz("action.playNext"),
|
||||
"icon": "./assets/arrow-bend-up.svg",
|
||||
"action": function() {
|
||||
app.mk.playNext({ [self.item.attributes.playParams.kind ?? self.item.type]: self.item.attributes.playParams.id ?? self.item.id })
|
||||
|
@ -403,7 +403,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "Play Later",
|
||||
"name": app.getLz("action.playLater"),
|
||||
"icon": "./assets/arrow-bend-down.svg",
|
||||
"action": function() {
|
||||
app.mk.playLater({ [self.item.attributes.playParams.kind ?? self.item.type]: self.item.attributes.playParams.id ?? self.item.id })
|
||||
|
@ -413,7 +413,7 @@
|
|||
},
|
||||
{
|
||||
"icon": "./assets/feather/share.svg",
|
||||
"name": "Share",
|
||||
"name": app.getLz("action.share"),
|
||||
"action": function() {
|
||||
self.app.copyToClipboard(self.item.attributes.url)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue