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 _DBA_DBACCESS_HELPID_HRC_
25#include "dbaccess_helpid.hrc"
26#endif
27#ifndef _DBU_DLG_HRC_
28#include "dbu_dlg.hrc"
29#endif
30#ifndef _DBAUI_SQLMESSAGE_HRC_
31#include "sqlmessage.hrc"
32#endif
33
34//-------------------------------------------------------------------------
35Image BMP_EXCEPTION_ERROR
36{
37	ImageBitmap = Bitmap { File = "exerror.bmp"; };
38	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
39};
40
41Image BMP_EXCEPTION_WARNING
42{
43	ImageBitmap = Bitmap { File = "exwarning.bmp"; };
44	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
45};
46
47Image BMP_EXCEPTION_INFO
48{
49	ImageBitmap = Bitmap { File = "exinfo.bmp"; };
50	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
51};
52Image BMP_EXCEPTION_ERROR_SCH
53{
54	ImageBitmap = Bitmap { File = "exerror_sch.bmp"; };
55	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
56};
57
58Image BMP_EXCEPTION_WARNING_SCH
59{
60	ImageBitmap = Bitmap { File = "exwarning_sch.bmp"; };
61	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
62};
63
64Image BMP_EXCEPTION_INFO_SCH
65{
66	ImageBitmap = Bitmap { File = "exinfo_sch.bmp"; };
67	MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
68};
69
70ModalDialog DLG_SQLEXCEPTIONCHAIN
71{
72    HelpID = "dbaccess:ModalDialog:DLG_SQLEXCEPTIONCHAIN";
73	Moveable = TRUE ;
74	Closeable = TRUE ;
75	OutputSize = TRUE ;
76	SVLook = TRUE ;
77	Size = MAP_APPFONT ( 240 , 150 ) ;
78	Text [ en-US ] = "%PRODUCTNAME Base" ;
79
80	FixedLine FL_DETAILS
81	{
82		Pos = MAP_APPFONT ( 6, 3 ) ;
83		Size = MAP_APPFONT ( 228, 8 ) ;
84		Text [ en-US ] = "Details";
85	};
86	FixedText FT_ERRORLIST
87	{
88		Pos = MAP_APPFONT ( 12, 12 ) ;
89		Size = MAP_APPFONT ( 85, 10 ) ;
90		Text [ en-US ] = "Error ~list:";
91		Group = TRUE;
92	};
93	Control CTL_ERRORLIST
94	{
95		Pos = MAP_APPFONT ( 12, 25 ) ;
96		Size = MAP_APPFONT ( 85, 93 ) ;
97		Border = TRUE;
98		TabStop = TRUE;
99		HelpId = HID_SQLERROR_EXCHAIN_ERRORS;
100	};
101	FixedText FT_DESCRIPTION
102	{
103		Pos = MAP_APPFONT ( 103, 12 ) ;
104		Size = MAP_APPFONT ( 125, 10 ) ;
105		Text [ en-US ] = "~Description:";
106		Group = TRUE;
107	};
108	MultiLineEdit ME_DESCRIPTION
109	{
110		Border = TRUE ;
111		Pos = MAP_APPFONT ( 103 , 25 ) ;
112		Size = MAP_APPFONT ( 125 , 93 ) ;
113		TabStop = TRUE ;
114		VScroll = TRUE ;
115		HelpId = HID_SQLERROR_EXCHAIN_TEXT;
116	};
117	OKButton PB_OK
118	{
119		Pos = MAP_APPFONT ( 95 , 130 ) ;
120		Size = MAP_APPFONT ( 50 , 14 ) ;
121		TabStop = TRUE ;
122		DefButton = TRUE ;
123	};
124
125	String STR_EXCEPTION_STATUS
126	{
127		Text [ en-US ] = "SQL Status";
128	};
129	String STR_EXCEPTION_ERRORCODE
130	{
131		Text [ en-US ] = "Error code";
132	};
133};
134
135String STR_EXPLAN_STRINGCONVERSION_ERROR
136{
137    Text [ en-US ] = "A frequent reason for this error is an inappropriate character set setting for the language of your database. Check the setting by choosing Edit - Database - Properties.";
138};
139
140String STR_EXCEPTION_ERROR
141{
142	Text [ en-US ] = "Error";
143};
144
145String STR_EXCEPTION_WARNING
146{
147	Text [ en-US ] = "Warning";
148};
149
150String STR_EXCEPTION_INFO
151{
152	Text [ en-US ] = "Information";
153};
154
155String STR_EXCEPTION_DETAILS
156{
157	Text [ en-US ] = "Details";
158};
159