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