From 1d2b6f29f19bda6cc5e77301dd1da5865c6360b1 Mon Sep 17 00:00:00 2001 From: Akira <5215000+ApeKattQuest-MonkeyPython@users.noreply.github.com> Date: Fri, 2 Aug 2024 21:15:54 +0200 Subject: [PATCH] Update mbz-loujine-common.js update list of locales --- mbz-loujine-common.js | 230 +++++++++++++++++++++++------------------- 1 file changed, 129 insertions(+), 101 deletions(-) diff --git a/mbz-loujine-common.js b/mbz-loujine-common.js index fed41fd..3b1adb8 100644 --- a/mbz-loujine-common.js +++ b/mbz-loujine-common.js @@ -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', + 'af': 'Afrikaans', + 'am': 'Amharic', + 'an': 'Aragonese', + 'ar': 'Arabic', + 'arz': 'Arab in Egypt', + 'ast': 'Asturian', + 'az': 'Azerbaijani', + 'ba': 'Bashkir', + 'be': 'Belarusian', + 'bg': 'Bulgarian', + 'bn': 'Bangla', + 'br': 'Breton', + 'bs': 'Bosnian', + 'ca': 'Catalan', + 'chr': 'Cherokee', + 'ckb': 'Central Kurdish/Sorani', + 'co': 'Corsican', + 'cs': 'Czech', + 'cv': 'Chuvash', + 'cy': 'Welsh', + 'da': 'Danish', + 'de': 'German', + 'el': 'Greek', + 'en': 'English', + 'eo': 'Esperanto', + 'es': 'Spanish', + 'et': 'Estonian', + 'eu': 'Basque', + 'fa': 'Persian', + 'fi': 'Finnish', + 'fil': 'Filipino', + 'fo': 'Faroese', + 'fr': 'French', + 'fy': 'Western Frisian', + 'ga': 'Irish', + 'gd': 'Scottish Gaelic', + 'gl': 'Galician', + 'gn': 'Guarani', + 'gu': 'Gujarati', + 'gv': 'Manx', + 'haw': 'Hawai’ian', + 'he': 'Hebrew', + 'hi': 'Hindi', + 'hr': 'Croatian', + 'hu': 'Hungarian', + 'hy': 'Armenian', + 'ia': 'Interlingua', + 'id': 'Indonesian', + 'io': 'Ido', + 'is': 'Icelandic', + 'it': 'Italian', + 'ja': 'Japanese', + 'jv': 'Javanese', + 'ka': 'Georgian', + 'kk': 'Kazakh', + 'km': 'Khmer', + 'kn': 'Kannada', + 'ko': 'Korean', + 'ky': 'Kyrgyz', + 'la': 'Latin', + 'lb': 'Luxembourgish', + 'lij': 'Ligurian', + 'lmo': 'Lombard', + 'lt': 'Lithuanian', + 'lv': 'Latvian', + 'mai': 'Maithili', + 'mi': 'M?ori', + 'mk': 'Macedonian', + 'ml': 'Malayalam', + 'mn': 'Mongolian', + 'mr': 'Marathi', + 'ms': 'Malay', + 'my': 'Burmese', + 'nb': 'Norwegian Bokmål', + 'nds': 'Low German', + 'ne': 'Nepali', + 'nl': 'Dutch', + 'nn': 'Norwegian Nynorsk', + 'no': 'Norwegian', + 'oc': 'Occitan', + 'pa': 'Punjabi', + 'pl': 'Polish', + 'pt': 'Portuguese', + 'qu': 'Quechua', + 'rm': 'Romansh', + 'ro': 'Romanian', + 'ru': 'Russian', + 'sa': 'Sanskrit', + 'sc': 'Sardinian', + 'scn': 'Sicilian', + 'sdh': 'Southern Kurdish', + 'si': 'Sinhala', + 'sk': 'Slovak', + 'sl': 'Slovenian', + 'slz': 'Silesian', + 'sma': 'Southern Sami', + 'smj': 'Lule Sami', + 'sms': 'Skolt Sami', + 'so': 'Somali', + 'sq': 'Albanian', + 'sr': 'Serbian', + 'su': 'Sundanese', + 'su_Latn': 'Sundanese Latin', + 'sv': 'Swedish', + 'sw': 'Swahili', + 'ta': 'Tamil', + 'te': 'Telugu', + 'tg': 'Tajik', + 'th': 'Thai', + 'tpi': 'Tok Pisin', + 'tr': 'Turkish', + 'tt': 'Tatar', + 'ug': 'Uyghur', + 'uk': 'Ukrainian', + 'ur': 'Urdu', + 'uz': 'Uzbek', + 'vec': 'Venetian', + 'vi': 'Vietnamese', + 'wa': 'Wallon', + 'yi': 'Yiddish', + 'yo': 'Yoruba', + 'yue': 'Cantonese', + 'zh': 'Chinese', + 'zh_Hans': 'Chinese Simplified', + 'zh_Hans_SG': 'Chinese Singapore Simplified', + 'zh_Hant': 'Chinese Traditional', + 'zh_Hant_HK': 'Chinese Hong Kong SAR China Traditional', + 'zh_Hant_TW': 'Chinese Taiwan Traditional', + 'zu': 'Zulu', }; this.workKeyAttr = { 'C major': 2,