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 ADABASUI_ADABASNEWDB_HRC
25#include "AdabasNewDb.hrc"
26#endif
27#include "dbaccess_helpid.hrc"
28#include "adabasui_resource.hrc"
29//==================================================================
30// NEWDB Admin
31//==================================================================
32#define WIN_X 268
33#define WIN_Y 210
34#define MOVE_Y 21
35#define ADJUST_X 45
36
37ModalDialog DLG_ADABAS_NEWDB
38{
39	Moveable = TRUE ;
40	Closeable = TRUE ;
41	OutputSize = TRUE ;
42	SVLook = TRUE ;
43	HelpID = HID_DLG_ADABAS_NEWDB ;
44	Size = MAP_APPFONT ( WIN_X, WIN_Y + MOVE_Y ) ;
45
46	FixedText FT_DATABASENAME
47	{
48		Pos = MAP_APPFONT ( 12, 6) ;
49		Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
50		Text [ en-US ] = "Database ~name" ;
51};
52	Edit ET_DATABASENAME
53	{
54		Border = TRUE ;
55		Pos = MAP_APPFONT ( 77 + ADJUST_X, 5 ) ;
56		Size = MAP_APPFONT ( 161 - ADJUST_X, 12 ) ;
57		TabStop = TRUE ;
58		HelpID = HID_DLG_ADABAS_DBNAME ;
59	};
60
61	FixedLine FL_USER
62	{
63		Pos = MAP_APPFONT ( 6, 3 + MOVE_Y ) ;
64		Size = MAP_APPFONT ( WIN_X - 12, 8 ) ;
65		Text [ en-US ] = "User settings" ;
66};
67
68	FixedText FT_CONUSR
69	{
70		Pos = MAP_APPFONT ( 12, 31 + MOVE_Y ) ;
71		Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
72		Text [ en-US ] = "~Control user" ;
73};
74	FixedText FT_SYSUSR
75	{
76		Pos = MAP_APPFONT ( 12, 14 + MOVE_Y ) ;
77		Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
78		Text [ en-US ] = "~Administrator" ;
79};
80	FixedText FT_DOMAIN_USR
81	{
82		Pos = MAP_APPFONT ( 12, 48 + MOVE_Y ) ;
83		Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
84		Text [ en-US ] = "~Domain user" ;
85};
86
87	Edit ET_SYSUSR
88	{
89		Border = TRUE ;
90		Pos = MAP_APPFONT ( 77 + ADJUST_X, 13 + MOVE_Y ) ;
91		Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
92		TabStop = TRUE ;
93		HelpID = HID_DLG_ADABAS_SYSUSR ;
94	};
95
96	PushButton PB_SYSPWD
97	{
98		Pos = MAP_APPFONT ( 188, 13 + MOVE_Y ) ;
99		Size = MAP_APPFONT ( 50, 14 ) ;
100		TabStop = TRUE ;
101		HelpID = HID_DLG_ADABAS_SYSPWD ;
102		Text [ en-US ] = "P~assword..." ;
103};
104
105	Edit ET_CONUSR
106	{
107		Border = TRUE ;
108		Pos = MAP_APPFONT ( 77 + ADJUST_X, 30 + MOVE_Y ) ;
109		Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
110		TabStop = TRUE ;
111		HelpID = HID_DLG_ADABAS_CONUSR ;
112	};
113
114	PushButton PB_CONPWD
115	{
116		Pos = MAP_APPFONT ( 188, 30 + MOVE_Y ) ;
117		Size = MAP_APPFONT ( 50, 14 ) ;
118		TabStop = TRUE ;
119		HelpID = HID_DLG_ADABAS_CONPWD ;
120		Text [ en-US ] = "~Password..." ;
121};
122	Edit ET_DOMAIN_USR
123	{
124		Pos = MAP_APPFONT ( 77 + ADJUST_X, 47 + MOVE_Y ) ;
125		Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
126		Border = TRUE ;
127		TabStop = TRUE ;
128		ReadOnly= TRUE ;
129		HelpID = HID_DLG_ADABAS_USR ;
130		Text = "adabas" ;
131	};
132
133	PushButton PB_DOMAINPWD
134	{
135		Pos = MAP_APPFONT ( 188, 47 + MOVE_Y ) ;
136		Size = MAP_APPFONT ( 50, 14 ) ;
137		TabStop = TRUE ;
138		HelpID = HID_DLG_ADABAS_DOMAINPWD ;
139		Text [ en-US ] = "Passwo~rd..." ;
140};
141
142	FixedImage BMP_CON
143	{
144		Pos = MAP_APPFONT ( 240, 27 + MOVE_Y ) ;
145		Size = MAP_APPFONT ( 20, 20 ) ;
146		HelpID = HID_DLG_ADABAS_CON_PWD ;
147	};
148	FixedImage BMP_SYS
149	{
150		Pos = MAP_APPFONT ( 240, 11 + MOVE_Y ) ;
151		Size = MAP_APPFONT ( 20, 20 ) ;
152		HelpID = HID_DLG_ADABAS_SYS_PWD ;
153	};
154	FixedImage BMP_DOMAIN
155	{
156		Pos = MAP_APPFONT ( 240, 44 + MOVE_Y ) ;
157		Size = MAP_APPFONT ( 20, 20 ) ;
158		HelpID = HID_DLG_ADABAS_DOMAIN_PWD ;
159	};
160
161	FixedText FT_RESTORE
162	{
163		Pos = MAP_APPFONT ( 12, 13 + MOVE_Y ) ;
164		Size = MAP_APPFONT ( 64 + ADJUST_X, 10 ) ;
165		Text [ en-US ] = "~Backup file" ;
166};
167
168	Edit ET_RESTORE
169	{
170		Border = TRUE ;
171		Pos = MAP_APPFONT ( 77 + ADJUST_X, 13 + MOVE_Y ) ;
172		Size = MAP_APPFONT ( 105 - ADJUST_X, 12 ) ;
173		TabStop = TRUE ;
174		HelpID = HID_DLG_ADABAS_RESTORE ;
175	};
176
177	PushButton PB_RESTORE
178	{
179		Pos = MAP_APPFONT ( 188, 13 + MOVE_Y ) ;
180		Size = MAP_APPFONT ( 50, 14 ) ;
181		TabStop = TRUE ;
182		HelpID = HID_DLG_ADABAS_PBRESTORE ;
183		Text [ en-US ] = "..." ;
184};
185
186	/* DEVSPACE positions */
187	FixedLine FL_DBSETTINGS
188	{
189		Pos = MAP_APPFONT ( 6, 70 + MOVE_Y ) ;
190		Size = MAP_APPFONT ( WIN_X - 12, 8 ) ;
191		Text [ en-US ] = "Database settings" ;
192};
193
194	FixedText FT_SYSDEVSPACE
195	{
196		Pos = MAP_APPFONT ( 12, 83 + MOVE_Y ) ;
197		Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
198		Text [ en-US ] = "S~YSDEVSPACE" ;
199};
200
201	FixedText FT_TRANSACTIONLOG
202	{
203		Pos = MAP_APPFONT ( 12, 99 + MOVE_Y ) ;
204		Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
205		Text [ en-US ] = "TRANSACTI~ONLOG" ;
206};
207
208	FixedText FT_DATADEVSPACE
209	{
210		Pos = MAP_APPFONT ( 12, 116 + MOVE_Y ) ;
211		Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
212		Text [ en-US ] = "DATAD~EVSPACE" ;
213};
214
215	Edit ET_SYSDEVSPACE
216	{
217		Border = TRUE ;
218		Pos = MAP_APPFONT ( 77 + ADJUST_X, 81 + MOVE_Y ) ;
219		Size = MAP_APPFONT ( 161 - ADJUST_X, 12 ) ;
220		TabStop = TRUE ;
221		HelpID = HID_DLG_ADABAS_SYSDEVSPACE ;
222	};
223
224	PushButton PB_SYSDEVSPACE
225	{
226		Pos = MAP_APPFONT ( WIN_X - 24, 81 + MOVE_Y ) ;
227		Size = MAP_APPFONT ( 12, 12 ) ;
228		TabStop = TRUE ;
229		HelpID = HID_DLG_ADABAS_PBSYSDEVSPACE ;
230		Text [ en-US ] = "..." ;
231};
232
233	Edit ET_TRANSACTIONLOG
234	{
235		Border = TRUE ;
236		Pos = MAP_APPFONT ( 77 + ADJUST_X, 97 + MOVE_Y ) ;
237		Size = MAP_APPFONT ( 161 - ADJUST_X, 12 ) ;
238		TabStop = TRUE ;
239		HelpID = HID_DLG_ADABAS_TRANSACTIONLOG ;
240	};
241
242	PushButton PB_TRANSACTIONLOG
243	{
244		Pos = MAP_APPFONT ( WIN_X - 24, 97+ MOVE_Y ) ;
245		Size = MAP_APPFONT ( 12, 12 ) ;
246		TabStop = TRUE ;
247		HelpID = HID_DLG_ADABAS_PBTRANSACTIONLOG ;
248		Text [ en-US ] = "..." ;
249};
250
251	Edit ET_DATADEVSPACE
252	{
253		Pos = MAP_APPFONT ( 77 + ADJUST_X, 114 + MOVE_Y ) ;
254		Size = MAP_APPFONT ( 161 - ADJUST_X, 12) ;
255		Border = TRUE ;
256		TabStop = TRUE ;
257		HelpID = HID_DLG_ADABAS_DATADEVSPACE ;
258	};
259
260
261	PushButton PB_DATADEVSPACE
262	{
263		Pos = MAP_APPFONT ( WIN_X - 24, 114 + MOVE_Y ) ;
264		Size = MAP_APPFONT ( 12, 12 ) ;
265		TabStop = TRUE ;
266		HelpID = HID_DLG_ADABAS_PBDATADEVSPACE ;
267		Text [ en-US ] = "..." ;
268};
269	/* DEVSPACE sizes */
270	FixedText FT_TRANSACTIONLOG_SIZE
271	{
272		Pos = MAP_APPFONT ( 12, 133 + MOVE_Y ) ;
273		Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
274		Text [ en-US ] = "Transaction ~file (MB)" ;
275};
276	NumericField NF_TRANSACTIONLOG_SIZE
277	{
278		Pos = MAP_APPFONT ( 77 + ADJUST_X, 131 + MOVE_Y ) ;
279		Size = MAP_APPFONT ( 40, 12 ) ;
280		Border = TRUE ;
281		TabStop = TRUE ;
282		Spin = TRUE ;
283		StrictFormat = TRUE ;
284		HelpID = HID_DLG_ADABAS_TRANSACTIONLOG_SIZE ;
285	};
286	FixedText FT_DATADEVSPACE_SIZE
287	{
288		Pos = MAP_APPFONT ( 12, 150 + MOVE_Y ) ;
289		Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
290		Text [ en-US ] = "Data~base size (MB)" ;
291};
292	NumericField NF_DATADEVSPACE_SIZE
293	{
294		Pos = MAP_APPFONT ( 77 + ADJUST_X, 148 + MOVE_Y ) ;
295		Size = MAP_APPFONT ( 40, 12 ) ;
296		Border = TRUE ;
297		TabStop = TRUE ;
298		Spin = TRUE ;
299		StrictFormat = TRUE ;
300		HelpID = HID_DLG_ADABAS_DATADEVSPACE_SIZE ;
301	};
302	FixedText FT_CACHE_SIZE
303	{
304		Pos = MAP_APPFONT ( 12, 167 + MOVE_Y ) ;
305		Size = MAP_APPFONT ( 64 + ADJUST_X, 8 ) ;
306		Text [ en-US ] = "Data ~buffer size (MB)" ;
307};
308	NumericField NF_CACHE_SIZE
309	{
310		Pos = MAP_APPFONT ( 77 + ADJUST_X, 165 + MOVE_Y ) ;
311		Size = MAP_APPFONT ( 40, 12 ) ;
312		Border = TRUE ;
313		TabStop = TRUE ;
314		Spin = TRUE ;
315		StrictFormat = TRUE ;
316		HelpID = HID_DLG_ADABAS_CACHE_SIZE ;
317	};
318	FixedLine FL_END
319	{
320		Pos = MAP_APPFONT ( 0, WIN_Y - 24 + MOVE_Y ) ;
321		Size = MAP_APPFONT ( WIN_X, 1 ) ;
322	};
323	OKButton PB_OK
324	{
325		Pos = MAP_APPFONT ( WIN_X - 112, WIN_Y - 20 + MOVE_Y ) ;
326		Size = MAP_APPFONT ( 50, 14 ) ;
327		TabStop = TRUE ;
328		DefButton = TRUE ;
329	};
330	CancelButton PB_CANCEL
331	{
332		Pos = MAP_APPFONT ( WIN_X - 56, WIN_Y - 20+ MOVE_Y ) ;
333		Size = MAP_APPFONT ( 50, 14 ) ;
334		TabStop = TRUE ;
335	};
336
337	String STR_BACKUPFILE_LOAD
338	{
339		Text [ en-US ] = "Backup file information" ;
340};
341
342	Text [ en-US ] = "Create New Adabas D Database" ;
343};
344
345Image CHECK_GREEN
346{
347	ImageBitmap = Bitmap {File = "nu07.png" ;} ;
348};
349Image UNCHECK_RED
350{
351	ImageBitmap = Bitmap {File = "nu08.png" ;} ;
352};
353Image DEFAULT_BLUE
354{
355	ImageBitmap = Bitmap {File = "nu09.png" ;} ;
356};
357/* Fehlermeldungen beim Erstellen einer Adabas DB */
358
359String STR_ADABAS_NO_PARAM_SET
360{
361	Text [ en-US ] = "No entry could be written in the configuration file." ;
362};
363
364String STR_ADABAS_NO_DB_CREATED
365{
366	Text [ en-US ] = "An error occurred as the DB files were being created." ;
367};
368
369String STR_ADABAS_NO_SYSTEM_TABLES
370{
371	Text [ en-US ] = "An error occurred as the system tables were being created." ;
372};
373String STR_ADABAS_NO_BACKUP_FILE
374{
375	Text [ en-US ] = "The backup file entered does not exist." ;
376};
377
378InfoBox INFO_STR_MAX_FILE_LENGTH
379{
380	Message [ en-US ] = "The fully qualified file cannot be longer than \'#\' characters." ;
381};
382
383String STR_NO_SAME_USER
384{
385	Text [ en-US ] = "The administrator and the control user cannot have the same name!" ;
386};
387String STR_DEVSPACE_NO_FILE
388{
389	Text [ en-US ] = "No name has been entered for the $name$ file!" ;
390};
391String STR_NO_PERMISSION
392{
393	Text [ en-US ] = "You have to have administrator rights to create a new database!" ;
394};
395
396String STR_FILE_OR_DIR_UNKNOWN
397{
398	Text [ en-US ] = "The specified file name or directory does not exist." ;
399};
400
401String STR_ERROR_IN_ADABAS_INSTALLATION
402{
403	Text [ en-US ] = "No new database can be created.\nPlease check your Adabas D installation, especially the variables \"DBROOT\" and \"DBWORK\"." ;
404};
405
406String STR_STAT_WARNING
407{
408	Text [ en-US ] = "Warning!" ;
409};
410
411String STR_ADABAS_CREATEFILES
412{
413	Text [ en-US ] = "Creating database files." ;
414};
415
416String STR_ADABAS_CREATEPARAM_FILE
417{
418	Text [ en-US ] = "Creating database configuration file." ;
419};
420String STR_ADABAS_START_DATABASE
421{
422	Text [ en-US ] = "Starting database for the first time." ;
423
424};
425String STR_ADABAS_DB_EXISTS
426{
427	Text [ en-US ] = "The name entered already exists." ;
428};
429
430String STR_ADABAS_NO_DEFAULTNAME
431{
432	Text [ en-US ] = "No default names could be set for the database files. The total length is more than 40 characters." ;
433};
434
435String STR_ADABAS_NO_ACCESSRIGHTS
436{
437	Text [ en-US ] = "No default names could be set for the database files. There is no write access." ;
438};
439
440String STR_ADABAS_CANNOT_CONVERT
441{
442	Text [ en-US ] = "The current database needs to be converted. Please insert control user and password." ;
443};
444
445String STR_ADABAS_PASSWORD_ILLEGAL
446{
447	Text [ en-US ] = "Spaces are not permitted in the password. Please enter a new password." ;
448};
449
450// ********************************************************************** EOF
451