commit 7747f8cd772ac22a4cca84d3aafaefdebb80005e Author: Arlo Breault arlolra@gmail.com Date: Tue Jul 29 10:18:04 2014 +0200
Add translated names
* For bg, en_GB, es_MX, ro, ru@petr1708, and sk_SK. --- utils.go | 118 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 62 insertions(+), 56 deletions(-)
diff --git a/utils.go b/utils.go index e6fb9bb..9ab9289 100644 --- a/utils.go +++ b/utils.go @@ -141,62 +141,68 @@ func GetLocaleList(base string) map[string]string { // and https://sites.google.com/site/opti365/translate_codes // and https://en.wikipedia.org/w/api.php?action=sitematrix&format=json haveTranslatedNames := map[string]string{ - "af": "Afrikaans", - "ar": "العربية", - "bs": "Bosanski jezik", - "ca": "Català", - "cs": "Čeština", - "cy": "Cymraeg", - "da": "Dansk", - "de": "Deutsch", - "el": "ελληνικά", - "eo": "Esperanto", - "es": "Español", - "es_AR": "Español (Argentina)", - "et": "Eesti", - "eu": "Euskara", - "fa": "فارسی", - "fi": "Suomi", - "fr": "Français", - "fr_CA": "Français (Canadien)", - "gl": "Galego", - "he": "עברית", - "hi": "हिन्दी", - "hr": "Hrvatski jezik", - "hr_HR": "Hrvatski jezik (Croatia)", - "hu": "Magyar", - "id": "Bahasa Indonesia", - "it": "Italiano", - "ja": "日本語", - "km": "មែរ", - "kn": "ಕನ್ನಡ", - "ko": "한국어", - "ko_KR": "한국어 (South Korea)", - "lv": "Latviešu valoda", - "mk": "македонски јазик", - "ms_MY": "Bahasa Melayu", - "my": "ဗမာစာ", - "nb": "Norsk bokmål", - "nl": "Nederlands", - "nl_BE": "Vlaams", - "pa": "ਪੰਜਾਬੀ", - "pl": "Język polski", - "pl_PL": "Język polski (Poland)", - "pt": "Português", - "pt_BR": "Português do Brasil", - "ru": "русский язык", - "si_LK": "සිංහල", - "sk": "Slovenčina", - "sl": "Slovenski jezik", - "sl_SI": "Slovenski jezik (Slovenia)", - "sr": "српски језик", - "sv": "Svenska", - "te_IN": "తెలుగు", - "th": "ไทย", - "tr": "Türkçe", - "uk": "українська мова", - "zh_CN": "中文简体", - "zh_TW": "中文繁體", + "af": "Afrikaans", + "ar": "العربية", + "bg": "български", + "bs": "Bosanski jezik", + "ca": "Català", + "cs": "Čeština", + "cy": "Cymraeg", + "da": "Dansk", + "de": "Deutsch", + "el": "ελληνικά", + "en_GB": "English (United Kingdom)", + "eo": "Esperanto", + "es": "Español", + "es_AR": "Español (Argentina)", + "es_MX": "Español (Mexico)", + "et": "Eesti", + "eu": "Euskara", + "fa": "فارسی", + "fi": "Suomi", + "fr": "Français", + "fr_CA": "Français (Canadien)", + "gl": "Galego", + "he": "עברית", + "hi": "हिन्दी", + "hr": "Hrvatski jezik", + "hr_HR": "Hrvatski jezik (Croatia)", + "hu": "Magyar", + "id": "Bahasa Indonesia", + "it": "Italiano", + "ja": "日本語", + "km": "មែរ", + "kn": "ಕನ್ನಡ", + "ko": "한국어", + "ko_KR": "한국어 (South Korea)", + "lv": "Latviešu valoda", + "mk": "македонски јазик", + "ms_MY": "Bahasa Melayu", + "my": "ဗမာစာ", + "nb": "Norsk bokmål", + "nl": "Nederlands", + "nl_BE": "Vlaams", + "pa": "ਪੰਜਾਬੀ", + "pl": "Język polski", + "pl_PL": "Język polski (Poland)", + "pt": "Português", + "pt_BR": "Português do Brasil", + "ro": "română", + "ru": "русский язык", + "ru@petr1708": "Russian Petrine orthography", + "si_LK": "සිංහල", + "sk": "Slovenčina", + "sk_SK": "Slovenčina (Slovakia)", + "sl": "Slovenski jezik", + "sl_SI": "Slovenski jezik (Slovenia)", + "sr": "српски језик", + "sv": "Svenska", + "te_IN": "తెలుగు", + "th": "ไทย", + "tr": "Türkçe", + "uk": "українська мова", + "zh_CN": "中文简体", + "zh_TW": "中文繁體", }
// for all folders in locale which match a locale from https://www.transifex.com/api/2/languages/