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