xref: /trunk/main/wizards/source/depot/Lang_zh.xba (revision cdf0e10c)
1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
3*cdf0e10cSrcweir<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Lang_zh" script:language="StarBasic">Option Explicit
4*cdf0e10cSrcweir
5*cdf0e10cSrcweirSub LoadChineseSimpleLanguage()
6*cdf0e10cSrcweir
7*cdf0e10cSrcweir	sProductname = GetProductname
8*cdf0e10cSrcweir	sOK = &quot;确定&quot;
9*cdf0e10cSrcweir	sCancel = &quot;取消&quot;
10*cdf0e10cSrcweir	sColumnHeader = &quot;列标题&quot;
11*cdf0e10cSrcweir	sInsertStockName = &quot;请首先往您的帐号内输入一些股票名称!&quot;
12*cdf0e10cSrcweir	sTitle = &quot;&lt;PRODUCTNAME&gt;:股票管理&quot;
13*cdf0e10cSrcweir	sTitle = ReplaceString(sTitle, sProductName, &quot;&lt;PRODUCTNAME&gt;&quot;)
14*cdf0e10cSrcweir	sMsgError = &quot;输入错误&quot;
15*cdf0e10cSrcweir	sMsgNoName = sInsertStockname
16*cdf0e10cSrcweir	sMsgNoQuantity = &quot;请输入大于0的交易股数&quot;
17*cdf0e10cSrcweir	sMsgNoDividend = &quot;请输入每股的红利金额或红利总额&quot;
18*cdf0e10cSrcweir	sMsgNoExchangeRate = &quot;请输入一个正确的兑换率(旧股-&gt; 新股)。&quot;
19*cdf0e10cSrcweir	sMsgNoValidExchangeDate = &quot;请输入拆股生效日期。&quot;
20*cdf0e10cSrcweir	sMsgWrongExchangeDate = &quot;因为在拆股生效后已经进行了股票交易,所以无法拆股。&quot;
21*cdf0e10cSrcweir	sMsgSellTooMuch = &quot;您最多能出售的股票数为: &quot;
22*cdf0e10cSrcweir	sMsgConfirm = &quot;需要确认&quot;
23*cdf0e10cSrcweir	sMsgFreeStock = &quot;您想要输入赠送股票?&quot;
24*cdf0e10cSrcweir	sMsgTotalLoss = &quot;您想要输入总亏损值?&quot;
25*cdf0e10cSrcweir	sMsgAuthorization = &quot;安全查询&quot;
26*cdf0e10cSrcweir	sMsgDeleteAll = &quot;您要删除所有的交易信息并重新建立股票帐号一览表吗?&quot;
27*cdf0e10cSrcweir	cSplit = &quot;股票拆股日期 &quot;
28*cdf0e10cSrcweir	sHistory = &quot;记录&quot;
29*cdf0e10cSrcweir	TransactTitle(1) = 	 &quot;出售股票&quot;
30*cdf0e10cSrcweir	TransactTitle(2) = &quot;购买股票&quot;
31*cdf0e10cSrcweir	StockRatesTitle(1) = &quot;支付红利&quot;
32*cdf0e10cSrcweir	StockRatesTitle(2) = &quot;股票拆股&quot;
33*cdf0e10cSrcweir	StockRatesTitle(3) = sHistory
34*cdf0e10cSrcweir	sDepotCurrency = &quot;股票交易的货币&quot;
35*cdf0e10cSrcweir	sStockName = &quot;股票名称&quot;
36*cdf0e10cSrcweir	TransactMode = LIFO	&apos; Possible values: &quot;FIFO&quot; and &quot;LIFO&quot;
37*cdf0e10cSrcweir	DateCellStyle = &quot;结果 日期&quot;
38*cdf0e10cSrcweir	CurrCellStyle = &quot;1&quot;
39*cdf0e10cSrcweir	sStartDate = &quot;起始日期:&quot;
40*cdf0e10cSrcweir	sEndDate = &quot;终止日期:&quot;
41*cdf0e10cSrcweir	sStartUpWelcome = &quot;这个样式能够帮助您有效地管理自己的股票帐号&quot;
42*cdf0e10cSrcweir	sStartUpChooseMarket = &quot;请首先选择采用的参考货币以及要直接用国际互联网来更新资料的证券交易所!&quot;
43*cdf0e10cSrcweir	sStartUpHint = &quot;很遗憾,&lt;History&gt;功能仅可供美国市场使用!&quot;
44*cdf0e10cSrcweir	sStartupHint = ReplaceString(sStartUpHint, sHistory, &quot;&lt;History&gt;&quot;)
45*cdf0e10cSrcweir	sNoInternetUpdate = &quot;不通过国际互联网更新&quot;
46*cdf0e10cSrcweir	sMarketPlace = &quot;交易所:&quot;
47*cdf0e10cSrcweir	sNoInternetDataAvailable = &quot;无法获得国际互联网上的行情!&quot;
48*cdf0e10cSrcweir	sCheckInternetSettings = &quot;可能的原因是:&lt;BR&gt;您的国际互联网设定不正确,需要重新设定。&lt;BR&gt;输入了一个错误的股票号码。&quot;
49*cdf0e10cSrcweir	sCheckInternetSettings = ReplaceString(sCheckInternetSettings, chr(13), &quot;&lt;BR&gt;&quot;)
50*cdf0e10cSrcweir
51*cdf0e10cSrcweir	sMsgEndDatebeforeNow = &quot;终止日期必须在今天之前!&quot;
52*cdf0e10cSrcweir	sMsgStartDatebeforeEndDate = &quot;起始日期必须在终止日期之前!&quot;
53*cdf0e10cSrcweir
54*cdf0e10cSrcweir	sMarket(0,0) = &quot;美元&quot;
55*cdf0e10cSrcweir	sMarket(0,1) = &quot;$&quot;
56*cdf0e10cSrcweir	sMarket(0,2) = &quot;纽约&quot;
57*cdf0e10cSrcweir	sMarket(0,3) = &quot;http://finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
58*cdf0e10cSrcweir	sMarket(0,4) = &quot;http://ichart.finance.yahoo.com/table.csv?&quot; &amp;_
59*cdf0e10cSrcweir				   &quot;s=&lt;StockID&gt;&amp;d=&lt;EndMonth&gt;&amp;e=&lt;EndDay&gt;&amp;f=&lt;Endyear&gt;&amp;g=d&amp;&quot; &amp;_
60*cdf0e10cSrcweir				   &quot;a=&lt;StartMonth&gt;&amp;b=&lt;StartDay&gt;&amp;c=&lt;Startyear&gt;&amp;ignore=.csv&quot;
61*cdf0e10cSrcweir	sMarket(0,5) = &quot;图标&quot;
62*cdf0e10cSrcweir	sMarket(0,6) = &quot;en&quot;
63*cdf0e10cSrcweir	sMarket(0,7) = &quot;US&quot;
64*cdf0e10cSrcweir	sMarket(0,8) = &quot;409&quot;
65*cdf0e10cSrcweir	sMarket(0,9) = &quot;44&quot;
66*cdf0e10cSrcweir	sMarket(0,10) = &quot;1&quot;
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir	sMarket(1,0) = &quot;欧元&quot;
69*cdf0e10cSrcweir	sMarket(1,1) = chr(8364)
70*cdf0e10cSrcweir	sMarket(1,2) = &quot;法兰克福&quot;
71*cdf0e10cSrcweir	sMarket(1,3) = &quot;http://de.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;.F&amp;f=sl1t1c1ghpv&amp;e=.csv&quot;
72*cdf0e10cSrcweir	sMarket(1,5) = &quot;代码&quot;
73*cdf0e10cSrcweir	sMarket(1,6) = &quot;de;nl;pt;el&quot;
74*cdf0e10cSrcweir	sMarket(1,7) = &quot;DE;NL;PT;GR&quot;
75*cdf0e10cSrcweir	sMarket(1,8) = &quot;407;413;816;408&quot;
76*cdf0e10cSrcweir	sMarket(1,9) = &quot;59/9&quot;
77*cdf0e10cSrcweir	sMarket(1,10) = &quot;1&quot;
78*cdf0e10cSrcweir
79*cdf0e10cSrcweir	sMarket(2,0) = &quot;英镑&quot;
80*cdf0e10cSrcweir	sMarket(2,1) = &quot;£&quot;
81*cdf0e10cSrcweir	sMarket(2,2) = &quot;伦敦&quot;
82*cdf0e10cSrcweir	sMarket(2,3) = &quot;http://uk.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;.L&amp;m=*&amp;f=sl1t1c1ghov&amp;e=.csv&quot;
83*cdf0e10cSrcweir	sMarket(2,5) = &quot;股票代码&quot;
84*cdf0e10cSrcweir	sMarket(2,6) = &quot;en&quot;
85*cdf0e10cSrcweir	sMarket(2,7) = &quot;GB&quot;
86*cdf0e10cSrcweir	sMarket(2,8) = &quot;809&quot;
87*cdf0e10cSrcweir	sMarket(2,9) = &quot;44&quot;
88*cdf0e10cSrcweir	sMarket(2,10) = &quot;1&quot;
89*cdf0e10cSrcweir
90*cdf0e10cSrcweir	sMarket(3,0) = &quot;日元&quot;
91*cdf0e10cSrcweir	sMarket(3,1) = &quot;¥&quot;
92*cdf0e10cSrcweir	sMarket(3,2) = &quot;东京&quot;
93*cdf0e10cSrcweir	sMarket(3,3) = &quot;&quot;
94*cdf0e10cSrcweir	sMarket(3,5) = &quot;代码&quot;
95*cdf0e10cSrcweir	sMarket(3,6) = &quot;ja&quot;
96*cdf0e10cSrcweir	sMarket(3,7) = &quot;JP&quot;
97*cdf0e10cSrcweir	sMarket(3,8) = &quot;411&quot;
98*cdf0e10cSrcweir	sMarket(3,9) = &quot;&quot;
99*cdf0e10cSrcweir	sMarket(3,10) = &quot;&quot;
100*cdf0e10cSrcweir
101*cdf0e10cSrcweir	sMarket(4,0) = &quot;港币&quot;
102*cdf0e10cSrcweir	sMarket(4,1) = &quot;HK$&quot;
103*cdf0e10cSrcweir	sMarket(4,2) = &quot;香港&quot;
104*cdf0e10cSrcweir	sMarket(4,3) = &quot;http://hk.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;.HK&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
105*cdf0e10cSrcweir	sMarket(4,5) = &quot;编号&quot;
106*cdf0e10cSrcweir	sMarket(4,6) = &quot;zh&quot;
107*cdf0e10cSrcweir	sMarket(4,7) = &quot;HK&quot;
108*cdf0e10cSrcweir	sMarket(4,8) = &quot;C04&quot;
109*cdf0e10cSrcweir	sMarket(4,9) = &quot;44&quot;
110*cdf0e10cSrcweir	sMarket(4,10) = &quot;1&quot;
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir	sMarket(5,0) = &quot;澳元&quot;
113*cdf0e10cSrcweir	sMarket(5,1) = &quot;$&quot;
114*cdf0e10cSrcweir	sMarket(5,2) = &quot;悉尼&quot;
115*cdf0e10cSrcweir	sMarket(5,3) = &quot;http://au.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
116*cdf0e10cSrcweir	sMarket(5,5) = &quot;股票代码&quot;
117*cdf0e10cSrcweir	sMarket(5,6) = &quot;en&quot;
118*cdf0e10cSrcweir	sMarket(5,7) = &quot;AU&quot;
119*cdf0e10cSrcweir	sMarket(5,8) = &quot;C09&quot;
120*cdf0e10cSrcweir	sMarket(5,9) = &quot;44&quot;
121*cdf0e10cSrcweir	sMarket(5,10) = &quot;1&quot;
122*cdf0e10cSrcweir
123*cdf0e10cSrcweir&apos; ****************************End of the default subset*********************************
124*cdf0e10cSrcweir	CompleteMarketList()
125*cdf0e10cSrcweir
126*cdf0e10cSrcweir	LocalizedCurrencies()
127*cdf0e10cSrcweir
128*cdf0e10cSrcweir	With TransactModel
129*cdf0e10cSrcweir		.lblStockNames.Label = sStockname
130*cdf0e10cSrcweir		.lblQuantity.Label = &quot;数量&quot;
131*cdf0e10cSrcweir		.lblRate.Label = &quot;股票牌价&quot;
132*cdf0e10cSrcweir		.lblDate.Label = &quot;交易日期&quot;
133*cdf0e10cSrcweir		.hlnCommission.Label = &quot;其它支出费用&quot;
134*cdf0e10cSrcweir		.lblCommission.Label = &quot;手续费&quot;
135*cdf0e10cSrcweir		.lblMinimum.Label = &quot;最低手续费&quot;
136*cdf0e10cSrcweir		.lblFix.Label = &quot;固定金额/费用&quot;
137*cdf0e10cSrcweir		.cmdGoOn.Label = sOK
138*cdf0e10cSrcweir		.cmdCancel.Label = sCancel
139*cdf0e10cSrcweir	End With
140*cdf0e10cSrcweir
141*cdf0e10cSrcweir	With StockRatesModel
142*cdf0e10cSrcweir		.optPerShare.Label = &quot;每股红利&quot;
143*cdf0e10cSrcweir		.optTotal.Label = &quot;红利总计&quot;
144*cdf0e10cSrcweir		.lblDividend.Label = &quot;金额&quot;
145*cdf0e10cSrcweir		.lblExchangeRate.Label = &quot;兑换率(旧-&gt;新)&quot;
146*cdf0e10cSrcweir		.lblColon.Label = &quot;:&quot;
147*cdf0e10cSrcweir		.lblDate.Label = &quot;兑换日期:&quot;
148*cdf0e10cSrcweir		.lblStockNames.Label = sStockname
149*cdf0e10cSrcweir		.lblStartDate.Label = sStartDate
150*cdf0e10cSrcweir		.lblEndDate.Label = sEndDate
151*cdf0e10cSrcweir		.optDaily.Label = &quot;每天&quot;
152*cdf0e10cSrcweir		.optWeekly.Label = &quot;每周&quot;
153*cdf0e10cSrcweir		.hlnInterval.Label = &quot;时间周期&quot;
154*cdf0e10cSrcweir		.cmdGoOn.Label = sOk
155*cdf0e10cSrcweir		.cmdCancel.Label = sCancel
156*cdf0e10cSrcweir	End With
157*cdf0e10cSrcweirEnd Sub
158*cdf0e10cSrcweir</script:module>