xref: /trunk/main/wizards/source/depot/Lang_tw.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_tw" script:language="StarBasic">Option Explicit
4*cdf0e10cSrcweir
5*cdf0e10cSrcweirSub LoadChineseTradLanguage()
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;請先選一個參照的貨幣和一個可直接從 Internet 更新資料的贈券交易所。&quot;
43*cdf0e10cSrcweir	sStartUpHint = &quot;很遺憾,&lt;History&gt;-功能僅適用於美國的交易所。&quot;
44*cdf0e10cSrcweir	sStartupHint = ReplaceString(sStartUpHint, sHistory, &quot;&lt;History&gt;&quot;)
45*cdf0e10cSrcweir	sNoInternetUpdate = &quot;不透過 internet 更新&quot;
46*cdf0e10cSrcweir	sMarketPlace = &quot;證券交易所:&quot;
47*cdf0e10cSrcweir	sNoInternetDataAvailable = &quot;無法接受 Internet 股票價格!&quot;
48*cdf0e10cSrcweir	sCheckInternetSettings = &quot;可能的原因:&lt;BR&gt;Internet 設定不正確,需要重新設定。&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>