1
0

move language list to i18n.py

This commit is contained in:
thomasv
2013-01-04 15:38:22 +01:00
parent 261fff2af1
commit 98cce2af0d
2 changed files with 18 additions and 5 deletions

View File

@@ -34,3 +34,20 @@ def set_language(x):
if x: language = gettext.translation('electrum', LOCALE_DIR, fallback = True, languages=[x])
languages = {
'':_('Default'),
'br':_('Brasilian'),
'cs':_('Czech'),
'de':_('German'),
'eo':_('Esperanto'),
'en':_('English'),
'es':_('Spanish'),
'fr':_('French'),
'it':_('Italian'),
'lv':_('Latvian'),
'nl':_('Dutch'),
'ru':_('Russian'),
'sl':_('Slovenian'),
'vi':_('Vietnamese'),
'zh':_('Chinese')
}