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