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