1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd"> 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Lang_ja" script:language="StarBasic">Option Explicit 24 25Sub LoadJapaneseLanguage() 26 27 sProductname = GetProductname 28 sOK = "~OK" 29 sCancel = "キャンセル" 30 sColumnHeader = "列番号" 31 sInsertStockName = "最初に株の銘柄を入力してください。" 32 sTitle = "<PRODUCTNAME>: 株管理" 33 sTitle = ReplaceString(sTitle, sProductName, "<PRODUCTNAME>") 34 sMsgError = "入力フィールド" 35 sMsgNoName = sInsertStockname 36 sMsgNoQuantity = "0 より大きな額を入力してください。" 37 sMsgNoDividend = "1株当たりの配当金額または総配当金額を入力してください。" 38 sMsgNoExchangeRate = "交換比率(旧株->新株)を入力してください。" 39 sMsgNoValidExchangeDate = "株式分割日を入力してください。" 40 sMsgWrongExchangeDate = "分割日以降に取引がすでに存在するので、分割できません。" 41 sMsgSellTooMuch = "売却できる株式数を超えています。最大値: " 42 sMsgConfirm = "ご確認ください" 43 sMsgFreeStock = "無料株式を入力しますか?" 44 sMsgTotalLoss = "全損の入力を行いますか?" 45 sMsgAuthorization = "確認ダイアログ" 46 sMsgDeleteAll = "すべての移動を取り消し、ポートフォリオの概要をリセットしますか?" 47 cSplit = "株式分割日 " 48 sHistory = "履歴" 49 TransactTitle(1) = "株を買う" 50 TransactTitle(2) = "株を買う" 51 StockRatesTitle(1) = "配当額" 52 StockRatesTitle(2) = "株式分割" 53 StockRatesTitle(3) = sHistory 54 sDepotCurrency = "ポートフォリオの通貨" 55 sStockName = "株式名" 56 TransactMode = LIFO ' Possible values: "FIFO" and "LIFO" 57 DateCellStyle = "結果(日付)" 58 CurrCellStyle = "1" 59 sStartDate = "開始日:" 60 sEndDate = "終了日:" 61 sStartUpWelcome = "このテンプレートを使えば、株式のポートフォリオをより効率的に管理できます。" 62 sStartUpChooseMarket = "まず、インターネットにより情報を更新する基準通貨と、対応する証券取引所を選択します。" 63 sStartUpHint = "残念ながら、<History> 機能を使用できるのは米国市場に限られています。" 64 sStartupHint = ReplaceString(sStartUpHint, sHistory, "<History>") 65 sNoInternetUpdate = "インターネットによる情報の更新を行いません" 66 sMarketPlace = "証券取引所:" 67 sNoInternetDataAvailable = "インターネットから株価情報を受信できない場合があります!" 68 sCheckInternetSettings = "考えられる原因は次のとおりです。<BR>インターネット設定の変更が必要です。<BR>入力した株式のが間違っています。" 69 sCheckInternetSettings = ReplaceString(sCheckInternetSettings, chr(13), "<BR>") 70 71 sMsgEndDatebeforeNow = "終了日は、今日の日付より前であることが必要です。" 72 sMsgStartDatebeforeEndDate = "開始日は、終了日より前であることが必要です。" 73 74 sMarket(0,0) = "米ドル" 75 sMarket(0,1) = "$" 76 sMarket(0,2) = "ニューヨーク" 77 sMarket(0,3) = "http://finance.yahoo.com/d/quotes.csv?s=<StockID>&f=sl1d1t1c1ohgv&e=.csv" 78 sMarket(0,4) = "http://ichart.finance.yahoo.com/table.csv?" &_ 79 "s=<StockID>&d=<EndMonth>&e=<EndDay>&f=<Endyear>&g=d&" &_ 80 "a=<StartMonth>&b=<StartDay>&c=<Startyear>&ignore=.csv" 81 sMarket(0,5) = "シンボル" 82 sMarket(0,6) = "en" 83 sMarket(0,7) = "US" 84 sMarket(0,8) = "409" 85 sMarket(0,9) = "44" 86 sMarket(0,10) = "1" 87 88 sMarket(1,0) = "ユーロ" 89 sMarket(1,1) = chr(8364) 90 sMarket(1,2) = "フランクフルト" 91 sMarket(1,3) = "http://de.finance.yahoo.com/d/quotes.csv?s=<StockID>.F&f=sl1t1c1ghpv&e=.csv" 92 sMarket(1,5) = "銘柄コード" 93 sMarket(1,6) = "de;nl;pt;el" 94 sMarket(1,7) = "DE;NL;PT;GR" 95 sMarket(1,8) = "407;413;816;408" 96 sMarket(1,9) = "59/9" 97 sMarket(1,10) = "1" 98 99 sMarket(2,0) = "英ポンド" 100 sMarket(2,1) = "£" 101 sMarket(2,2) = "ロンドン" 102 sMarket(2,3) = "http://uk.finance.yahoo.com/d/quotes.csv?s=<StockID>.L&m=*&f=sl1t1c1ghov&e=.csv" 103 sMarket(2,5) = "シンボル" 104 sMarket(2,6) = "en" 105 sMarket(2,7) = "GB" 106 sMarket(2,8) = "809" 107 sMarket(2,9) = "44" 108 sMarket(2,10) = "1" 109 110 sMarket(3,0) = "日本円" 111 sMarket(3,1) = "¥" 112 sMarket(3,2) = "東京" 113 sMarket(3,3) = "" 114 sMarket(3,5) = "コード" 115 sMarket(3,6) = "ja" 116 sMarket(3,7) = "JP" 117 sMarket(3,8) = "411" 118 sMarket(3,9) = "" 119 sMarket(3,10) = "" 120 121 sMarket(4,0) = "香港ドル" 122 sMarket(4,1) = "HK$" 123 sMarket(4,2) = "香港" 124 sMarket(4,3) = "http://hk.finance.yahoo.com/d/quotes.csv?s=<StockID>.HK&f=sl1d1t1c1ohgv&e=.csv" 125 sMarket(4,5) = "番号" 126 sMarket(4,6) = "zh" 127 sMarket(4,7) = "HK" 128 sMarket(4,8) = "C04" 129 sMarket(4,9) = "44" 130 sMarket(4,10) = "1" 131 132 sMarket(5,0) = "オーストリア・ドル" 133 sMarket(5,1) = "$" 134 sMarket(5,2) = "シドニー" 135 sMarket(5,3) = "http://au.finance.yahoo.com/d/quotes.csv?s=<StockID>&f=sl1d1t1c1ohgv&e=.csv" 136 sMarket(5,5) = "シンボル" 137 sMarket(5,6) = "en" 138 sMarket(5,7) = "AU" 139 sMarket(5,8) = "C09" 140 sMarket(5,9) = "44" 141 sMarket(5,10) = "1" 142 143' ****************************End of the default subset********************************* 144 CompleteMarketList() 145 146 LocalizedCurrencies() 147 148 With TransactModel 149 .lblStockNames.Label = sStockname 150 .lblQuantity.Label = "株数" 151 .lblRate.Label = "価格" 152 .lblDate.Label = "取引日" 153 .hlnCommission.Label = "その他の経費n" 154 .lblCommission.Label = "手数料" 155 .lblMinimum.Label = "最低手数料" 156 .lblFix.Label = "固定費/諸経費" 157 .cmdGoOn.Label = sOK 158 .cmdCancel.Label = sCancel 159 End With 160 161 With StockRatesModel 162 .optPerShare.Label = "配当金/株式数" 163 .optTotal.Label = "配当金の総額" 164 .lblDividend.Label = "金額" 165 .lblExchangeRate.Label = "交換比率(旧株->新株)" 166 .lblColon.Label = ":" 167 .lblDate.Label = "交換日:" 168 .lblStockNames.Label = sStockname 169 .lblStartDate.Label = sStartDate 170 .lblEndDate.Label = sEndDate 171 .optDaily.Label = "~毎日" 172 .optWeekly.Label = "~毎週" 173 .hlnInterval.Label = "期間" 174 .cmdGoOn.Label = sOk 175 .cmdCancel.Label = sCancel 176 End With 177End Sub 178</script:module> 179