1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: AdabasNewDb.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ADABASUI_ADABASNEWDB_HRC
32 #include "AdabasNewDb.hrc"
34 #include "dbaccess_helpid.hrc"
35 #include "adabasui_resource.hrc"
36 //==================================================================
38 //==================================================================
43 ModalDialog DLG_ADABAS_NEWDB
49 HelpID = HID_DLG_ADABAS_NEWDB ;
50 Size = MAP_APPFONT ( WIN_X , WIN_Y + MOVE_Y) ;
52 FixedText FT_DATABASENAME
54 Pos = MAP_APPFONT ( 12 , 6) ;
55 Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
56 Text[ en-US ] = "Database ~name";
61 Pos = MAP_APPFONT ( 77 + ADJUST_X, 5) ;
62 Size = MAP_APPFONT ( 161 - ADJUST_X, 12 ) ;
64 HelpID = HID_DLG_ADABAS_DBNAME ;
69 Pos = MAP_APPFONT ( 6 , 3 + MOVE_Y) ;
70 Size = MAP_APPFONT ( WIN_X - 12 , 8 ) ;
71 Text[ en-US ] = "User settings";
76 Pos = MAP_APPFONT ( 12 , 31 + MOVE_Y) ;
77 Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
78 Text[ en-US ] = "~Control user";
82 Pos = MAP_APPFONT ( 12 , 14 + MOVE_Y) ;
83 Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
84 Text[ en-US ] = "~Administrator";
86 FixedText FT_DOMAIN_USR
88 Pos = MAP_APPFONT ( 12 , 48 + MOVE_Y) ;
89 Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
90 Text[ en-US ] = "~Domain user";
96 Pos = MAP_APPFONT ( 77 + ADJUST_X, 13 + MOVE_Y) ;
97 Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
99 HelpID = HID_DLG_ADABAS_SYSUSR ;
104 Pos = MAP_APPFONT ( 188 , 13 + MOVE_Y) ;
105 Size = MAP_APPFONT ( 50 , 14 ) ;
107 HelpID = HID_DLG_ADABAS_SYSPWD ;
108 Text[ en-US ] = "P~assword...";
114 Pos = MAP_APPFONT ( 77 + ADJUST_X, 30 + MOVE_Y) ;
115 Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
117 HelpID = HID_DLG_ADABAS_CONUSR ;
122 Pos = MAP_APPFONT ( 188 , 30 + MOVE_Y) ;
123 Size = MAP_APPFONT ( 50 , 14 ) ;
125 HelpID = HID_DLG_ADABAS_CONPWD ;
126 Text[ en-US ] = "~Password...";
130 Pos = MAP_APPFONT ( 77 + ADJUST_X, 47 + MOVE_Y) ;
131 Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
135 HelpID = HID_DLG_ADABAS_USR ;
139 PushButton PB_DOMAINPWD
141 Pos = MAP_APPFONT ( 188 , 47 + MOVE_Y) ;
142 Size = MAP_APPFONT ( 50 , 14 ) ;
144 HelpID = HID_DLG_ADABAS_DOMAINPWD ;
145 Text[ en-US ] = "Passwo~rd...";
150 Pos = MAP_APPFONT ( 240 , 27 + MOVE_Y) ;
151 Size = MAP_APPFONT ( 20 , 20 ) ;
152 HelpID = HID_DLG_ADABAS_CON_PWD ;
156 Pos = MAP_APPFONT ( 240 , 11 + MOVE_Y) ;
157 Size = MAP_APPFONT ( 20 , 20 ) ;
158 HelpID = HID_DLG_ADABAS_SYS_PWD ;
160 FixedImage BMP_DOMAIN
162 Pos = MAP_APPFONT ( 240 , 44 + MOVE_Y) ;
163 Size = MAP_APPFONT ( 20 , 20 ) ;
164 HelpID = HID_DLG_ADABAS_DOMAIN_PWD ;
169 Pos = MAP_APPFONT ( 12 , 13 + MOVE_Y) ;
170 Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
171 Text[ en-US ] = "~Backup file";
177 Pos = MAP_APPFONT ( 77 + ADJUST_X, 13 + MOVE_Y) ;
178 Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
180 HelpID = HID_DLG_ADABAS_RESTORE ;
183 PushButton PB_RESTORE
185 Pos = MAP_APPFONT ( 188 , 13 + MOVE_Y) ;
186 Size = MAP_APPFONT ( 50 , 14 ) ;
188 HelpID = HID_DLG_ADABAS_PBRESTORE ;
189 Text[ en-US ] = "...";
192 /* DEVSPACE positions */
193 FixedLine FL_DBSETTINGS
195 Pos = MAP_APPFONT ( 6 , 70 + MOVE_Y) ;
196 Size = MAP_APPFONT ( WIN_X - 12 , 8 ) ;
197 Text[ en-US ] = "Database settings";
200 FixedText FT_SYSDEVSPACE
202 Pos = MAP_APPFONT ( 12 , 83 + MOVE_Y) ;
203 Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
204 Text[ en-US ] = "S~YSDEVSPACE";
207 FixedText FT_TRANSACTIONLOG
209 Pos = MAP_APPFONT ( 12 , 99 + MOVE_Y) ;
210 Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
211 Text[ en-US ] = "TRANSACTI~ONLOG";
214 FixedText FT_DATADEVSPACE
216 Pos = MAP_APPFONT ( 12 , 116 + MOVE_Y) ;
217 Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
218 Text[ en-US ] = "DATAD~EVSPACE";
224 Pos = MAP_APPFONT ( 77 + ADJUST_X, 81 + MOVE_Y) ;
225 Size = MAP_APPFONT ( 161 - ADJUST_X, 12 ) ;
227 HelpID = HID_DLG_ADABAS_SYSDEVSPACE ;
230 PushButton PB_SYSDEVSPACE
232 Pos = MAP_APPFONT ( WIN_X - 24, 81 + MOVE_Y) ;
233 Size = MAP_APPFONT ( 12 , 12 ) ;
235 HelpID = HID_DLG_ADABAS_PBSYSDEVSPACE ;
236 Text[ en-US ] = "...";
239 Edit ET_TRANSACTIONLOG
242 Pos = MAP_APPFONT ( 77 + ADJUST_X, 97 + MOVE_Y) ;
243 Size = MAP_APPFONT ( 161 - ADJUST_X, 12 ) ;
245 HelpID = HID_DLG_ADABAS_TRANSACTIONLOG ;
248 PushButton PB_TRANSACTIONLOG
250 Pos = MAP_APPFONT ( WIN_X - 24, 97+ MOVE_Y) ;
251 Size = MAP_APPFONT ( 12 , 12 ) ;
253 HelpID = HID_DLG_ADABAS_PBTRANSACTIONLOG ;
254 Text[ en-US ] = "...";
259 Pos = MAP_APPFONT ( 77 + ADJUST_X, 114 + MOVE_Y) ;
260 Size = MAP_APPFONT ( 161 - ADJUST_X, 12) ;
263 HelpID = HID_DLG_ADABAS_DATADEVSPACE ;
267 PushButton PB_DATADEVSPACE
269 Pos = MAP_APPFONT ( WIN_X - 24, 114 + MOVE_Y) ;
270 Size = MAP_APPFONT ( 12 , 12 ) ;
272 HelpID = HID_DLG_ADABAS_PBDATADEVSPACE ;
273 Text[ en-US ] = "...";
276 FixedText FT_TRANSACTIONLOG_SIZE
278 Pos = MAP_APPFONT ( 12 , 133 + MOVE_Y) ;
279 Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
280 Text[ en-US ] = "Transaction ~file (MB)";
282 NumericField NF_TRANSACTIONLOG_SIZE
284 Pos = MAP_APPFONT ( 77 + ADJUST_X, 131 + MOVE_Y) ;
285 Size = MAP_APPFONT ( 40 , 12 ) ;
290 HelpID = HID_DLG_ADABAS_TRANSACTIONLOG_SIZE ;
292 FixedText FT_DATADEVSPACE_SIZE
294 Pos = MAP_APPFONT ( 12 , 150 + MOVE_Y) ;
295 Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
296 Text[ en-US ] = "Data~base size (MB)";
298 NumericField NF_DATADEVSPACE_SIZE
300 Pos = MAP_APPFONT ( 77 + ADJUST_X, 148 + MOVE_Y) ;
301 Size = MAP_APPFONT ( 40 , 12 ) ;
306 HelpID = HID_DLG_ADABAS_DATADEVSPACE_SIZE ;
308 FixedText FT_CACHE_SIZE
310 Pos = MAP_APPFONT ( 12 , 167 + MOVE_Y) ;
311 Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
312 Text[ en-US ] = "Data ~buffer size (MB)";
314 NumericField NF_CACHE_SIZE
316 Pos = MAP_APPFONT ( 77 + ADJUST_X, 165 + MOVE_Y) ;
317 Size = MAP_APPFONT ( 40 , 12 ) ;
322 HelpID = HID_DLG_ADABAS_CACHE_SIZE ;
326 Pos = MAP_APPFONT ( 0 , WIN_Y - 24 + MOVE_Y) ;
327 Size = MAP_APPFONT ( WIN_X , 1 ) ;
331 Pos = MAP_APPFONT ( WIN_X - 112, WIN_Y - 20 + MOVE_Y) ;
332 Size = MAP_APPFONT ( 50 , 14 ) ;
336 CancelButton PB_CANCEL
338 Pos = MAP_APPFONT ( WIN_X - 56 , WIN_Y - 20+ MOVE_Y) ;
339 Size = MAP_APPFONT ( 50 , 14 ) ;
343 String STR_BACKUPFILE_LOAD
345 Text[ en-US ] = "Backup file information";
348 Text[ en-US ] = "Create New Adabas D Database";
353 ImageBitmap = Bitmap { File = "nu07.bmp"; };
354 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
358 ImageBitmap = Bitmap { File = "nu08.bmp"; };
359 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
363 ImageBitmap = Bitmap { File = "nu09.bmp"; };
364 MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
366 /* Fehlermeldungen beim Erstellen einer Adabas DB */
368 String STR_ADABAS_NO_PARAM_SET
370 Text[ en-US ] = "No entry could be written in the configuration file.";
373 String STR_ADABAS_NO_DB_CREATED
375 Text[ en-US ] = "An error occurred as the DB files were being created.";
378 String STR_ADABAS_NO_SYSTEM_TABLES
380 Text[ en-US ] = "An error occurred as the system tables were being created.";
382 String STR_ADABAS_NO_BACKUP_FILE
384 Text[ en-US ] = "The backup file entered does not exist.";
387 InfoBox INFO_STR_MAX_FILE_LENGTH
389 Message[ en-US ] = "The fully qualified file cannot be longer than \'#\' characters.";
392 String STR_NO_SAME_USER
394 Text[ en-US ] = "The administrator and the control user cannot have the same name!";
396 String STR_DEVSPACE_NO_FILE
398 Text[ en-US ] = "No name has been entered for the $name$ file!";
400 String STR_NO_PERMISSION
402 Text[ en-US ] = "You have to have administrator rights to create a new database!";
405 String STR_FILE_OR_DIR_UNKNOWN
407 Text[ en-US ] = "The specified file name or directory does not exist.";
410 String STR_ERROR_IN_ADABAS_INSTALLATION
412 Text [ en-US ] = "No new database can be created.\nPlease check your Adabas D installation, especially the variables \"DBROOT\" and \"DBWORK\".";
415 String STR_STAT_WARNING
417 Text [ en-US ] = "Warning!" ;
420 String STR_ADABAS_CREATEFILES
422 Text [ en-US ] = "Creating database files." ;
425 String STR_ADABAS_CREATEPARAM_FILE
427 Text [ en-US ] = "Creating database configuration file." ;
429 String STR_ADABAS_START_DATABASE
431 Text [ en-US ] = "Starting database for the first time." ;
434 String STR_ADABAS_DB_EXISTS
436 Text[ en-US ] = "The name entered already exists.";
439 String STR_ADABAS_NO_DEFAULTNAME
441 Text[ en-US ] = "No default names could be set for the database files. The total length is more than 40 characters.";
444 String STR_ADABAS_NO_ACCESSRIGHTS
446 Text[ en-US ] = "No default names could be set for the database files. There is no write access.";
449 String STR_ADABAS_CANNOT_CONVERT
451 Text[ en-US ] = "The current database need to be converted. Please insert control user and password.";
454 String STR_ADABAS_PASSWORD_ILLEGAL
456 Text[ en-US ] = "Spaces are not permitted in the password. Please enter a new password.";