Lang_zh.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_zh" script:language="StarBasic">Option Explicit
  21. Sub LoadChineseSimpleLanguage()
  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;请首先选择采用的参考货币以及要直接用国际互联网来更新资料的证券交易所!&quot;
  58. sStartUpHint = &quot;很遗憾,&lt;History&gt;功能仅可供美国市场使用!&quot;
  59. sStartupHint = ReplaceString(sStartUpHint, sHistory, &quot;&lt;History&gt;&quot;)
  60. sNoInternetUpdate = &quot;不通过国际互联网更新&quot;
  61. sMarketPlace = &quot;交易所:&quot;
  62. sNoInternetDataAvailable = &quot;无法获得国际互联网上的行情!&quot;
  63. sCheckInternetSettings = &quot;可能的原因是:&lt;BR&gt;您的国际互联网设定不正确,需要重新设定。&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>