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_ja" script:language="StarBasic">Option Explicit 24cdf0e10cSrcweir 25cdf0e10cSrcweirSub LoadJapaneseLanguage() 26cdf0e10cSrcweir 27cdf0e10cSrcweir sProductname = GetProductname 28cdf0e10cSrcweir sOK = "~OK" 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 = "1株当たりの配当金額または総配当金額を入力してください。" 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 = "その他の経費n" 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