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