xref: /trunk/main/extensions/source/abpilot/abspilot.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef EXTENSIONS_ABPRESID_HRC
29#include "abpresid.hrc"
30#endif
31
32//........................................................................
33ModalDialog RID_DLG_ADDRESSBOOKSOURCEPILOT
34{
35    Text [ en-US ] = "Address Book Data Source Wizard" ;
36
37    HelpId = HID_ABSPILOT;
38
39    OutputSize      = TRUE ;
40    SVLook          = TRUE ;
41    Moveable        = TRUE ;
42    Closeable       = TRUE ;
43    Hide            = TRUE;
44
45    String STR_SELECT_ABTYPE
46    {
47        Text [ en-US ] = "Address book type";
48    };
49
50    String STR_INVOKE_ADMIN_DIALOG
51    {
52        Text [ en-US ] = "Connection Settings";
53    };
54
55    String STR_TABLE_SELECTION
56    {
57        Text [ en-US ] = "Table selection";
58    };
59
60    String STR_MANUAL_FIELD_MAPPING
61    {
62        Text [ en-US ] = "Field Assignment";
63    };
64
65    String STR_FINAL_CONFIRM
66    {
67        Text [ en-US ] = "Data Source Title";
68    };
69};
70
71//........................................................................
72TabPage RID_PAGE_SELECTABTYPE
73{
74    HelpID = "extensions:TabPage:RID_PAGE_SELECTABTYPE";
75    SVLook  = TRUE ;
76    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
77
78    FixedText FT_TYPE_HINTS
79    {
80        Pos     = MAP_APPFONT ( BORDER_X, 9 ) ;
81        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
82        WordBreak = TRUE;
83
84        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.";
85    };
86
87    FixedLine FL_TYPE
88    {
89        Pos     = MAP_APPFONT ( 7, 56 ) ;
90        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 14, 8 ) ;
91
92        Text [ en-US ] = "Please select the type of your external address book:";
93    };
94
95    RadioButton RB_EVOLUTION
96    {
97        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION";
98        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
99        Text [ en-US ] = "Evolution";
100    };
101    RadioButton RB_EVOLUTION_GROUPWISE
102    {
103        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_GROUPWISE";
104        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
105        Text [ en-US ] = "Groupwise";
106    };
107    RadioButton RB_EVOLUTION_LDAP
108    {
109        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_LDAP";
110        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
111        Text [ en-US ] = "Evolution LDAP";
112    };
113    RadioButton RB_MORK
114    {
115        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MORK";
116        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
117        Text [ en-US ] = "Mozilla / Netscape";
118    };
119    RadioButton RB_THUNDERBIRD
120    {
121        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_THUNDERBIRD";
122        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
123        Text [ en-US ] = "Thunderbird";
124    };
125    RadioButton RB_KAB
126    {
127        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_KAB";
128        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
129        Text [ en-US ] = "KDE address book";
130    };
131    RadioButton RB_MACAB
132    {
133        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MACAB";
134        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
135        Text [ en-US ] = "Mac OS X address book";
136    };
137    RadioButton RB_LDAP
138    {
139        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_LDAP";
140        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
141        Text [ en-US ] = "LDAP address data";
142    };
143    RadioButton RB_OUTLOOK
144    {
145        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOK";
146        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
147        Text [ en-US ] = "Outlook address book";
148    };
149    RadioButton RB_OUTLOOKEXPRESS
150    {
151        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOKEXPRESS";
152        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
153        Text [ en-US ] = "Windows system address book";
154    };
155    RadioButton RB_OTHER
156    {
157        HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OTHER";
158        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
159        Text [ en-US ] = "Other external data source";
160    };
161};
162
163//........................................................................
164TabPage RID_PAGE_ADMININVOKATION
165{
166    HelpID = "extensions:TabPage:RID_PAGE_ADMININVOKATION";
167    SVLook  = TRUE ;
168    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
169
170    FixedText FT_ADMINEXPLANATION
171    {
172        Pos     = MAP_APPFONT ( BORDER_X, 9 ) ;
173        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
174        WordBreak = TRUE;
175
176        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.";
177    };
178
179    PushButton PB_INVOKE_ADMIN_DIALOG
180    {
181        HelpID = "extensions:PushButton:RID_PAGE_ADMININVOKATION:PB_INVOKE_ADMIN_DIALOG";
182        Pos     = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 60 ) ;
183        Size    = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
184
185        Text [ en-US ] = "Settings";
186    };
187
188    FixedText FT_ERROR
189    {
190        Pos     = MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 48 ) ;
191        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 48 ) ;
192        WordBreak = TRUE;
193        Hide = TRUE;
194
195        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.";
196    };
197};
198
199//........................................................................
200TabPage RID_PAGE_TABLESELECTION_AB
201{
202    HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION_AB";
203    SVLook  = TRUE ;
204    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
205
206    FixedText FL_TOOMUCHTABLES
207    {
208        Pos     = MAP_APPFONT ( BORDER_X, 9 ) ;
209        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24 ) ;
210        WordBreak = TRUE;
211
212        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:";
213    };
214
215    ListBox LB_TABLELIST
216    {
217        HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION_AB:LB_TABLELIST";
218        Pos     = MAP_APPFONT ( BORDER_X, 36 ) ;
219        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 50 ) ;
220        SVLook = TRUE;
221        Sort = TRUE;
222        DropDown = FALSE;
223        AutoHScroll = TRUE;
224        Border = TRUE;
225    };
226};
227
228//........................................................................
229TabPage RID_PAGE_FIELDMAPPING
230{
231    HelpID = "extensions:TabPage:RID_PAGE_FIELDMAPPING";
232    SVLook  = TRUE ;
233    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
234
235    FixedText FT_FIELDASSIGMENTEXPL
236    {
237        Pos     = MAP_APPFONT ( BORDER_X, 9 ) ;
238        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 72 ) ;
239        WordBreak = TRUE;
240
241        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.";
242    };
243
244    PushButton PB_INVOKE_FIELDS_DIALOG
245    {
246        HelpID = "extensions:PushButton:RID_PAGE_FIELDMAPPING:PB_INVOKE_FIELDS_DIALOG";
247        Pos     = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 84 ) ;
248        Size    = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
249
250        Text [ en-US ] = "Field Assignment";
251    };
252
253    FixedText FT_ASSIGNEDFIELDS
254    {
255        Pos     = MAP_APPFONT ( BORDER_X, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 32 ) ;
256        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 32 ) ;
257        WordBreak = TRUE;
258    };
259};
260
261//........................................................................
262TabPage RID_PAGE_FINAL
263{
264    HelpID = "extensions:TabPage:RID_PAGE_FINAL";
265    SVLook  = TRUE ;
266    Size    = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
267
268    FixedText FT_FINISH_EXPL
269    {
270        Pos     = MAP_APPFONT ( BORDER_X, 9 ) ;
271        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 40 ) ;
272        WordBreak = TRUE;
273
274        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.";
275    };
276
277    FixedText FT_LOCATION
278    {
279        Pos     = MAP_APPFONT ( BORDER_X, 53 ) ;
280        Size    = MAP_APPFONT ( 50, 8 ) ;
281        Group = TRUE;
282
283        Text [ en-US ] = "Location";
284    };
285
286    ComboBox CBB_LOCATION
287    {
288        HelpID = "extensions:ComboBox:RID_PAGE_FINAL:CBB_LOCATION";
289        Pos     = MAP_APPFONT ( BORDER_X , 64 ) ;
290        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 53 - BORDER_X - BORDER_X, 12) ;
291        SVLook = TRUE;
292        Border = TRUE;
293        DropDown = TRUE ;
294        AutoHScroll = TRUE ;
295    };
296
297    PushButton PB_BROWSE
298    {
299        HelpID = "extensions:PushButton:RID_PAGE_FINAL:PB_BROWSE";
300        Pos     = MAP_APPFONT ( WINDOW_SIZE_X - 50 - BORDER_X  , 63 ) ;
301        Size    = MAP_APPFONT ( 50, 14) ;
302        SVLook = TRUE;
303        Group = FALSE;
304
305        Text [ en-US ] = "Browse...";
306    };
307
308    CheckBox CB_REGISTER_DS
309    {
310        HelpID = "extensions:CheckBox:RID_PAGE_FINAL:CB_REGISTER_DS";
311        Pos     = MAP_APPFONT ( BORDER_X, 82 ) ;
312        Size    = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X, 8) ;
313        SVLook = TRUE;
314        Group = TRUE;
315
316        Text [ en-US ] = "Make this address book available to all modules in %PRODUCTNAME.";
317    };
318    FixedText FT_NAME_EXPL
319    {
320        Pos     = MAP_APPFONT ( BORDER_X + 10, 93 ) ;
321        Size    = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X - 10, 8 ) ;
322
323        Text [ en-US ] = "Address book name";
324    };
325
326    Edit ET_DATASOURCENAME
327    {
328        HelpID = "extensions:Edit:RID_PAGE_FINAL:ET_DATASOURCENAME";
329        Pos     = MAP_APPFONT ( BORDER_X + 10, 104 ) ;
330        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 56 - BORDER_X - BORDER_X - 10, 12) ;
331        SVLook = TRUE;
332        Border = TRUE;
333    };
334
335    FixedText FT_DUPLICATENAME
336    {
337        Pos     = MAP_APPFONT ( BORDER_X + 10, WINDOW_SIZE_Y - HEADER_SIZE_Y - 7 - 24 ) ;
338        Size    = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 24) ;
339        WordBreak = TRUE;
340        Hide = TRUE;
341        Group = FALSE;
342
343        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.";
344    };
345};
346
347//........................................................................
348ErrorBox RID_ERR_NEEDTYPESELECTION
349{
350    Buttons = WB_OK;
351
352    Message [ en-US ] = "Please select a type of address book.";
353};
354
355//........................................................................
356QueryBox RID_QRY_NOTABLES
357{
358    Buttons = WB_YES_NO;
359    DefButton = WB_DEF_NO;
360
361    Message [ en-US ] = "The data source does not contain any tables.\nDo you want to set it up as an address data source, anyway?";
362};
363
364//........................................................................
365String RID_STR_DEFAULT_NAME
366{
367    Text [ en-US ] = "Addresses";
368};
369
370String RID_STR_ADMINDIALOGTITLE
371{
372    Text [ en-US ] = "Create Address Data Source";
373};
374
375String RID_STR_NOCONNECTION
376{
377    Text [ en-US ] = "The connection could not be established.";
378};
379
380String RID_STR_PLEASECHECKSETTINGS
381{
382    Text [ en-US ] = "Please check the settings made for the data source.";
383};
384
385String RID_STR_FIELDDIALOGTITLE
386{
387    Text [ en-US ] = "Address Data - Field Assignment";
388};
389
390String RID_STR_NOFIELDSASSIGNED
391{
392    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...\"";
393};
394
395//........................................................................
396Bitmap BMP_HEADERIMAGE
397{
398    file = "addresspilot.bmp";
399};
400