This commit is contained in:
msincenselee 2018-05-08 21:30:46 +08:00
parent e94e4e7d0b
commit 47378876b9

View File

@ -1,12 +1,12 @@
# encoding: UTF-8
import os
print u'load {0}/*'.format(os.path.dirname(__file__))
print( u'load {0}/*'.format(os.path.dirname(__file__)))
# 默认设置
from chinese import text
from vnpy.trader.gateway.ctpGateway.language.chinese import text
# 是否要使用英文
from vnpy.trader.vtGlobal import globalSetting
if globalSetting['language'] == 'english':
from english import text
from vnpy.trader.gateway.ctpGateway.language.english import text