From 2a80c856347abf186cbcad22a377f94ae1942200 Mon Sep 17 00:00:00 2001 From: Xiaokang Wang Date: Tue, 7 Jan 2014 19:02:41 +0800 Subject: [PATCH] Modifyed __init__.py in order to enum Chinese --- src/bitmessageqt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index e79af31d..e4f29284 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -3320,7 +3320,7 @@ class settingsDialog(QtGui.QDialog): shared.safeConfigGetBoolean('bitmessagesettings', 'useidenticons')) 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')) if user_countrycode in languages: curr_index = languages.index(user_countrycode)