Modifyed __init__.py in order to enum Chinese
This commit is contained in:
parent
952ce2cb3c
commit
2a80c85634
|
@ -3320,7 +3320,7 @@ class settingsDialog(QtGui.QDialog):
|
||||||
shared.safeConfigGetBoolean('bitmessagesettings', 'useidenticons'))
|
shared.safeConfigGetBoolean('bitmessagesettings', 'useidenticons'))
|
||||||
|
|
||||||
global languages
|
global languages
|
||||||
languages = ['system','en','eo','fr','de','es','ru','no','en_pirate','other']
|
languages = ['system','en','eo','fr','de','es','ru','no','en_pirate','zh_cn','other']
|
||||||
user_countrycode = str(shared.config.get('bitmessagesettings', 'userlocale'))
|
user_countrycode = str(shared.config.get('bitmessagesettings', 'userlocale'))
|
||||||
if user_countrycode in languages:
|
if user_countrycode in languages:
|
||||||
curr_index = languages.index(user_countrycode)
|
curr_index = languages.index(user_countrycode)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user