Irregular update 08/02 (#378)

This commit is contained in:
KaHim Chan 2022-02-08 23:45:59 +08:00 committed by GitHub
parent 0161a6063a
commit 7230ecb080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 617 additions and 472 deletions

View file

@ -272,7 +272,7 @@ const app = new Vue({
},
methods: {
songLinkShare(amUrl) {
notyf.open({type: "info", message: "Getting song.link share URL..."})
notyf.open({type: "info", message: app.getLz('term.song.link.generate')})
let self = this
httpRequest = new XMLHttpRequest();
httpRequest.open('GET', `https://api.song.link/v1-alpha.1/links?url=${amUrl}&userCountry=US`, true);
@ -285,7 +285,7 @@ const app = new Vue({
self.copyToClipboard(response.pageUrl)
} else {
console.log('There was a problem with the request.');
notyf.error("There was a problem with the request.")
notyf.error(app.getLz('term.requestError'))
}
}
}
@ -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() {

View file

@ -87,6 +87,12 @@
role: app.getLz('term.developer'),
avatar: 'https://avatars.githubusercontent.com/u/27716185?v=4'
},
{
name: 'Maikiwi',
link: 'https://github.com/maikirakiwi',
role: app.getLz('term.developer'),
avatar: 'https://avatars.githubusercontent.com/u/74925636?v=4'
},
{
name: 'Void',
link: 'https://twitter.com/MoonyVoid',

View file

@ -824,7 +824,7 @@
if (app.cfg.advanced.ciderPPE) {
if (app.cfg.audio.spatial) {
app.cfg.advanced.ciderPPE = false;
notyf.error("CAP is not compatible with Spatialization. Please disable Spatialization to continue.")
notyf.error(app.getLz('settings.warn.audio.enableAdvancedFunctionality.ciderPPE.compatibility'))
}
}
},
@ -836,7 +836,7 @@
else {
CiderAudio.spatialOff()
app.cfg.audio.spatial = false;
notyf.error("Spatialization is not compatible with CAP. Please disable CAP to continue.")
notyf.error(app.getLz('settings.warn.audio.enableAdvancedFunctionality.audioSpatialization.compatibility'))
}
} else {
CiderAudio.spatialOff()