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