1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef EXTENSIONS_ABPRESID_HRC
25#include "abpresid.hrc"
26#endif
27
28//........................................................................
29ModalDialog RID_DLG_ADDRESSBOOKSOURCEPILOT
30{
31	Text [ en-US ] = "Address Book Data Source Wizard" ;
32
33	HelpId = HID_ABSPILOT;
34
35	OutputSize		= TRUE ;
36	SVLook			= TRUE ;
37	Moveable		= TRUE ;
38	Closeable		= TRUE ;
39	Hide			= TRUE;
40
41    String STR_SELECT_ABTYPE
42    {
43        Text [ en-US ] = "Address book type";
44    };
45
46    String STR_INVOKE_ADMIN_DIALOG
47    {
48        Text [ en-US ] = "Connection Settings";
49    };
50
51    String STR_TABLE_SELECTION
52    {
53        Text [ en-US ] = "Table selection";
54    };
55
56    String STR_MANUAL_FIELD_MAPPING
57    {
58        Text [ en-US ] = "Field Assignment";
59    };
60
61    String STR_FINAL_CONFIRM
62    {
63        Text [ en-US ] = "Data Source Title";
64    };
65};
66
67//........................................................................
68TabPage RID_PAGE_SELECTABTYPE
69{
70    HelpID = "extensions:TabPage:RID_PAGE_SELECTABTYPE";
71	SVLook	= TRUE ;
72	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
73
74	FixedText FT_TYPE_HINTS
75	{
76		Pos		= MAP_APPFONT ( BORDER_X, 9 ) ;
77		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
78		WordBreak = TRUE;
79
80		Text [ en-US ] = "%PRODUCTNAME lets you access address data already present in your system. To do this, a %PRODUCTNAME data source will be created in which your address data is available in tabular form.\n\nThis wizard helps you create the data source.";
81	};
82
83	FixedLine FL_TYPE
84	{
85		Pos		= MAP_APPFONT ( 7, 56 ) ;
86		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 14, 8 ) ;
87
88		Text [ en-US ] = "Please select the type of your external address book:";
89	};
90
91	RadioButton RB_EVOLUTION
92 	{
93	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION";
94 		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
95		Text [ en-US ] = "Evolution";
96	};
97	RadioButton RB_EVOLUTION_GROUPWISE
98 	{
99	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_GROUPWISE";
100 		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
101		Text [ en-US ] = "Groupwise";
102	};
103	RadioButton RB_EVOLUTION_LDAP
104 	{
105	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_LDAP";
106 		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
107		Text [ en-US ] = "Evolution LDAP";
108	};
109	RadioButton RB_MORK
110	{
111	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MORK";
112		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
113		Text [ en-US ] = "Mozilla / Netscape";
114	};
115	RadioButton RB_THUNDERBIRD
116	{
117	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_THUNDERBIRD";
118		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
119		Text [ en-US ] = "Thunderbird";
120	};
121	RadioButton RB_KAB
122 	{
123	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_KAB";
124 		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
125		Text [ en-US ] = "KDE address book";
126	};
127	RadioButton RB_MACAB
128	{
129	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MACAB";
130		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
131		Text [ en-US ] = "Mac OS X address book";
132	};
133	RadioButton RB_LDAP
134	{
135	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_LDAP";
136		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
137		Text [ en-US ] = "LDAP address data";
138	};
139	RadioButton RB_OUTLOOK
140	{
141	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOK";
142		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
143		Text [ en-US ] = "Outlook address book";
144	};
145	RadioButton RB_OUTLOOKEXPRESS
146	{
147	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOKEXPRESS";
148		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
149		Text [ en-US ] = "Windows system address book";
150	};
151	RadioButton RB_OTHER
152	{
153	    HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OTHER";
154		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
155		Text [ en-US ] = "Other external data source";
156	};
157};
158
159//........................................................................
160TabPage RID_PAGE_ADMININVOKATION
161{
162    HelpID = "extensions:TabPage:RID_PAGE_ADMININVOKATION";
163	SVLook	= TRUE ;
164	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
165
166	FixedText FT_ADMINEXPLANATION
167	{
168		Pos		= MAP_APPFONT ( BORDER_X, 9 ) ;
169		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
170		WordBreak = TRUE;
171
172		Text [ en-US ] = "To set up the new data source, additional information is required.\n\nClick the following button to open another dialog in which you then enter the necessary information.";
173	};
174
175	PushButton PB_INVOKE_ADMIN_DIALOG
176	{
177	    HelpID = "extensions:PushButton:RID_PAGE_ADMININVOKATION:PB_INVOKE_ADMIN_DIALOG";
178		Pos		= MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 60 ) ;
179		Size	= MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
180
181		Text [ en-US ] = "Settings";
182	};
183
184	FixedText FT_ERROR
185	{
186		Pos		= MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 48 ) ;
187		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
188		WordBreak = TRUE;
189		Hide = TRUE;
190
191		Text [ en-US ] = "The connection to the data source could not be established.\nBefore you proceed, please check the settings made, or (on the previous page) choose another address data source type.";
192	};
193};
194
195//........................................................................
196TabPage RID_PAGE_TABLESELECTION_AB
197{
198    HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION_AB";
199	SVLook	= TRUE ;
200	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
201
202	FixedText FL_TOOMUCHTABLES
203	{
204		Pos		= MAP_APPFONT ( BORDER_X, 9 ) ;
205		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24 ) ;
206		WordBreak = TRUE;
207
208		Text [ en-US ] = "The external data source you have chosen contains more than one address book.\nPlease select the one you mainly want to work with:";
209	};
210
211	ListBox LB_TABLELIST
212	{
213	    HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION_AB:LB_TABLELIST";
214		Pos		= MAP_APPFONT ( BORDER_X, 36 ) ;
215		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 50 ) ;
216		SVLook = TRUE;
217		Sort = TRUE;
218		DropDown = FALSE;
219		AutoHScroll = TRUE;
220		Border = TRUE;
221	};
222};
223
224//........................................................................
225TabPage RID_PAGE_FIELDMAPPING
226{
227    HelpID = "extensions:TabPage:RID_PAGE_FIELDMAPPING";
228	SVLook	= TRUE ;
229	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
230
231	FixedText FT_FIELDASSIGMENTEXPL
232	{
233		Pos		= MAP_APPFONT ( BORDER_X, 9 ) ;
234		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 72 ) ;
235		WordBreak = TRUE;
236
237		Text [ en-US ] = "To incorporate the address data in your templates, %PRODUCTNAME has to know which fields contain which data.\n\nFor instance, you could have stored the e-mail addresses in a field named \"email\", or \"E-mail\" or \"EM\" - or something completely different.\n\nClick the button below to open another dialog where you can enter the settings for your data source.";
238	};
239
240	PushButton PB_INVOKE_FIELDS_DIALOG
241	{
242	    HelpID = "extensions:PushButton:RID_PAGE_FIELDMAPPING:PB_INVOKE_FIELDS_DIALOG";
243		Pos		= MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 84 ) ;
244		Size	= MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
245
246		Text [ en-US ] = "Field Assignment";
247	};
248
249	FixedText FT_ASSIGNEDFIELDS
250	{
251		Pos		= MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 32 ) ;
252		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 32 ) ;
253		WordBreak = TRUE;
254	};
255};
256
257//........................................................................
258TabPage RID_PAGE_FINAL
259{
260    HelpID = "extensions:TabPage:RID_PAGE_FINAL";
261	SVLook	= TRUE ;
262	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
263
264	FixedText FT_FINISH_EXPL
265	{
266		Pos		= MAP_APPFONT ( BORDER_X, 9 ) ;
267		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
268		WordBreak = TRUE;
269
270		Text [ en-US ] = "That was all the information necessary to integrate your address data into %PRODUCTNAME.\n\nNow, just enter the name under which you want to register the data source in %PRODUCTNAME.";
271	};
272
273	FixedText FT_LOCATION
274	{
275		Pos		= MAP_APPFONT ( BORDER_X, 53 ) ;
276		Size	= MAP_APPFONT ( 50, 8 ) ;
277		Group = TRUE;
278
279		Text [ en-US ] = "Location";
280	};
281
282	ComboBox CBB_LOCATION
283	{
284	    HelpID = "extensions:ComboBox:RID_PAGE_FINAL:CBB_LOCATION";
285		Pos		= MAP_APPFONT ( BORDER_X , 64 ) ;
286		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 53 - BORDER_X - BORDER_X, 12) ;
287		SVLook = TRUE;
288		Border = TRUE;
289		DropDown = TRUE ;
290		AutoHScroll = TRUE ;
291	};
292
293	PushButton PB_BROWSE
294	{
295	    HelpID = "extensions:PushButton:RID_PAGE_FINAL:PB_BROWSE";
296		Pos		= MAP_APPFONT ( WINDOW_SIZE_X - 50 - BORDER_X  , 63 ) ;
297		Size	= MAP_APPFONT ( 50, 14) ;
298		SVLook = TRUE;
299		Group = FALSE;
300
301		Text [ en-US ] = "Browse...";
302	};
303
304	CheckBox CB_REGISTER_DS
305	{
306	    HelpID = "extensions:CheckBox:RID_PAGE_FINAL:CB_REGISTER_DS";
307		Pos		= MAP_APPFONT ( BORDER_X, 82 ) ;
308		Size	= MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X, 8) ;
309		SVLook = TRUE;
310		Group = TRUE;
311
312		Text [ en-US ] = "Make this address book available to all modules in %PRODUCTNAME.";
313	};
314	FixedText FT_NAME_EXPL
315	{
316		Pos		= MAP_APPFONT ( BORDER_X + 10, 93 ) ;
317		Size	= MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X - 10, 8 ) ;
318
319		Text [ en-US ] = "Address book name";
320	};
321
322	Edit ET_DATASOURCENAME
323	{
324	    HelpID = "extensions:Edit:RID_PAGE_FINAL:ET_DATASOURCENAME";
325		Pos		= MAP_APPFONT ( BORDER_X + 10, 104 ) ;
326		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 56 - BORDER_X - BORDER_X - 10, 12) ;
327		SVLook = TRUE;
328		Border = TRUE;
329	};
330
331	FixedText FT_DUPLICATENAME
332	{
333		Pos		= MAP_APPFONT ( BORDER_X + 10, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 24 ) ;
334		Size	= MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24) ;
335		WordBreak = TRUE;
336		Hide = TRUE;
337		Group = FALSE;
338
339		Text [ en-US ] = "Another data source already has this name. As data sources have to have globally unique names, you need to choose another one.";
340	};
341};
342
343//........................................................................
344ErrorBox RID_ERR_NEEDTYPESELECTION
345{
346	Buttons = WB_OK;
347
348	Message [ en-US ] = "Please select a type of address book.";
349};
350
351//........................................................................
352QueryBox RID_QRY_NOTABLES
353{
354	Buttons = WB_YES_NO;
355	DefButton = WB_DEF_NO;
356
357	Message [ en-US ] = "The data source does not contain any tables.\nDo you want to set it up as an address data source, anyway?";
358};
359
360//........................................................................
361String RID_STR_DEFAULT_NAME
362{
363	Text [ en-US ] = "Addresses";
364};
365
366String RID_STR_ADMINDIALOGTITLE
367{
368	Text [ en-US ] = "Create Address Data Source";
369};
370
371String RID_STR_NOCONNECTION
372{
373	Text [ en-US ] = "The connection could not be established.";
374};
375
376String RID_STR_PLEASECHECKSETTINGS
377{
378	Text [ en-US ] = "Please check the settings made for the data source.";
379};
380
381String RID_STR_FIELDDIALOGTITLE
382{
383	Text [ en-US ] = "Address Data - Field Assignment";
384};
385
386String RID_STR_NOFIELDSASSIGNED
387{
388	Text [ en-US ] = "There are no fields assigned at this time.\nYou can either assign fields now or do so later by first choosing:\n\"File - Template - Address Book Source...\"";
389};
390
391//........................................................................
392Bitmap BMP_HEADERIMAGE
393{
394	file = "addresspilot.bmp";
395};
396