UilMessTab.h 9.1 KB

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