This commit is contained in:
msincenselee 2017-11-01 10:30:05 +08:00
parent 99a2e98347
commit a0c416f705
3 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# encoding: UTF-8 # encoding: UTF-8
print 'load trader/language/*'
# 默认设置 # 默认设置
from chinese import text, constant from chinese import text, constant

View File

@ -105,6 +105,7 @@ TRADE = u'成交'
ORDER = u'委托' ORDER = u'委托'
POSITION = u'持仓' POSITION = u'持仓'
ACCOUNT = u'账户' ACCOUNT = u'账户'
WORKING_ORDER = u'可撤'
SYSTEM = u'系统' SYSTEM = u'系统'
CONNECT_DATABASE = u'连接数据库' CONNECT_DATABASE = u'连接数据库'
@ -117,10 +118,13 @@ STRATEGY = u'策略'
CTA_STRATEGY = u'CTA策略' CTA_STRATEGY = u'CTA策略'
HELP = u'帮助' HELP = u'帮助'
RESTORE = u'还原' RESTORE = u'还原窗口'
ABOUT = u'关于' ABOUT = u'关于'
TEST = u'测试' TEST = u'测试'
CONNECT = u'连接' CONNECT = u'连接'
EDIT_SETTING = u'编辑配置'
LOAD = u'读取'
SAVE = u'保存'
CPU_MEMORY_INFO = u'CPU使用率{cpu}% 内存使用率:{memory}%' CPU_MEMORY_INFO = u'CPU使用率{cpu}% 内存使用率:{memory}%'
CONFIRM_EXIT = u'确认退出?' CONFIRM_EXIT = u'确认退出?'

View File

@ -59,12 +59,14 @@ PRICE_TICK = u'Price Tick'
STRIKE_PRICE = u'Strike Price' STRIKE_PRICE = u'Strike Price'
UNDERLYING_SYMBOL = u'Underlying Symbol' UNDERLYING_SYMBOL = u'Underlying Symbol'
OPTION_TYPE = u'Option Type' OPTION_TYPE = u'Option Type'
EXPIRY_DATE = u'Expiry Date'
REFRESH = u'Refresh' REFRESH = u'Refresh'
SEARCH = u'Search' SEARCH = u'Search'
CONTRACT_SEARCH = u'Contract Search' CONTRACT_SEARCH = u'Contract Search'
BID_1 = u'Bid1' BID_1 = u'Bid1'
BID_2 = u'Bid2' BID_2 = u'Bid2'
BID_3 = u'Bid3' BID_3 = u'Bid3'
@ -105,6 +107,7 @@ TRADE = u'Fill'
ORDER = u'Order' ORDER = u'Order'
POSITION = u'Position' POSITION = u'Position'
ACCOUNT = u'Account' ACCOUNT = u'Account'
WORKING_ORDER = u'Working Order'
SYSTEM = u'System' SYSTEM = u'System'
CONNECT_DATABASE = u'Connect Database' CONNECT_DATABASE = u'Connect Database'
@ -117,10 +120,13 @@ STRATEGY = u'Strategy'
CTA_STRATEGY = u'CTA Strategy' CTA_STRATEGY = u'CTA Strategy'
HELP = u'Help' HELP = u'Help'
RESTORE = u'Restore' RESTORE = u'Restore Window'
ABOUT = u'About' ABOUT = u'About'
TEST = u'Test' TEST = u'Test'
CONNECT = u'Connect ' CONNECT = u'Connect '
EDIT_SETTING = 'Edit Setting'
LOAD = 'Load'
SAVE = 'Save'
CPU_MEMORY_INFO = u'CPU Usage{cpu}% Memory Usage{memory}%' CPU_MEMORY_INFO = u'CPU Usage{cpu}% Memory Usage{memory}%'
CONFIRM_EXIT = u'Confirm Exit' CONFIRM_EXIT = u'Confirm Exit'