1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

add more languages to iso639-1 dict

This commit is contained in:
Mike Fährmann 2015-11-06 00:24:50 +01:00
parent 6ed26864ea
commit 6e67935b59
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -21,22 +21,31 @@ def language_to_code(lang, default="en"):
return default return default
codes = { codes = {
"ar": "Arabic",
"cs": "Czech", "cs": "Czech",
"da": "Danish", "da": "Danish",
"de": "German", "de": "German",
"el": "Greek",
"en": "English", "en": "English",
"es": "Spanish", "es": "Spanish",
"fi": "Finnish", "fi": "Finnish",
"fr": "French", "fr": "French",
"he": "Hebrew",
"hu": "Hungarian",
"id": "Indonesian",
"it": "Italian", "it": "Italian",
"jp": "Japanese", "jp": "Japanese",
"ko": "Korean", "ko": "Korean",
"ms": "Malay",
"nl": "Dutch", "nl": "Dutch",
"no": "Norwegian", "no": "Norwegian",
"pl": "Polish", "pl": "Polish",
"pt": "Portuguese", "pt": "Portuguese",
"ro": "Romanian",
"ru": "Russian", "ru": "Russian",
"sv": "Swedish", "sv": "Swedish",
"th": "Thai",
"tr": "Turkish",
"vi": "Vietnamese", "vi": "Vietnamese",
"zh": "Chinese", "zh": "Chinese",
} }