Replace hardcoded strings

This commit is contained in:
kyw504100 2022-02-08 14:43:52 +08:00
parent c5211d8774
commit 0036818920
No known key found for this signature in database
GPG key ID: 9116E2159A0521FD

View file

@ -2284,7 +2284,7 @@ const app = new Vue({
this.mk.addToLibrary(id).then((data) => {
self.getLibrarySongsFull(true)
})
notyf.success('Added to library.');
notyf.success(app.getLz('action.addToLibrary.success'));
},
removeFromLibrary(kind, id) {
let self = this
@ -2296,7 +2296,7 @@ const app = new Vue({
}).then((data) => {
self.getLibrarySongsFull(true)
})
notyf.success('Removed from library.')
notyf.success(app.getLz('action.removeFromLibrary.success'))
},
async losslessBadge() {