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