xref: /trunk/main/wizards/source/depot/Lang_en.xba (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
3<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Lang_en" script:language="StarBasic">Option Explicit
4
5Sub LoadEnglishLanguage()
6
7    sProductname = GetProductname
8    sOK = &quot;~OK&quot;
9    sCancel = &quot;Cancel&quot;
10    sColumnHeader = &quot;Column Header&quot;
11    sInsertStockName = &quot;Please enter shares in your portfolio.&quot;
12    sTitle = &quot;&lt;PRODUCTNAME&gt;: Stocks Manager&quot;
13    sTitle = ReplaceString(sTitle, sProductName, &quot;&lt;PRODUCTNAME&gt;&quot;)
14    sMsgError = &quot;Input Error&quot;
15    sMsgNoName = sInsertStockname
16    sMsgNoQuantity = &quot;Please enter a quantity larger than 0&quot;
17    sMsgNoDividend = &quot;Please enter the dividend per share or the total dividend&quot;
18    sMsgNoExchangeRate = &quot;Please enter the correct exchange rate (old shares -&gt; new shares)&quot;
19    sMsgNoValidExchangeDate = &quot;Please enter a valid date for the split.&quot;
20    sMsgWrongExchangeDate = &quot;Splitting not possible, as transactions already exist after the split date.&quot;
21    sMsgSellTooMuch = &quot;You cannot sell that many shares. Maximum: &quot;
22    sMsgConfirm = &quot;Confirmation Required&quot;
23    sMsgFreeStock = &quot;Do you intend to enter free shares?&quot;
24    sMsgTotalLoss = &quot;Do you intend to enter a total loss?&quot;
25    sMsgAuthorization = &quot;Security Query&quot;
26    sMsgDeleteAll = &quot;Do you want to delete all movements and reset the portfolio overview?&quot;
27    cSplit = &quot;Stock split on &quot;
28    sHistory = &quot;History&quot;
29    TransactTitle(1) =   &quot;StarOffice Stocks Manager: Selling Shares&quot;
30    TransactTitle(2) = &quot;StarOffice Stocks Manager: Buying Shares&quot;
31    StockRatesTitle(1) = &quot;StarOffice Stocks Manager: Dividend Payment&quot;
32    StockRatesTitle(2) = &quot;Stock Split&quot;
33    StockRatesTitle(3) = sHistory
34    sDepotCurrency = &quot;Portfolio Currency&quot;
35    sStockName = &quot;Name of Stock&quot;
36    TransactMode = LIFO &apos; Possible values: &quot;FIFO&quot; and &quot;LIFO&quot;
37    DateCellStyle = &quot;Result Date&quot;
38    CurrCellStyle = &quot;1&quot;
39    sStartDate = &quot;Start date:&quot;
40    sEndDate = &quot;End date:&quot;
41    sStartUpWelcome = &quot;This template enables you to manage your stock portfolio efficiently.&quot;
42    sStartUpChooseMarket = &quot;First, select your reference currency and thus the stock exchange for the Internet update.&quot;
43    sStartUpHint = &quot;Unfortunately, the only &lt;History&gt; function available to you is that for the American market.&quot;
44    sStartupHint = ReplaceString(sStartUpHint, sHistory, &quot;&lt;History&gt;&quot;)
45    sNoInternetUpdate = &quot;without Internet update&quot;
46    sMarketPlace = &quot;Stock exchange:&quot;
47    sNoInternetDataAvailable = &quot;No prices could be received from the Internet!&quot;
48    sCheckInternetSettings = &quot;Possible causes could be: &lt;BR&gt;Your Internet settings have to be modified. &lt;BR&gt;The Symbol (e.g. Code, Ticker Symbol) entered for the stock was incorrect.&quot;
49    sCheckInternetSettings = ReplaceString(sCheckInternetSettings, chr(13), &quot;&lt;BR&gt;&quot;)
50
51    sMsgEndDatebeforeNow = &quot;The end date has to be before today&apos;s date.&quot;
52    sMsgStartDatebeforeEndDate = &quot;The start date has to be before the end date.&quot;
53
54    sMarket(0,0) = &quot;American Dollar&quot;
55    sMarket(0,1) = &quot;$&quot;
56    sMarket(0,2) = &quot;New York&quot;
57    sMarket(0,3) = &quot;http://finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
58    sMarket(0,4) = &quot;http://ichart.finance.yahoo.com/table.csv?&quot; &amp;_
59                   &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;_
60                   &quot;a=&lt;StartMonth&gt;&amp;b=&lt;StartDay&gt;&amp;c=&lt;Startyear&gt;&amp;ignore=.csv&quot;
61    sMarket(0,5) = &quot;Symbol&quot;
62    sMarket(0,6) = &quot;en&quot;
63    sMarket(0,7) = &quot;US&quot;
64    sMarket(0,8) = &quot;409&quot;
65    sMarket(0,9) = &quot;44&quot;
66    sMarket(0,10) = &quot;1&quot;
67
68    sMarket(1,0) = &quot;Euro&quot;
69    sMarket(1,1) = chr(8364)
70    sMarket(1,2) = &quot;Frankfurt&quot;
71    sMarket(1,3) = &quot;http://de.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;.F&amp;f=sl1t1c1ghpv&amp;e=.csv&quot;
72    sMarket(1,5) = &quot;Ticker Symbol&quot;
73    sMarket(1,6) = &quot;de;nl;pt;el&quot;
74    sMarket(1,7) = &quot;DE;NL;PT;GR&quot;
75    sMarket(1,8) = &quot;407;413;816;408&quot;
76    sMarket(1,9) = &quot;59/9&quot;
77    sMarket(1,10) = &quot;1&quot;
78
79    sMarket(2,0) = &quot;British Pound&quot;
80    sMarket(2,1) = &quot;£&quot;
81    sMarket(2,2) = &quot;London&quot;
82    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;
83    sMarket(2,5) = &quot;Symbol&quot;
84    sMarket(2,6) = &quot;en&quot;
85    sMarket(2,7) = &quot;GB&quot;
86    sMarket(2,8) = &quot;809&quot;
87    sMarket(2,9) = &quot;44&quot;
88    sMarket(2,10) = &quot;1&quot;
89
90    sMarket(3,0) = &quot;Japanese Yen&quot;
91    sMarket(3,1) = &quot;¥&quot;
92    sMarket(3,2) = &quot;Tokyo&quot;
93    sMarket(3,3) = &quot;&quot;
94    sMarket(3,5) = &quot;Code&quot;
95    sMarket(3,6) = &quot;ja&quot;
96    sMarket(3,7) = &quot;JP&quot;
97    sMarket(3,8) = &quot;411&quot;
98    sMarket(3,9) = &quot;&quot;
99    sMarket(3,10) = &quot;&quot;
100
101    sMarket(4,0) = &quot;Hong Kong Dollar&quot;
102    sMarket(4,1) = &quot;HK$&quot;
103    sMarket(4,2) = &quot;Hong Kong&quot;
104    sMarket(4,3) = &quot;http://hk.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
105    sMarket(4,5) = &quot;Number&quot;
106    sMarket(4,6) = &quot;zh&quot;
107    sMarket(4,7) = &quot;HK&quot;
108    sMarket(4,8) = &quot;C04&quot;
109    sMarket(4,9) = &quot;44&quot;
110    sMarket(4,10) = &quot;1&quot;
111
112    sMarket(5,0) = &quot;Australian Dollar&quot;
113    sMarket(5,1) = &quot;$&quot;
114    sMarket(5,2) = &quot;Sydney&quot;
115    sMarket(5,3) = &quot;http://au.finance.yahoo.com/d/quotes.csv?s=&lt;StockID&gt;&amp;f=sl1d1t1c1ohgv&amp;e=.csv&quot;
116    sMarket(5,5) = &quot;Symbol&quot;
117    sMarket(5,6) = &quot;en&quot;
118    sMarket(5,7) = &quot;AU&quot;
119    sMarket(5,8) = &quot;C09&quot;
120    sMarket(5,9) = &quot;44&quot;
121    sMarket(5,10) = &quot;1&quot;
122
123&apos; ****************************End of the default subset*********************************
124    CompleteMarketList()
125
126    LocalizedCurrencies()
127
128    With TransactModel
129        .lblStockNames.Label = sStockname
130        .lblQuantity.Label = &quot;Quantity&quot;
131        .lblRate.Label = &quot;Price&quot;
132        .lblDate.Label = &quot;Transaction Date&quot;
133        .hlnCommission.Label = &quot;Other expenditures&quot;
134        .lblCommission.Label = &quot;Commission&quot;
135        .lblMinimum.Label = &quot;Min. Commission&quot;
136        .lblFix.Label = &quot;Fixed Costs/Charges&quot;
137        .cmdGoOn.Label = sOK
138        .cmdCancel.Label = sCancel
139    End With
140
141    With StockRatesModel
142        .optPerShare.Label = &quot;Dividends/Stocks&quot;
143        .optTotal.Label = &quot;Total Dividends&quot;
144        .lblDividend.Label = &quot;Amount&quot;
145        .lblExchangeRate.Label = &quot;Exchange Rate (old-&gt;new)&quot;
146        .lblColon.Label = &quot;:&quot;
147        .lblDate.Label = &quot;Exchange Date:&quot;
148        .lblStockNames.Label = sStockname
149        .lblStartDate.Label = sStartDate
150        .lblEndDate.Label = sEndDate
151        .optDaily.Label = &quot;~Daily&quot;
152        .optWeekly.Label = &quot;~Weekly&quot;
153        .hlnInterval.Label = &quot;Time period&quot;
154        .cmdGoOn.Label = sOk
155        .cmdCancel.Label = sCancel
156    End With
157End Sub
158</script:module>