Fix formatting of edit notes

This commit is contained in:
loujine 2020-09-12 23:50:27 +00:00 committed by Aurélien Mino
parent bc52aba5e5
commit 531bd8344a
2 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
// @name Import Naxos Music Library 3 releases to MusicBrainz // @name Import Naxos Music Library 3 releases to MusicBrainz
// @namespace https://github.com/murdos/musicbrainz-userscripts // @namespace https://github.com/murdos/musicbrainz-userscripts
// @author loujine // @author loujine
// @version 2020.8.28 // @version 2020.9.12
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library3_importer.user.js // @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library3_importer.user.js
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library3_importer.user.js // @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library3_importer.user.js
// @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png // @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png
@ -24,10 +24,10 @@ this.$ = this.jQuery = jQuery.noConflict(true);
const url = document.URL.replace(/\/[^/].*nml3/, '/www.nml3'); const url = document.URL.replace(/\/[^/].*nml3/, '/www.nml3');
const editNote = ` const editNote = `
Imported from ${url} Imported from ${url}
Warning: Track durations from Naxos Music Library can seldom be incorrect Warning: Track durations from Naxos Music Library can seldom be incorrect
GM script: "${GM_info.script.name}" (${GM_info.script.version}) GM script: "${GM_info.script.name}" (${GM_info.script.version})
`; `;
const months = { const months = {

View file

@ -3,7 +3,7 @@
// @name Import Naxos Music Library releases to MusicBrainz // @name Import Naxos Music Library releases to MusicBrainz
// @namespace https://github.com/murdos/musicbrainz-userscripts // @namespace https://github.com/murdos/musicbrainz-userscripts
// @author loujine // @author loujine
// @version 2020.8.28 // @version 2020.9.12
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library_importer.user.js // @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library_importer.user.js
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library_importer.user.js // @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/naxos_library_importer.user.js
// @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png // @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png
@ -23,10 +23,10 @@ this.$ = this.jQuery = jQuery.noConflict(true);
const url = document.URL.replace(/\/[^/].*naxos/, '/www.naxos'); const url = document.URL.replace(/\/[^/].*naxos/, '/www.naxos');
const editNote = ` const editNote = `
Imported from ${url} Imported from ${url}
Warning: Track durations from Naxos Music Library can seldom be incorrect Warning: Track durations from Naxos Music Library can seldom be incorrect
GM script: "${GM_info.script.name}" (${GM_info.script.version}) GM script: "${GM_info.script.name}" (${GM_info.script.version})
`; `;
const months = { const months = {