discogs_importer: fix a few country labels used by Discogs

Fixes #166
This commit is contained in:
Aurélien Mino 2018-07-14 12:34:28 +02:00 committed by GitHub
parent a30940eb17
commit bfa06b6bb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
// @name Import Discogs releases to MusicBrainz // @name Import Discogs releases to MusicBrainz
// @description Add a button to import Discogs releases to MusicBrainz and add links to matching MusicBrainz entities for various Discogs entities (artist,release,master,label) // @description Add a button to import Discogs releases to MusicBrainz and add links to matching MusicBrainz entities for various Discogs entities (artist,release,master,label)
// @version 2018.3.7.1 // @version 2018.7.14.1
// @namespace http://userscripts.org/users/22504 // @namespace http://userscripts.org/users/22504
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js // @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js // @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js
@ -923,7 +923,7 @@ var Countries = {
"Lithuania": "LT", "Lithuania": "LT",
"Luxembourg": "LU", "Luxembourg": "LU",
"Montserrat": "MS", "Montserrat": "MS",
"Macedonia, The Former Yugoslav Republic of": "MK", "Macedonia": "MK",
"Madagascar": "MG", "Madagascar": "MG",
"Malawi": "MW", "Malawi": "MW",
"Malaysia": "MY", "Malaysia": "MY",
@ -1003,7 +1003,7 @@ var Countries = {
"Togo": "TG", "Togo": "TG",
"Tokelau": "TK", "Tokelau": "TK",
"Tonga": "TO", "Tonga": "TO",
"Trinidad and Tobago": "TT", "Trinidad & Tobago": "TT",
"Tunisia": "TN", "Tunisia": "TN",
"Turkey": "TR", "Turkey": "TR",
"Turkmenistan": "TM", "Turkmenistan": "TM",
@ -1028,12 +1028,12 @@ var Countries = {
"Taiwan": "TW", "Taiwan": "TW",
"[Worldwide]": "XW", "[Worldwide]": "XW",
"Europe": "XE", "Europe": "XE",
"Soviet Union (historical, 1922-1991)": "SU", "USSR": "SU",
"East Germany (historical, 1949-1990)": "XG", "East Germany (historical, 1949-1990)": "XG",
"Czechoslovakia (historical, 1918-1992)": "XC", "Czechoslovakia": "XC",
"Congo, The Democratic Republic of the": "CD", "Congo, Republic of the": "CD",
"Slovakia": "SK", "Slovakia": "SK",
"Bosnia and Herzegovina": "BA", "Bosnia & Herzegovina": "BA",
"Korea (North), Democratic People's Republic of": "KP", "Korea (North), Democratic People's Republic of": "KP",
"North Korea": "KP", "North Korea": "KP",
"Korea (South), Republic of": "KR", "Korea (South), Republic of": "KR",
@ -1051,8 +1051,8 @@ var Countries = {
"Saint Barthélemy": "BL", "Saint Barthélemy": "BL",
"Saint Martin": "MF", "Saint Martin": "MF",
"Moldova": "MD", "Moldova": "MD",
"Yugoslavia (historical, 1918-2003)": "YU", "Yugoslavia": "YU",
"Serbia and Montenegro (historical, 2003-2006)": "CS", "Serbia and Montenegro": "CS",
"Côte d'Ivoire": "CI", "Côte d'Ivoire": "CI",
"Heard Island and McDonald Islands": "HM", "Heard Island and McDonald Islands": "HM",
"Iran, Islamic Republic of": "IR", "Iran, Islamic Republic of": "IR",