Skip to content

Commit

Permalink
Update mbz-loujine-common.js (#98)
Browse files Browse the repository at this point in the history
update list of locales
  • Loading branch information
ApeKattQuest-MonkeyPython authored and loujine committed Nov 26, 2024
1 parent 9980647 commit 44f810f
Showing 1 changed file with 129 additions and 101 deletions.
230 changes: 129 additions & 101 deletions mbz-loujine-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,107 +201,135 @@ class Server {
zxx: '[No lyrics]',
};
this.locale = {
'Afrikaans': 'af',
'Azerbaijani': 'az',
'Albanian': 'sq',
'Amharic': 'am',
'Arabic': 'ar',
'Armenian': 'hy',
'Asturian': 'ast',
'Bengali/Bangla': 'bn',
'Basque': 'eu',
'Belarusian': 'be',
'Bosnian': 'bs',
'Breton': 'br',
'Bulgarian': 'bg',
'Burmese': 'my',
'Cantonese': 'yue',
'Catalan': 'ca',
'Central Kurdish/Sorani': 'ckb',
'Chinese': 'zh',
'Chinese Hong Kong SAR China Traditional': 'zh_Hant_HK',
'Chinese Simplified': 'zh_Hans',
'Chinese Singapore Simplified': 'zh_Hans_SG',
'Chinese Taiwan Traditional': 'zh_Hant_TW',
'Chinese Traditional': 'zh_Hant',
'Croatian': 'hr',
'Czech': 'cs',
'Danish': 'da',
'Dutch': 'nl',
'English': 'en',
'Esperanto': 'eo',
'Estonian': 'et',
'Faroese': 'fo',
'Filipino': 'fil',
'Finnish': 'fi',
'French': 'fr',
'Galician': 'gl',
'Georgian': 'ka',
'German': 'de',
'Greek': 'el',
'Gujarati': 'gu',
'Hawai’ian': 'haw',
'Hebrew': 'he',
'Hindi': 'hi',
'Hungarian': 'hu',
'Icelandic': 'is',
'Indonesian': 'id',
'Interlingua': 'ia',
'Irish': 'ga',
'Italian': 'it',
'Japanese': 'ja',
'Javanese': 'jv',
'Kannada': 'kn',
'Kazakh': 'kk',
'Khmer (Central)': 'km',
'Korean': 'ko',
'Kyrgyz': 'ky',
'Latvian': 'lv',
'Lithuanian': 'lt',
'Low German': 'nds',
'Luxembourgish': 'lb',
'Macedonian': 'mk',
'Malay': 'ms',
'Malayam': 'ml',
'Māori': 'mi',
'Marathi': 'mr',
'Mongolian': 'mn',
'Nepali': 'ne',
'Norwegian Bokmål': 'nb',
'Norwegian Nynorsk': 'nn',
'Occitan': 'oc',
'Persian (Farsi)': 'fa',
'Polish': 'pl',
'Portuguese': 'pt',
'Punjabi': 'pa',
'Quechua': 'qu',
'Romanian': 'ro',
'Russian': 'ru',
'Scottish Gaelic': 'gd',
'Serbian': 'sr',
'Serbo-Croatian': 'sh',
'Sinhala': 'si',
'Slovakian': 'sk',
'Slovenian': 'sl',
'Somali': 'so',
'Spanish': 'es',
'Swahili': 'sw',
'Swedish': 'sv',
'Tamil': 'ta',
'Tajik': 'tg',
'Telugu': 'te',
'Thai': 'th',
'Turkish': 'tr',
'Urdu': 'ur',
'Ukrainian': 'uk',
'Uyghur': 'ug',
'Uzbek': 'uz',
'Vietnamese': 'vi',
'Welsh (Cymric)': 'cy',
'Western Frisian': 'fy',
'Yiddish': 'yi',
'Yoruba': 'yo',
'Zulu': 'zu',
'Afrikaans': 'af',
'Albanian': 'sq',
'Amharic': 'am',
'Arab in Egypt': 'arz',
'Arabic': 'ar',
'Aragonese': 'an',
'Armenian': 'hy',
'Asturian': 'ast',
'Azerbaijani': 'az',
'Bangla': 'bn',
'Bashkir': 'ba',
'Basque': 'eu',
'Belarusian': 'be',
'Bosnian': 'bs',
'Breton': 'br',
'Bulgarian': 'bg',
'Burmese': 'my',
'Cantonese': 'yue',
'Catalan': 'ca',
'Central Kurdish/Sorani': 'ckb',
'Cherokee': 'chr',
'Chinese Hong Kong SAR China Traditional': 'zh_Hant_HK',
'Chinese Simplified': 'zh_Hans',
'Chinese Singapore Simplified': 'zh_Hans_SG',
'Chinese Taiwan Traditional': 'zh_Hant_TW',
'Chinese Traditional': 'zh_Hant',
'Chinese': 'zh',
'Chuvash': 'cv',
'Corsican': 'co',
'Croatian': 'hr',
'Czech': 'cs',
'Danish': 'da',
'Dutch': 'nl',
'English': 'en',
'Esperanto': 'eo',
'Estonian': 'et',
'Faroese': 'fo',
'Filipino': 'fil',
'Finnish': 'fi',
'French': 'fr',
'Galician': 'gl',
'Georgian': 'ka',
'German': 'de',
'Greek': 'el',
'Guarani': 'gn',
'Gujarati': 'gu',
'Hawai’ian': 'haw',
'Hebrew': 'he',
'Hindi': 'hi',
'Hungarian': 'hu',
'Icelandic': 'is',
'Ido': 'io',
'Indonesian': 'id',
'Interlingua': 'ia',
'Irish': 'ga',
'Italian': 'it',
'Japanese': 'ja',
'Javanese': 'jv',
'Kannada': 'kn',
'Kazakh': 'kk',
'Khmer': 'km',
'Korean': 'ko',
'Kyrgyz': 'ky',
'Latin': 'la',
'Latvian': 'lv',
'Ligurian': 'lij',
'Lithuanian': 'lt',
'Lombard': 'lmo',
'Low German': 'nds',
'Lule Sami': 'smj',
'Luxembourgish': 'lb',
'Māori': 'mi',
'Macedonian': 'mk',
'Maithili': 'mai',
'Malay': 'ms',
'Malayalam': 'ml',
'Manx': 'gv',
'Marathi': 'mr',
'Mongolian': 'mn',
'Nepali': 'ne',
'Norwegian Bokmål': 'nb',
'Norwegian Nynorsk': 'nn',
'Norwegian': 'no',
'Occitan': 'oc',
'Persian': 'fa',
'Polish': 'pl',
'Portuguese': 'pt',
'Punjabi': 'pa',
'Quechua': 'qu',
'Romanian': 'ro',
'Romansh': 'rm',
'Russian': 'ru',
'Sanskrit': 'sa',
'Sardinian': 'sc',
'Scottish Gaelic': 'gd',
'Serbian': 'sr',
'Sicilian': 'scn',
'Silesian': 'slz',
'Sinhala': 'si',
'Skolt Sami': 'sms',
'Slovak': 'sk',
'Slovenian': 'sl',
'Somali': 'so',
'Southern Kurdish': 'sdh',
'Southern Sami': 'sma',
'Spanish': 'es',
'Sundanese Latin': 'su_Latn',
'Sundanese': 'su',
'Swahili': 'sw',
'Swedish': 'sv',
'Tajik': 'tg',
'Tamil': 'ta',
'Tatar': 'tt',
'Telugu': 'te',
'Thai': 'th',
'Tok Pisin': 'tpi',
'Turkish': 'tr',
'Ukrainian': 'uk',
'Urdu': 'ur',
'Uyghur': 'ug',
'Uzbek': 'uz',
'Venetian': 'vec',
'Vietnamese': 'vi',
'Wallon': 'wa',
'Welsh': 'cy',
'Western Frisian': 'fy',
'Yiddish': 'yi',
'Yoruba': 'yo',
'Zulu': 'zu',
};
this.workKeyAttr = {
'C major': 2,
Expand Down

0 comments on commit 44f810f

Please sign in to comment.