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