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