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_tw" script:language="StarBasic">Option Explicit 24cdf0e10cSrcweir 25cdf0e10cSrcweirSub LoadChineseTradLanguage() 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 = "請先選一個參照的貨幣和一個可直接從 Internet 更新資料的贈券交易所。" 63cdf0e10cSrcweir sStartUpHint = "很遺憾,<History>-功能僅適用於美國的交易所。" 64cdf0e10cSrcweir sStartupHint = ReplaceString(sStartUpHint, sHistory, "<History>") 65cdf0e10cSrcweir sNoInternetUpdate = "不透過 internet 更新" 66cdf0e10cSrcweir sMarketPlace = "證券交易所:" 67cdf0e10cSrcweir sNoInternetDataAvailable = "無法接受 Internet 股票價格!" 68cdf0e10cSrcweir sCheckInternetSettings = "可能的原因:<BR>Internet 設定不正確,需要重新設定。<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