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_sv" script:language="StarBasic">Option Explicit 24 25Sub LoadSwedishLanguage() 26 sProductname = GetProductname 27 sOK = "~OK" 28 sCancel = "Avbryt" 29 sColumnHeader = "Kolumnhuvud" 30 sInsertStockName = "Infoga först några aktier i Din portfölj!" 31 sTitle = "<PRODUCTNAME>: Aktieförvaltning" 32 sTitle = ReplaceString(sTitle, sProductName, "<PRODUCTNAME>") 33 sMsgError = "Inmatningsfel" 34 sMsgNoName = sInsertStockname 35 sMsgNoQuantity = "Var vänlig och mata in ett större antal än 0" 36 sMsgNoDividend = "Var vänlig och mata in utdelning per styck eller den totala utdelningen" 37 sMsgNoExchangeRate = "Var vänlig och mata in en korrekt omräkningskurs (gamla aktier -> nya aktier)." 38 sMsgNoValidExchangeDate = "Var vänlig och mata in ett giltigt datum för aktiesplitten." 39 sMsgWrongExchangeDate = "Split är inte möjlig eftersom det redan finns transaktioner efter splitdatum." 40 sMsgSellTooMuch = "Så många aktier kan Du inte sälja. Maximum: " 41 sMsgConfirm = "Bekräftelse krävs" 42 sMsgFreeStock = "Avser Du att mata in gratisaktier?" 43 sMsgTotalLoss = "Avser Du att mata in en totalförlust?" 44 sMsgAuthorization = "Säkerhetskontroll" 45 sMsgDeleteAll = "Vill Du ta bort alla rörelser och återställa portföljöversikten?" 46 cSplit = "Aktiesplit den " 47 sHistory = "Historik" 48 TransactTitle(1) = "Sälja aktier" 49 TransactTitle(2) = "Köpa aktier" 50 StockRatesTitle(1) = "Aktieutdelning" 51 StockRatesTitle(2) = "Aktiesplit" 52 StockRatesTitle(3) = sHistory 53 sDepotCurrency = "Portföljvaluta" 54 sStockName = "Aktienamn" 55 TransactMode = LIFO ' Possible values: "FIFO" and "LIFO" 56 DateCellStyle = "Resultat datum" 57 CurrCellStyle = "1" 58 sStartDate = "Startdatum:" 59 sEndDate = "Slutdatum:" 60 sStartUpWelcome = "Med hjälp av den här mallen kan Du förvalta Din aktieportfölj effektivt" 61 sStartUpChooseMarket = "Välj först Din referensvaluta och därigenom börs för Internet-uppdateringen!" 62 sStartUpHint = "Tyvärr är <History>-funktionen bara tillgänglig för den amerikanska marknaden!" 63 sStartupHint = ReplaceString(sStartUpHint, sHistory, "<History>") 64 sNoInternetUpdate = "utan Internet-uppdatering" 65 sMarketPlace = "Börs:" 66 sNoInternetDataAvailable = "Det gick inte att ta emot Internet-kurser!" 67 sCheckInternetSettings = "Detta kan bero på att: <BR> Dina Internet-inställningar måste ändras.<BR> Du har angivit ett felaktigt ID (t.ex. symbol, värdepappersnr.) för aktien." 68 sCheckInternetSettings = ReplaceString(sCheckInternetSettings, chr(13), "<BR>") 69 70 sMsgEndDatebeforeNow = "Slutdatum måste ligga före idag!" 71 sMsgStartDatebeforeEndDate = "Startdatum måste ligga före slutdatum!" 72 73 sMarket(0,0) = "Amerikansk dollar" 74 sMarket(0,1) = "$" 75 sMarket(0,2) = "New York" 76 sMarket(0,3) = "http://finance.yahoo.com/d/quotes.csv?s=<StockID>&f=sl1d1t1c1ohgv&e=.csv" 77 sMarket(0,4) = "http://ichart.finance.yahoo.com/table.csv?" &_ 78 "s=<StockID>&d=<EndMonth>&e=<EndDay>&f=<Endyear>&g=d&" &_ 79 "a=<StartMonth>&b=<StartDay>&c=<Startyear>&ignore=.csv" 80 sMarket(0,5) = "Symbol" 81 sMarket(0,6) = "en" 82 sMarket(0,7) = "US" 83 sMarket(0,8) = "409" 84 sMarket(0,9) = "44" 85 sMarket(0,10) = "1" 86 87 sMarket(1,0) = "Euro" 88 sMarket(1,1) = chr(8364) 89 sMarket(1,2) = "Frankfurt" 90 sMarket(1,3) = "http://de.finance.yahoo.com/d/quotes.csv?s=<StockID>.F&f=sl1t1c1ghpv&e=.csv" 91 sMarket(1,5) = "Värdepappersnr" 92 sMarket(1,6) = "de;nl;pt;el" 93 sMarket(1,7) = "DE;NL;PT;GR" 94 sMarket(1,8) = "407;413;816;408" 95 sMarket(1,9) = "59/9" 96 sMarket(1,10) = "1" 97 98 sMarket(2,0) = "Engelskt pund" 99 sMarket(2,1) = "£" 100 sMarket(2,2) = "London" 101 sMarket(2,3) = "http://uk.finance.yahoo.com/d/quotes.csv?s=<StockID>.L&m=*&f=sl1t1c1ghov&e=.csv" 102 sMarket(2,5) = "Symbol" 103 sMarket(2,6) = "en" 104 sMarket(2,7) = "GB" 105 sMarket(2,8) = "809" 106 sMarket(2,9) = "44" 107 sMarket(2,10) = "1" 108 109 sMarket(3,0) = "Japansk yen" 110 sMarket(3,1) = "¥" 111 sMarket(3,2) = "Tokyo" 112 sMarket(3,3) = "" 113 sMarket(3,5) = "Kod" 114 sMarket(3,6) = "ja" 115 sMarket(3,7) = "JP" 116 sMarket(3,8) = "411" 117 sMarket(3,9) = "" 118 sMarket(3,10) = "" 119 120 sMarket(4,0) = "Hongkongdollar" 121 sMarket(4,1) = "HK$" 122 sMarket(4,2) = "Hongkong" 123 sMarket(4,3) = "http://hk.finance.yahoo.com/d/quotes.csv?s=<StockID>&f=sl1d1t1c1ohgv&e=.csv" 124 sMarket(4,5) = "Nummer" 125 sMarket(4,6) = "zh" 126 sMarket(4,7) = "HK" 127 sMarket(4,8) = "C04" 128 sMarket(4,9) = "44" 129 sMarket(4,10) = "1" 130 131 sMarket(5,0) = "Australisk dollar" 132 sMarket(5,1) = "$" 133 sMarket(5,2) = "Sydney" 134 sMarket(5,3) = "http://au.finance.yahoo.com/d/quotes.csv?s=<StockID>&f=sl1d1t1c1ohgv&e=.csv" 135 sMarket(5,5) = "Symbol" 136 sMarket(5,6) = "en" 137 sMarket(5,7) = "AU" 138 sMarket(5,8) = "C09" 139 sMarket(5,9) = "44" 140 sMarket(5,10) = "1" 141 142' ****************************End of the default subset********************************* 143 CompleteMarketList() 144 145 LocalizedCurrencies() 146 147 With TransactModel 148 .lblStockNames.Label = sStockname 149 .lblQuantity.Label = "Antal" 150 .lblRate.Label = "Kurs" 151 .lblDate.Label = "Transaktionsdatum" 152 .hlnCommission.Label = "Övriga utgifter" 153 .lblCommission.Label = "Provision" 154 .lblMinimum.Label = "Minimiprovision" 155 .lblFix.Label = "Fast belopp/omkostnader" 156 .cmdGoOn.Label = sOK 157 .cmdCancel.Label = sCancel 158 End With 159 160 With StockRatesModel 161 .optPerShare.Label = "Utdelning per aktie" 162 .optTotal.Label = "Utdelning totalt" 163 .lblDividend.Label = "Belopp" 164 .lblExchangeRate.Label = "Omräkningskurs (gammal->ny)" 165 .lblColon.Label = ":" 166 .lblDate.Label = "Omräkningsdatum:" 167 .lblStockNames.Label = sStockname 168 .lblStartDate.Label = sStartDate 169 .lblEndDate.Label = sEndDate 170 .optDaily.Label = "~Dagligen" 171 .optWeekly.Label = "~Varje vecka" 172 .hlnInterval.Label = "Period" 173 .cmdGoOn.Label = sOk 174 .cmdCancel.Label = sCancel 175 End With 176End Sub 177</script:module> 178