Lang_tw.xba 7.7 KB

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