summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/dbadminsetup.src
blob: 88f2a3e33ef2b13506e9a9e41e5337492f099d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include "dbadminsetup.hrc"
#include "AutoControls.hrc"

#define CHECKBOX_HEIGHT     8
#define FIXEDTEXT_HEIGHT    8
#define RELATED_CONTROLS    4
#define UNRELATED_CONTROLS  7
#define EDIT_HEIGHT         12
#define EDIT_X              101

String STR_DBWIZARDTITLE
{
    Text[ en-US ]  = "Database Wizard" ;
};

String STR_PAGETITLE_INTROPAGE
{
    Text[ en-US ]  = "Select database" ;
};

String STR_PAGETITLE_DBASE
{
    Text[ en-US ]  = "Set up dBASE connection" ;
};

String STR_PAGETITLE_TEXT
{
    Text[ en-US ]  = "Set up a connection to text files" ;
};

String STR_PAGETITLE_MSACCESS
{
    Text[ en-US ]  = "Set up Microsoft Access connection" ;
};

String STR_PAGETITLE_LDAP
{
    Text[ en-US ]  = "Set up LDAP connection" ;
};

String STR_PAGETITLE_ADO
{
    Text[ en-US ]  = "Set up ADO connection" ;
};

String STR_PAGETITLE_JDBC
{
    Text[ en-US ]  = "Set up JDBC connection" ;
};

String STR_PAGETITLE_ORACLE
{
    Text[ en-US ] = "Set up Oracle database connection" ;
};

String STR_PAGETITLE_MYSQL
{
    Text[ en-US ] = "Set up MySQL connection" ;
};

String STR_PAGETITLE_ODBC
{
    Text[ en-US ] = "Set up ODBC connection" ;
};

String STR_PAGETITLE_SPREADSHEET
{
    Text[ en-US ] = "Set up Spreadsheet connection" ;
};

String STR_PAGETITLE_AUTHENTIFICATION
{
    Text[ en-US ] = "Set up user authentication" ;
};

String STR_PAGETITLE_MYSQL_NATIVE
{
    Text [ en-US ] = "Set up MySQL server data";
};

String STR_PAGETITLE_FINAL
{
    Text[ en-US ] = "Save and proceed" ;
};

String STR_DATABASEDEFAULTNAME
{
    Text[ en-US ]  = "New Database" ;
};

#define AUTHENTEDIT_X   (EDIT_X - 10)

TabPage PAGE_DBWIZARD_AUTHENTIFICATION
{
    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_AUTHENTIFICATION";
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
    Hide = TRUE ;

    FixedText FT_AUTHENTIFICATIONHEADERTEXT
    {
        Pos = MAP_APPFONT ( START_X , 8 ) ;
        Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Set up the user authentication";
        WordBreak = TRUE;
    };

    FixedText FT_AUTHENTIFICATIONHELPTEXT\
    {
        Pos = MAP_APPFONT (START_X , 27 )  ;
        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 3*FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Some databases require you to enter a user name." ;\
        WordBreak = TRUE ;
    };

    FixedText FT_GENERALUSERNAME
    {
        Pos = MAP_APPFONT (START_X , 62 ) ;
        Size = MAP_APPFONT ( AUTHENTEDIT_X - START_X - 1 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~User name" ;
    };

    Edit ET_GENERALUSERNAME
    {
        Border = TRUE ;
        HelpId = HID_PAGE_DBWIZARD_AUTHENTIFICATION_ET_GENERALUSERNAME ;
        Pos = MAP_APPFONT (AUTHENTEDIT_X , 60 )  ;
        Size = MAP_APPFONT ( (WIZARD_PAGE_X - AUTHENTEDIT_X - 6), EDIT_HEIGHT ) ;
    };

    CheckBox CB_GENERALPASSWORDREQUIRED
    {
        HelpId = HID_PAGE_DBWIZARD_AUTHENTIFICATION_CB_GENERALPASSWORDREQUIRED ;
        Pos = MAP_APPFONT (AUTHENTEDIT_X , 76 );
        Size = MAP_APPFONT ( 93 , CHECKBOX_HEIGHT );
        Text[ en-US ] = "Password re~quired" ;
    };

    PushButton PB_TESTCONNECTION
    {
        HelpId = HID_PAGE_DBWIZARD_AUTHENTIFICATION_PB_TESTCONNECTION ;
        Pos = MAP_APPFONT (WIZARD_PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , WIZARD_PAGE_Y - 18 ) ;
        Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
        Text[ en-US ] = "~Test Connection" ;
    };
};

String STR_MYSQLJDBC_HEADERTEXT
{
    Text[ en-US ] = "Set up connection to a MySQL database using JDBC" ;
};

String STR_MYSQLJDBC_HELPTEXT
{
    Text[ en-US ] = "Please enter the required information to connect to a MySQL database using JDBC. Note that a JDBC driver class must be installed on your system and registered with %PRODUCTNAME.\nPlease contact your system administrator if you are unsure about the following settings.";
};

String STR_MYSQL_DRIVERCLASSTEXT
{
    Text [  en-US  ] = "MySQL JDBC d~river class:";
};

String STR_MYSQL_DEFAULT
{
    Text[ en-US ] = "Default: 3306";
};

TabPage PAGE_DBWIZARD_MYSQL_NATIVE
{
    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_MYSQL_NATIVE";
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0, 0 ) ;
    Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
    Hide = TRUE ;

    FixedText FT_SETUP_WIZARD_HEADER
    {
        Pos = MAP_APPFONT ( START_X , 8 ) ;
        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Set up connection to a MySQL database" ;
        WordBreak = TRUE;
    };

    FixedText FT_SETUP_WIZARD_HELP
    {
        Pos = MAP_APPFONT ( START_X , INIT_Y ) ;
        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 12 , 3 * FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Please enter the required information to connect to a MySQL database.";
        WordBreak = TRUE;
    };
};

String STR_DBASE_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to dBASE files" ;
};

String STR_DBASE_HELPTEXT
{
    Text[ en-US ]  = "Select the folder where the dBASE files are stored." ;
};

String STR_TEXT_HEADERTEXT
{
    Text[ en-US ]   = "Set up a connection to text files" ;
};

String STR_TEXT_HELPTEXT
{
    Text[ en-US ]   = "Select the folder where the CSV (Comma Separated Values) text files are stored. %PRODUCTNAME Base will open these files in read-only mode." ;
};

String STR_TEXT_PATH_OR_FILE
{
    Text[ en-US ]  = "Path to text files";
};

String STR_MSACCESS_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to a Microsoft Access database" ;
};

String STR_MSACCESS_HELPTEXT
{
    Text[ en-US ] = "Please select the Microsoft Access file you want to access.";
};

TabPage PAGE_DBWIZARD_LDAP
{
    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_LDAP";
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
    Hide = TRUE ;

    FixedText FT_LDAP_HEADERTEXT
    {
        Pos = MAP_APPFONT ( START_X , 8 ) ;
        Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Set up a connection to an LDAP directory";
        WordBreak = TRUE;
    };

    FixedText FT_LDAP_HELPTEXT
    {
        Pos = MAP_APPFONT (START_X , 27 )  ;
        Size = MAP_APPFONT (WIZARD_PAGE_X - START_X - 6, 5 * FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Please enter the required information to connect to an LDAP directory.\nPlease contact your system administrator if you are unsure about the following settings." ;
        WordBreak = TRUE ;
    };
    AUTO_HOSTCONTROLGROUP(  INIT_Y + 7 * FIXEDTEXT_HEIGHT +     UNRELATED_CONTROLS,                         HID_PAGE_DBWIZARD_LDAP_ET_HOSTSERVER)
    AUTO_BASEDNCONTROLGROUP(INIT_Y + 7 * FIXEDTEXT_HEIGHT +     UNRELATED_CONTROLS +     EDIT_HEIGHT +     RELATED_CONTROLS,    HID_PAGE_DBWIZARD_LDAP_ET_BASEDN)
    AUTO_PORTCONTROLGROUP(  INIT_Y + 7 * FIXEDTEXT_HEIGHT +     UNRELATED_CONTROLS + 2 * EDIT_HEIGHT + 2 * RELATED_CONTROLS,    HID_PAGE_DBWIZARD_LDAP_ET_PORTNUMBER)

    String STR_LDAP_DEFAULT{
        Text[ en-US ] = "Default: 389" ;
    };

    CheckBox CB_WIZ_USESSL
    {
        HelpId = HID_PAGE_DBWIZARD_LDAP_CB_USESSL ;
        Pos = MAP_APPFONT (START_X , INIT_Y + 7 * FIXEDTEXT_HEIGHT +        UNRELATED_CONTROLS + 3 * EDIT_HEIGHT + 4 * RELATED_CONTROLS )  ;
        Size = MAP_APPFONT ( 212 , 8 ) ;
        Text[ en-US ] = "Use ~secure connection (SSL)" ;
    };
};

String STR_ADO_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to an ADO database" ;
};

String STR_ADO_HELPTEXT
{
    Text[ en-US ] = "Please enter the URL of the ADO data source you want to connect to.\nClick 'Browse' to configure provider-specific settings.\nPlease contact your system administrator if you are unsure about the following settings." ;
};

String STR_ODBC_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to an ODBC database" ;
};

String STR_ODBC_HELPTEXT{
    Text[ en-US ] = "Enter the name of the ODBC database you want to connect to.\nClick 'Browse...' to select an ODBC database that is already registered in %PRODUCTNAME.\nPlease contact your system administrator if you are unsure about the following settings." ;
};

String STR_JDBC_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to a JDBC database" ;
};

String STR_JDBC_HELPTEXT{
    Text[ en-US ] = "Please enter the required information to connect to a JDBC database.\nPlease contact your system administrator if you are unsure about the following settings." ;
};

String STR_ORACLE_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to an Oracle database";
};

String STR_ORACLE_DEFAULT
{
    Text[ en-US ] = "Default: 1521" ;
};

String STR_ORACLE_DRIVERCLASSTEXT
{
    Text [ en-US ] = "Oracle JDBC ~driver class";
};

String STR_ORACLE_HELPTEXT{
    Text[ en-US ] = "Please enter the required information to connect to an Oracle database. Note that a JDBC Driver Class must be installed on your system and registered with %PRODUCTNAME.\nPlease contact your system administrator if you are unsure about the following settings." ;
};

String STR_SPREADSHEET_HEADERTEXT
{
    Text[ en-US ] = "Set up a connection to spreadsheets";
};

String STR_SPREADSHEET_HELPTEXT{
    Text[ en-US ] = "Click 'Browse...' to select a %PRODUCTNAME spreadsheet or Microsoft Excel workbook.\n%PRODUCTNAME will open this file in read-only mode." ;
};

String STR_SPREADSHEETPATH{
    Text[ en-US ] = "~Location and file name" ;
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */