Update speech.py

Improve the i18n of speech strings with wiki links
This commit is contained in:
leonardcj 2016-03-26 17:11:07 -04:00
parent ebe0e633fa
commit 1b9da5b1d6

View File

@ -47,73 +47,136 @@ _SAVE_TIMEOUT = 500
# If espeak add new voices, we need update this list. # If espeak add new voices, we need update this list.
translated_espeak_voices = { translated_espeak_voices = {
# Translators: http://en.wikipedia.org/wiki/Afrikaans_language
'af': _('Afrikaans'), 'af': _('Afrikaans'),
# Translators: http://en.wikipedia.org/wiki/Aragonese_language
'an': _('Aragonese'), 'an': _('Aragonese'),
# Translators: http://en.wikipedia.org/wiki/Bulgarian_language
'bg': _('Bulgarian'), 'bg': _('Bulgarian'),
# Translators: http://en.wikipedia.org/wiki/Bosnian_language
'bs': _('Bosnian'), 'bs': _('Bosnian'),
# Translators: http://en.wikipedia.org/wiki/Catalan_language
'ca': _('Catalan'), 'ca': _('Catalan'),
# Translators: http://en.wikipedia.org/wiki/Czech_language
'cs': _('Czech'), 'cs': _('Czech'),
# Translators: http://en.wikipedia.org/wiki/Welsh_language
'cy': _('Welsh'), 'cy': _('Welsh'),
# Translators: http://en.wikipedia.org/wiki/Danish_language
'da': _('Danish'), 'da': _('Danish'),
# Translators: http://en.wikipedia.org/wiki/German_language
'de': _('German'), 'de': _('German'),
# Translators: http://en.wikipedia.org/wiki/Modern_Greek
'el': _('Greek'), 'el': _('Greek'),
'en': _('Default'), 'en': _('Default'),
# Translators: http://en.wikipedia.org/wiki/British_English
'en_gb': _('English Britain'), 'en_gb': _('English Britain'),
# Translators: http://en.wikipedia.org/wiki/Scottish_English
'en_sc': _('English scottish'), 'en_sc': _('English scottish'),
'en_uk-north': _('English-north'), 'en_uk-north': _('English-north'),
# Translators: http://en.wikipedia.org/wiki/Received_Pronunciation
'en_uk-rp': _('English_rp'), 'en_uk-rp': _('English_rp'),
# Translators: http://en.wikipedia.org/wiki/West_Midlands_English
'en_uk-wmids': _('English_wmids'), 'en_uk-wmids': _('English_wmids'),
# Translators: http://en.wikipedia.org/wiki/American_English
'en_us': _('English USA'), 'en_us': _('English USA'),
'en_wi': _('English west indies'), # Translators: http://en.wikipedia.org/wiki/Caribbean_English
'en_wi': _('English West Indies'),
# Translators: http://en.wikipedia.org/wiki/Esperanto
'eo': _('Esperanto'), 'eo': _('Esperanto'),
# Translators: http://en.wikipedia.org/wiki/Spanish_language
'es': _('Spanish'), 'es': _('Spanish'),
'es_la': _('Spanish latin american'), 'es_la': _('Spanish latin american'),
# Translators: http://en.wikipedia.org/wiki/Estonian_language
'et': _('Estonian'), 'et': _('Estonian'),
# Translators: http://en.wikipedia.org/wiki/Persian_language
'fa': _('Farsi'), 'fa': _('Farsi'),
# Translators: http://en.wikipedia.org/wiki/Fingilish
'fa_pin': _('Farsi-pinglish'), 'fa_pin': _('Farsi-pinglish'),
# Translators: http://en.wikipedia.org/wiki/Finnish_language
'fi': _('Finnish'), 'fi': _('Finnish'),
# Translators: http://en.wikipedia.org/wiki/Belgian_French
'fr_be': _('French belgium'), 'fr_be': _('French belgium'),
# Translators: http://en.wikipedia.org/wiki/French_language
'fr_fr': _('French'), 'fr_fr': _('French'),
# Translators: http://en.wikipedia.org/wiki/Irish_language
'ga': _('Irish-gaeilge'), 'ga': _('Irish-gaeilge'),
# Translators: http://en.wikipedia.org/wiki/Ancient_Greek
'grc': _('Greek-ancient'), 'grc': _('Greek-ancient'),
# Translators: http://en.wikipedia.org/wiki/Hindi
'hi': _('Hindi'), 'hi': _('Hindi'),
# Translators: http://en.wikipedia.org/wiki/Croatian_language
'hr': _('Croatian'), 'hr': _('Croatian'),
# Translators: http://en.wikipedia.org/wiki/Hungarian_language
'hu': _('Hungarian'), 'hu': _('Hungarian'),
# Translators: http://en.wikipedia.org/wiki/Armenian_language
'hy': _('Armenian'), 'hy': _('Armenian'),
# Translators: http://en.wikipedia.org/wiki/Western_Armenian
'hy_west': _('Armenian (west)'), 'hy_west': _('Armenian (west)'),
# Translators: http://en.wikipedia.org/wiki/Indonesian_language
'id': _('Indonesian'), 'id': _('Indonesian'),
# Translators: http://en.wikipedia.org/wiki/Icelandic_language
'is': _('Icelandic'), 'is': _('Icelandic'),
# Translators: http://en.wikipedia.org/wiki/Italian_language
'it': _('Italian'), 'it': _('Italian'),
# Translators: http://en.wikipedia.org/wiki/Lojban
'jbo': _('Lojban'), 'jbo': _('Lojban'),
# Translators: http://en.wikipedia.org/wiki/Georgian_language
'ka': _('Georgian'), 'ka': _('Georgian'),
# Translators: http://en.wikipedia.org/wiki/Kannada_language
'kn': _('Kannada'), 'kn': _('Kannada'),
# Translators: http://en.wikipedia.org/wiki/Kurdish_language
'ku': _('Kurdish'), 'ku': _('Kurdish'),
# Translators: http://en.wikipedia.org/wiki/Latin
'la': _('Latin'), 'la': _('Latin'),
# Translators: http://en.wikipedia.org/wiki/Lithuanian_language
'lt': _('Lithuanian'), 'lt': _('Lithuanian'),
# Translators: http://en.wikipedia.org/wiki/Latvian_language
'lv': _('Latvian'), 'lv': _('Latvian'),
# Translators: http://en.wikipedia.org/wiki/Macedonian_language
'mk': _('Macedonian'), 'mk': _('Macedonian'),
# Translators: http://en.wikipedia.org/wiki/Malayalam
'ml': _('Malayalam'), 'ml': _('Malayalam'),
# Translators: http://en.wikipedia.org/wiki/Malay_language
'ms': _('Malay'), 'ms': _('Malay'),
# Translators: http://en.wikipedia.org/wiki/Nepali_language
'ne': _('Nepali'), 'ne': _('Nepali'),
# Translators: http://en.wikipedia.org/wiki/Dutch_language
'nl': _('Dutch'), 'nl': _('Dutch'),
# Translators: http://en.wikipedia.org/wiki/Norwegian_language
'no': _('Norwegian'), 'no': _('Norwegian'),
# Translators: http://en.wikipedia.org/wiki/Punjabi_language
'pa': _('Punjabi'), 'pa': _('Punjabi'),
# Translators: http://en.wikipedia.org/wiki/Polish_language
'pl': _('Polish'), 'pl': _('Polish'),
# Translators: http://en.wikipedia.org/wiki/Brazilian_Portuguese
'pt_br': _('Portuguese (Brazil)'), 'pt_br': _('Portuguese (Brazil)'),
# Translators: http://en.wikipedia.org/wiki/Portuguese_language
'pt_pt': _('Portuguese (Portugal)'), 'pt_pt': _('Portuguese (Portugal)'),
# Translators: http://en.wikipedia.org/wiki/Romanian_language
'ro': _('Romanian'), 'ro': _('Romanian'),
# Translators: http://en.wikipedia.org/wiki/Russian_language
'ru': _('Russian'), 'ru': _('Russian'),
# Translators: http://en.wikipedia.org/wiki/Slovak_language
'sk': _('Slovak'), 'sk': _('Slovak'),
# Translators: http://en.wikipedia.org/wiki/Albanian_language
'sq': _('Albanian'), 'sq': _('Albanian'),
# Translators: http://en.wikipedia.org/wiki/Serbian_language
'sr': _('Serbian'), 'sr': _('Serbian'),
# Translators: http://en.wikipedia.org/wiki/Swedish_language
'sv': _('Swedish'), 'sv': _('Swedish'),
'sw': _('Swahili-test'), # Translators: http://en.wikipedia.org/wiki/Swahili_language
'sw': _('Swahili'),
# Translators: http://en.wikipedia.org/wiki/Tamil_language
'ta': _('Tamil'), 'ta': _('Tamil'),
# Translators: http://en.wikipedia.org/wiki/Turkish_language
'tr': _('Turkish'), 'tr': _('Turkish'),
# Translators: http://en.wikipedia.org/wiki/Vietnamese_language
'vi': _('Vietnam'), 'vi': _('Vietnam'),
'vi_hue': _('Vietnam_hue'), 'vi_hue': _('Vietnam_hue'),
'vi_sgn': _('Vietnam_sgn'), 'vi_sgn': _('Vietnam_sgn'),
# Translators: http://en.wikipedia.org/wiki/Mandarin_Chinese
'zh': _('Mandarin'), 'zh': _('Mandarin'),
# Translators: http://en.wikipedia.org/wiki/Cantonese
'zh_yue': _('Cantonese') 'zh_yue': _('Cantonese')
} }