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