xref: /trunk/main/wizards/source/depot/Lang_tw.xba (revision 3e02b54d)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
3*3e02b54dSAndrew Rist<!--***********************************************************
4*3e02b54dSAndrew Rist *
5*3e02b54dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6*3e02b54dSAndrew Rist * or more contributor license agreements.  See the NOTICE file
7*3e02b54dSAndrew Rist * distributed with this work for additional information
8*3e02b54dSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9*3e02b54dSAndrew Rist * to you under the Apache License, Version 2.0 (the
10*3e02b54dSAndrew Rist * "License"); you may not use this file except in compliance
11*3e02b54dSAndrew Rist * with the License.  You may obtain a copy of the License at
12*3e02b54dSAndrew Rist *
13*3e02b54dSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14*3e02b54dSAndrew Rist *
15*3e02b54dSAndrew Rist * Unless required by applicable law or agreed to in writing,
16*3e02b54dSAndrew Rist * software distributed under the License is distributed on an
17*3e02b54dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18*3e02b54dSAndrew Rist * KIND, either express or implied.  See the License for the
19*3e02b54dSAndrew Rist * specific language governing permissions and limitations
20*3e02b54dSAndrew Rist * under the License.
21*3e02b54dSAndrew Rist *
22*3e02b54dSAndrew Rist ***********************************************************-->
23cdf0e10cSrcweir<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Lang_tw" script:language="StarBasic">Option Explicit
24cdf0e10cSrcweir
25cdf0e10cSrcweirSub LoadChineseTradLanguage()
26cdf0e10cSrcweir
27cdf0e10cSrcweir	sProductname = GetProductname
28cdf0e10cSrcweir	sOK = &quot;確定&quot;
29cdf0e10cSrcweir	sCancel = &quot;取消&quot;
30cdf0e10cSrcweir	sColumnHeader = &quot;欄標簽&quot;
31cdf0e10cSrcweir	sInsertStockName = &quot;請先填入股票名稱!&quot;
32cdf0e10cSrcweir	sTitle = &quot;&lt;PRODUCTNAME&gt;: 股票管理&quot;
33cdf0e10cSrcweir	sTitle = ReplaceString(sTitle, sProductName, &quot;&lt;PRODUCTNAME&gt;&quot;)
34cdf0e10cSrcweir	sMsgError = &quot;輸入無效&quot;
35cdf0e10cSrcweir	sMsgNoName = sInsertStockname
36cdf0e10cSrcweir	sMsgNoQuantity = &quot;請輸入大於0的交易股數&quot;
37cdf0e10cSrcweir	sMsgNoDividend = &quot;請輸入每股股息金額或股息總額&quot;
38cdf0e10cSrcweir	sMsgNoExchangeRate = &quot;請鍵入正確的換算比率(舊股票 -&gt; 新股票)。&quot;
39cdf0e10cSrcweir	sMsgNoValidExchangeDate = &quot;請輸入股票分割的日期。&quot;
40cdf0e10cSrcweir	sMsgWrongExchangeDate = &quot;無法分割股票,因為分割日期之後已經買進或賣出股票。&quot;
41cdf0e10cSrcweir	sMsgSellTooMuch = &quot;最多能出售的股票數: &quot;
42cdf0e10cSrcweir	sMsgConfirm = &quot;需要确認&quot;
43cdf0e10cSrcweir	sMsgFreeStock = &quot;需要輸入一個贈送的股票?&quot;
44cdf0e10cSrcweir	sMsgTotalLoss = &quot;要輸入一個全部損失的股票?&quot;
45cdf0e10cSrcweir	sMsgAuthorization = &quot;安全詢問&quot;
46cdf0e10cSrcweir	sMsgDeleteAll = &quot;您要刪除所有的交易資料,重新建立一個股票一覽表?&quot;
47cdf0e10cSrcweir	cSplit = &quot;股票分割的日期 &quot;
48cdf0e10cSrcweir	sHistory = &quot;紀錄&quot;
49cdf0e10cSrcweir	TransactTitle(1) = 	 &quot;出售股票&quot;
50cdf0e10cSrcweir	TransactTitle(2) = &quot;購買股票&quot;
51cdf0e10cSrcweir	StockRatesTitle(1) = &quot;支付股息&quot;
52cdf0e10cSrcweir	StockRatesTitle(2) = &quot;股票分割&quot;
53cdf0e10cSrcweir	StockRatesTitle(3) = sHistory
54cdf0e10cSrcweir	sDepotCurrency = &quot;股票的貨幣&quot;
55cdf0e10cSrcweir	sStockName = &quot;股票名稱&quot;
56cdf0e10cSrcweir	TransactMode = LIFO	&apos; Possible values: &quot;FIFO&quot; and &quot;LIFO&quot;
57cdf0e10cSrcweir	DateCellStyle = &quot;結果 日期&quot;
58cdf0e10cSrcweir	CurrCellStyle = &quot;1&quot;
59cdf0e10cSrcweir	sStartDate = &quot;交割日期:&quot;
60cdf0e10cSrcweir	sEndDate = &quot;到期日期:&quot;
61cdf0e10cSrcweir	sStartUpWelcome = &quot;這個樣式用於高效能地管理股票交易。&quot;
62cdf0e10cSrcweir	sStartUpChooseMarket = &quot;請先選一個參照的貨幣和一個可直接從 Internet 更新資料的贈券交易所。&quot;
63cdf0e10cSrcweir	sStartUpHint = &quot;很遺憾,&lt;History&gt;-功能僅適用於美國的交易所。&quot;
64cdf0e10cSrcweir	sStartupHint = ReplaceString(sStartUpHint, sHistory, &quot;&lt;History&gt;&quot;)
65cdf0e10cSrcweir	sNoInternetUpdate = &quot;不透過 internet 更新&quot;
66cdf0e10cSrcweir	sMarketPlace = &quot;證券交易所:&quot;
67cdf0e10cSrcweir	sNoInternetDataAvailable = &quot;無法接受 Internet 股票價格!&quot;
68cdf0e10cSrcweir	sCheckInternetSettings = &quot;可能的原因:&lt;BR&gt;Internet 設定不正確,需要重新設定。&lt;BR&gt;輸入了一個錯誤的股票代碼。&quot;
69cdf0e10cSrcweir	sCheckInternetSettings = ReplaceString(sCheckInternetSettings, chr(13), &quot;&lt;BR&gt;&quot;)
70cdf0e10cSrcweir
71cdf0e10cSrcweir	sMsgEndDatebeforeNow = &quot;到期日期必須是在今日之前!&quot;
72cdf0e10cSrcweir	sMsgStartDatebeforeEndDate = &quot;交割日期必須是在到期日期之前!&quot;
73cdf0e10cSrcweir
74cdf0e10cSrcweir	sMarket(0,0) = &quot;美元&quot;
75cdf0e10cSrcweir	sMarket(0,1) = &quot;$&quot;
76cdf0e10cSrcweir	sMarket(0,2) = &quot;紐約&quot;
77cdf0e10cSrcweir	sMarket(0,3) = &quot;http://finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
78cdf0e10cSrcweir	sMarket(0,4) = &quot;http://ichart.finance.yahoo.com/table.csv?&quot; &amp;_
79cdf0e10cSrcweir				   &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;_
80cdf0e10cSrcweir				   &quot;a=&lt;StartMonth&gt;&amp;b=&lt;StartDay&gt;&amp;c=&lt;Startyear&gt;&amp;ignore=.csv&quot;
81cdf0e10cSrcweir	sMarket(0,5) = &quot;股票符號&quot;
82cdf0e10cSrcweir	sMarket(0,6) = &quot;en&quot;
83cdf0e10cSrcweir	sMarket(0,7) = &quot;US&quot;
84cdf0e10cSrcweir	sMarket(0,8) = &quot;409&quot;
85cdf0e10cSrcweir	sMarket(0,9) = &quot;44&quot;
86cdf0e10cSrcweir	sMarket(0,10) = &quot;1&quot;
87cdf0e10cSrcweir
88cdf0e10cSrcweir	sMarket(1,0) = &quot;歐元&quot;
89cdf0e10cSrcweir	sMarket(1,1) = chr(8364)
90cdf0e10cSrcweir	sMarket(1,2) = &quot;法蘭克福&quot;
91cdf0e10cSrcweir	sMarket(1,3) = &quot;http://de.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;.F&amp;f=sl1t1c1ghpv&amp;e=.csv&quot;
92cdf0e10cSrcweir	sMarket(1,5) = &quot;股代碼&quot;
93cdf0e10cSrcweir	sMarket(1,6) = &quot;de;nl;pt;el&quot;
94cdf0e10cSrcweir	sMarket(1,7) = &quot;DE;NL;PT;GR&quot;
95cdf0e10cSrcweir	sMarket(1,8) = &quot;407;413;816;408&quot;
96cdf0e10cSrcweir	sMarket(1,9) = &quot;59/9&quot;
97cdf0e10cSrcweir	sMarket(1,10) = &quot;1&quot;
98cdf0e10cSrcweir
99cdf0e10cSrcweir	sMarket(2,0) = &quot;英鎊&quot;
100cdf0e10cSrcweir	sMarket(2,1) = &quot;£&quot;
101cdf0e10cSrcweir	sMarket(2,2) = &quot;倫敦&quot;
102cdf0e10cSrcweir	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;
103cdf0e10cSrcweir	sMarket(2,5) = &quot;股票符號&quot;
104cdf0e10cSrcweir	sMarket(2,6) = &quot;en&quot;
105cdf0e10cSrcweir	sMarket(2,7) = &quot;GB&quot;
106cdf0e10cSrcweir	sMarket(2,8) = &quot;809&quot;
107cdf0e10cSrcweir	sMarket(2,9) = &quot;44&quot;
108cdf0e10cSrcweir	sMarket(2,10) = &quot;1&quot;
109cdf0e10cSrcweir
110cdf0e10cSrcweir	sMarket(3,0) = &quot;日元&quot;
111cdf0e10cSrcweir	sMarket(3,1) = &quot;¥&quot;
112cdf0e10cSrcweir	sMarket(3,2) = &quot;東京&quot;
113cdf0e10cSrcweir	sMarket(3,3) = &quot;&quot;
114cdf0e10cSrcweir	sMarket(3,5) = &quot;代碼&quot;
115cdf0e10cSrcweir	sMarket(3,6) = &quot;ja&quot;
116cdf0e10cSrcweir	sMarket(3,7) = &quot;JP&quot;
117cdf0e10cSrcweir	sMarket(3,8) = &quot;411&quot;
118cdf0e10cSrcweir	sMarket(3,9) = &quot;&quot;
119cdf0e10cSrcweir	sMarket(3,10) = &quot;&quot;
120cdf0e10cSrcweir
121cdf0e10cSrcweir	sMarket(4,0) = &quot;港幣&quot;
122cdf0e10cSrcweir	sMarket(4,1) = &quot;HK$&quot;
123cdf0e10cSrcweir	sMarket(4,2) = &quot;香港&quot;
124cdf0e10cSrcweir	sMarket(4,3) = &quot;http://hk.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;.HK&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
125cdf0e10cSrcweir	sMarket(4,5) = &quot;編號&quot;
126cdf0e10cSrcweir	sMarket(4,6) = &quot;zh&quot;
127cdf0e10cSrcweir	sMarket(4,7) = &quot;HK&quot;
128cdf0e10cSrcweir	sMarket(4,8) = &quot;C04&quot;
129cdf0e10cSrcweir	sMarket(4,9) = &quot;44&quot;
130cdf0e10cSrcweir	sMarket(4,10) = &quot;1&quot;
131cdf0e10cSrcweir
132cdf0e10cSrcweir	sMarket(5,0) = &quot;澳元&quot;
133cdf0e10cSrcweir	sMarket(5,1) = &quot;$&quot;
134cdf0e10cSrcweir	sMarket(5,2) = &quot;悉尼&quot;
135cdf0e10cSrcweir	sMarket(5,3) = &quot;http://au.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
136cdf0e10cSrcweir	sMarket(5,5) = &quot;股票符號&quot;
137cdf0e10cSrcweir	sMarket(5,6) = &quot;en&quot;
138cdf0e10cSrcweir	sMarket(5,7) = &quot;AU&quot;
139cdf0e10cSrcweir	sMarket(5,8) = &quot;C09&quot;
140cdf0e10cSrcweir	sMarket(5,9) = &quot;44&quot;
141cdf0e10cSrcweir	sMarket(5,10) = &quot;1&quot;
142cdf0e10cSrcweir
143cdf0e10cSrcweir&apos; ****************************End of the default subset*********************************
144cdf0e10cSrcweir	CompleteMarketList()
145cdf0e10cSrcweir
146cdf0e10cSrcweir	LocalizedCurrencies()
147cdf0e10cSrcweir
148cdf0e10cSrcweir	With TransactModel
149cdf0e10cSrcweir		.lblStockNames.Label = sStockname
150cdf0e10cSrcweir		.lblQuantity.Label = &quot;數量&quot;
151cdf0e10cSrcweir		.lblRate.Label = &quot;股票價格&quot;
152cdf0e10cSrcweir		.lblDate.Label = &quot;交易日期&quot;
153cdf0e10cSrcweir		.hlnCommission.Label = &quot;其它的支出費用&quot;
154cdf0e10cSrcweir		.lblCommission.Label = &quot;手續費&quot;
155cdf0e10cSrcweir		.lblMinimum.Label = &quot;最低手續費&quot;
156cdf0e10cSrcweir		.lblFix.Label = &quot;固定金額/費用&quot;
157cdf0e10cSrcweir		.cmdGoOn.Label = sOK
158cdf0e10cSrcweir		.cmdCancel.Label = sCancel
159cdf0e10cSrcweir	End With
160cdf0e10cSrcweir
161cdf0e10cSrcweir	With StockRatesModel
162cdf0e10cSrcweir		.optPerShare.Label = &quot;每股股息&quot;
163cdf0e10cSrcweir		.optTotal.Label = &quot;股息總計&quot;
164cdf0e10cSrcweir		.lblDividend.Label = &quot;金額&quot;
165cdf0e10cSrcweir		.lblExchangeRate.Label = &quot;轉換比率(舊股票 -&gt; 新股票)&quot;
166cdf0e10cSrcweir		.lblColon.Label = &quot;:&quot;
167cdf0e10cSrcweir		.lblDate.Label = &quot;轉換日期:&quot;
168cdf0e10cSrcweir		.lblStockNames.Label = sStockname
169cdf0e10cSrcweir		.lblStartDate.Label = sStartDate
170cdf0e10cSrcweir		.lblEndDate.Label = sEndDate
171cdf0e10cSrcweir		.optDaily.Label = &quot;每日&quot;
172cdf0e10cSrcweir		.optWeekly.Label = &quot;每週&quot;
173cdf0e10cSrcweir		.hlnInterval.Label = &quot;時間週期&quot;
174cdf0e10cSrcweir		.cmdGoOn.Label = sOk
175cdf0e10cSrcweir		.cmdCancel.Label = sCancel
176cdf0e10cSrcweir	End With
177cdf0e10cSrcweirEnd Sub
178*3e02b54dSAndrew Rist</script:module>
179