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