add i18n to many items
This commit is contained in:
parent
a0c1d3ffcd
commit
d873913481
27 changed files with 141 additions and 119 deletions
|
@ -105,7 +105,7 @@
|
|||
let menu = {
|
||||
items: {
|
||||
"moveToParent": {
|
||||
name: "Move to top",
|
||||
name: app.getLz('action.moveToTop'),
|
||||
action: () => {
|
||||
let self = this
|
||||
this.move(this.item, {
|
||||
|
@ -116,7 +116,7 @@
|
|||
}
|
||||
},
|
||||
"rename": {
|
||||
name: "Rename",
|
||||
name: app.getLz('action.rename'),
|
||||
action: () => {
|
||||
this.renaming = true
|
||||
setTimeout(()=>{
|
||||
|
@ -126,13 +126,13 @@
|
|||
}
|
||||
},
|
||||
"deleteFromPlaylist": {
|
||||
name: "Delete from library",
|
||||
name: app.getLz('action.removeFromLibrary'),
|
||||
action: () => {
|
||||
this.$root.deletePlaylist(playlist_id)
|
||||
}
|
||||
},
|
||||
"addToFavorites": {
|
||||
name: "Add to favorites",
|
||||
name: app.getLz('action.addToFavorites'),
|
||||
disabled: true,
|
||||
hidden: true,
|
||||
action: () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue