Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / osf / uil / UilMessTab.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* 
24  *  @OSF_COPYRIGHT@
25  *  COPYRIGHT NOTICE
26  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
27  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
28  *  the full copyright text.
29 */ 
30 /* 
31  * HISTORY
32 */ 
33 /*   $XConsortium: UilMessTab.h /main/11 1995/07/14 09:36:09 drk $ */
34
35 /*
36 *  (c) Copyright 1989, 1990, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
37
38 /*
39 **++
40 **  FACILITY:
41 **
42 **      DECwindows Toolkit User Interface Language Compiler (UIL)
43 **--
44 **/
45
46
47 char XmConst msg0[36] = "duplicate option \"%s\" was ignored";
48 char XmConst msg1[34] = "unknown option \"%s\" was ignored";
49 char XmConst msg2[43] = "additional UIL source file: %s was ignored";
50 char XmConst msg3[30] = "error opening source file: %s";
51 char XmConst msg4[43] = "error reading next line of source file: %s";
52 char XmConst msg5[19] = "Internal error: %s";
53 char XmConst msg6[32] = "line truncated at %d characters";
54 char XmConst msg7[31] = "value of %s is out of range %s";
55 char XmConst msg8[21] = "%s not terminated %s";
56 char XmConst msg9[37] = "unprintable character \\%d\\ ignored";
57 char XmConst msg10[32] = "unknown sequence \"%s\" ignored";
58 char XmConst msg11[46] = "unknown escape sequence \"\\%c\" - \\ ignored";
59 char XmConst msg12[46] = "name exceeds %d characters - truncated to: %s";
60 char XmConst msg13[35] = "compiler ran out of virtual memory";
61 char XmConst msg14[56] = "unexpected %s token seen - parsing resumes after \"%c\"";
62 char XmConst msg15[44] = "%s %s must be defined before this reference";
63 char XmConst msg16[41] = "context requires a %s - %s was specified";
64 char XmConst msg17[26] = "%s is not implemented yet";
65 char XmConst msg18[39] = "found %s value when expecting %s value";
66 char XmConst msg19[45] = "the %s %s is not supported for the %s object";
67 char XmConst msg20[62] = "this %s %s is superseded by the last definition in this %s %s";
68 char XmConst msg21[33] = "name %s previously defined as %s";
69 char XmConst msg22[43] = "value used in this context must be private";
70 char XmConst msg23[55] = "procedure %s was previously declared with %d arguments";
71 char XmConst msg24[56] = "found %s value - procedure %s argument must be %s value";
72 char XmConst msg25[33] = "found %s %s when expecting %s %s";
73 char XmConst msg26[24] = "%s %s was never defined";
74 char XmConst msg27[39] = "%s %s already specified for this %s %s";
75 char XmConst msg28[29] = "%s item not allowed in %s %s";
76 char XmConst msg29[45] = "compilation terminated - fix previous errors";
77 char XmConst msg30[38] = "internal error - submit defect report";
78 char XmConst msg31[2] = " ";
79 char XmConst msg32[35] = "%s missing following \"%s\" option";
80 char XmConst msg33[31] = "error opening listing file: %s";
81 char XmConst msg34[34] = "error writing to listing file: %s";
82 char XmConst msg35[51] = "invalid module structure - check UIL module syntax";
83 char XmConst msg36[31] = "too many source files open: %s";
84 char XmConst msg37[38] = "source line contains a null character";
85 char XmConst msg38[45] = "errors: %d  warnings: %d  informationals: %d";
86 char XmConst msg39[27] = "error opening UID file: %s";
87 char XmConst msg40[25] = "no UID file was produced";
88 char XmConst msg41[53] = "creation procedure is not supported by the %s widget";
89 char XmConst msg42[59] = "creation procedure is not allowed in a %s widget reference";
90 char XmConst msg43[58] = "creation procedure is required in a %s widget declaration";
91 char XmConst msg44[46] = "a NULL character in a string is not supported";
92 char XmConst msg45[43] = "widget %s is part of a circular definition";
93 char XmConst msg46[25] = "no source file specified";
94 char XmConst msg47[35] = "%s %s supports only a single %s %s";
95 char XmConst msg48[41] = "%s widget supports only a single control";
96 char XmConst msg49[22] = "unknown character set";
97 char XmConst msg50[47] = "place names clause before other module clauses";
98 char XmConst msg51[47] = "color letter string must be a single character";
99 char XmConst msg52[48] = "color letter used for prior color in this table";
100 char XmConst msg53[37] = "row %d must have same width as row 1";
101 char XmConst msg54[52] = "row %d, column %d: letter \"%c\" not in color table";
102 char XmConst msg55[32] = "too many %ss in %s, limit is %d";
103 char XmConst msg56[48] = "Subqualifier not allowed with negated qualifier";
104 char XmConst msg57[60] = "%s gadget is not supported - %s widget will be used instead";
105 char XmConst msg58[28] = "%s type is not valid for %s";
106 char XmConst msg59[66] = "support for this character set may be removed in a future release";
107 char XmConst msg60[49] = "the %s constraint is not supported for the %s %s";
108 char XmConst msg61[37] = "too many \"%s\" options, limit is %d";
109 char XmConst msg62[30] = "error closing source file: %s";
110 char XmConst msg63[35] = "the %s value is circularly defined";
111 char XmConst msg64[28] = "overriding built-in name %s";
112 char XmConst msg65[51] = "the %s argument does not support enumerated values";
113 char XmConst msg66[57] = "the %s argument does not support the %s enumerated value";
114 char XmConst msg67[40] = "$LANG contains an unknown character set";
115 char XmConst msg68[66] = "the %s object's controls hierarchy contains a reference to itself";
116 char XmConst msg69[41] = "value %s is too large for context buffer";
117 char XmConst msg70[42] = "forward referencing is not allowed for %s";
118 char XmConst msg71[34] = "cannot convert %s type to %s type";
119 char XmConst msg72[14] = "%s is invalid";
120 char XmConst msg73[30] = "error reading binary database";
121 char XmConst msg74[47] = "binary database compiled with a future version";
122 char XmConst msg75[32] = "error opening database file: %s";
123 char XmConst msg76[27] = "error writing UID file: %s";
124 char XmConst msg77[45] = "'%s' is an unknown Toolkit class record name";
125 char XmConst msg78[26] = "invalid include file name";
126 char XmConst msg79[49] = "incompatible unit types for arithmetic operation";
127 char XmConst msg80[54] = "%s used as charset name; %s used as charset component";
128
129 typedef struct
130 {
131   XmConst int  l_severity;
132   char XmConst *ac_text;
133 } diag_rz_msg_entry;
134
135 XmConst diag_rz_msg_entry diag_rz_msg_table[81] =
136         {
137            { 2, msg0 },
138            { 2, msg1 },
139            { 3, msg2 },
140            { 4, msg3 },
141            { 4, msg4 },
142            { 4, msg5 },
143            { 3, msg6 },
144            { 3, msg7 },
145            { 3, msg8 },
146            { 3, msg9 },
147            { 3, msg10 },
148            { 3, msg11 },
149            { 3, msg12 },
150            { 4, msg13 },
151            { 3, msg14 },
152            { 3, msg15 },
153            { 3, msg16 },
154            { 3, msg17 },
155            { 3, msg18 },
156            { 2, msg19 },
157            { 1, msg20 },
158            { 3, msg21 },
159            { 3, msg22 },
160            { 3, msg23 },
161            { 3, msg24 },
162            { 3, msg25 },
163            { 3, msg26 },
164            { 3, msg27 },
165            { 3, msg28 },
166            { 4, msg29 },
167            { 4, msg30 },
168            { 1, msg31 },
169            { 3, msg32 },
170            { 4, msg33 },
171            { 4, msg34 },
172            { 3, msg35 },
173            { 4, msg36 },
174            { 3, msg37 },
175            { 1, msg38 },
176            { 4, msg39 },
177            { 1, msg40 },
178            { 3, msg41 },
179            { 3, msg42 },
180            { 3, msg43 },
181            { 2, msg44 },
182            { 3, msg45 },
183            { 4, msg46 },
184            { 2, msg47 },
185            { 2, msg48 },
186            { 3, msg49 },
187            { 3, msg50 },
188            { 3, msg51 },
189            { 3, msg52 },
190            { 3, msg53 },
191            { 3, msg54 },
192            { 3, msg55 },
193            { 4, msg56 },
194            { 2, msg57 },
195            { 3, msg58 },
196            { 2, msg59 },
197            { 2, msg60 },
198            { 2, msg61 },
199            { 2, msg62 },
200            { 3, msg63 },
201            { 2, msg64 },
202            { 2, msg65 },
203            { 2, msg66 },
204            { 3, msg67 },
205            { 3, msg68 },
206            { 4, msg69 },
207            { 4, msg70 },
208            { 3, msg71 },
209            { 3, msg72 },
210            { 4, msg73 },
211            { 4, msg74 },
212            { 4, msg75 },
213            { 4, msg76 },
214            { 2, msg77 },
215            { 4, msg78 },
216            { 4, msg79 },
217            { 1, msg80 },
218         };
219
220 #ifndef NO_MESSAGE_CATALOG
221 #include <nl_types.h>
222 #include "UilMsgCatI.h"
223 externalref nl_catd uil_catd;
224
225 XmConst int msg_cat_table[81] = {
226   UIL_0,  UIL_1,  UIL_2,  UIL_3,  UIL_4,
227   UIL_5,  UIL_6,  UIL_7,  UIL_8,  UIL_9,
228   UIL_10, UIL_11, UIL_12, UIL_13, UIL_14,
229   UIL_15, UIL_16, UIL_17, UIL_18, UIL_19,
230   UIL_20, UIL_21, UIL_22, UIL_23, UIL_24,
231   UIL_25, UIL_26, UIL_27, UIL_28, UIL_29,
232   UIL_30, UIL_31, UIL_32, UIL_33, UIL_34,
233   UIL_35, UIL_36, UIL_37, UIL_38, UIL_39,
234   UIL_40, UIL_41, UIL_42, UIL_43, UIL_44,
235   UIL_45, UIL_46, UIL_47, UIL_48, UIL_49,
236   UIL_50, UIL_51, UIL_52, UIL_53, UIL_54,
237   UIL_55, UIL_56, UIL_57, UIL_58, UIL_59,
238   UIL_60, UIL_61, UIL_62, UIL_63, UIL_64,
239   UIL_65, UIL_66, UIL_67, UIL_68, UIL_69,
240   UIL_70, UIL_71, UIL_72,
241   UIL_V2_73, UIL_V2_74, UIL_V2_75, UIL_V2_76, 
242   UIL_V2_77, UIL_78, UIL_V2_79, UIL_V2_80,
243 };
244
245 #endif