Lang_sv.xba 7.9 KB

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