2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
23 /* $XConsortium: msgs.c /main/4 1995/11/01 15:56:14 rswiston $ */
25 #include <sys/param.h>
41 case DT_BAD_FIELD_NAME:
42 msg = GETMESSAGE(11,1, "Cannot find a field named '%s' in the structure '%s'");
45 case DT_CONV_BUF_OVFL:
46 msg = GETMESSAGE(11,2, "DtkshCvtCallbackToString: An internal conversion buffer overflowed");
49 case DT_HASHING_FAILURE:
50 msg = GETMESSAGE(11,3, "Hashing failure for resource '%s' in widget class '%s'");
54 msg = GETMESSAGE(11,4, "No function name was supplied");
58 msg = GETMESSAGE(11,5, "The command cannot be executed; the toolkit has not been initialized");
61 case DT_WIDGET_CREATE_FAILED:
62 msg = GETMESSAGE(11,6, "The creation of widget '%s' failed");
66 msg = GETMESSAGE(11,7, "The display parameter is invalid: %s");
70 msg = GETMESSAGE(11,8, "The following property atom is invalid: %s");
73 case DT_UNDEF_RESOURCE:
74 msg = GETMESSAGE(11,9, "The following resource is not defined for widget '%s': %s");
78 msg = GETMESSAGE(11,10, "The position specified is invalid: %s");
82 msg = GETMESSAGE(11,11, "The specified font is invalid: %s");
85 case DT_BAD_WIDGET_HANDLE:
86 msg = GETMESSAGE(11,12, "The widget handle '%s' does not refer to an existing widget");
90 msg = GETMESSAGE(11,13, "The widget must be a 'command' widget");
93 case DT_MAIN_WIN_WIDGET:
94 msg = GETMESSAGE(11,14, "The widget must be a 'mainWindow' widget");
98 msg = GETMESSAGE(11,15, "The widget must be a 'scale' widget");
101 case DT_SCROLLBAR_WIDGET:
102 msg = GETMESSAGE(11,16, "The widget must be a 'scrollBar' widget");
105 case DT_TOGGLE_WIDGET:
106 msg = GETMESSAGE(11,17, "The widget must be a 'toggleButton' widget or gadget");
110 msg = GETMESSAGE(11,18, "The window parameter is invalid: %s");
113 case DT_ALLOC_FAILURE:
114 msg = GETMESSAGE(11,19, "Unable to allocate required memory; exiting");
118 msg = GETMESSAGE(11,20, "Unable to find the parent widget");
121 case DT_UNDEF_SYMBOL:
122 msg = GETMESSAGE(11,21, "Unable to locate the symbol '%s'");
126 msg = GETMESSAGE(11,22, "Unable to locate the type '%s'");
130 msg = GETMESSAGE(11,23, "Unable to parse the declaration '%s'; using 'unsigned long'");
133 case DT_UNKNOWN_CHILD_TYPE:
134 msg = GETMESSAGE(11,24, "Unknown child type: %s");
137 case DT_UNKNOWN_OPTION:
138 msg = GETMESSAGE(11,25, "Unrecognized option flag: %s");
141 case DT_USAGE_WIDGET_POS:
142 msg = GETMESSAGE(11,26, "Usage: %s widget position");
145 case DT_USAGE_WIDGET_TIME:
146 msg = GETMESSAGE(11,27, "Usage: %s widget time");
149 case DT_USAGE_WIDGET:
150 msg = GETMESSAGE(11,28, "Usage: %s widget");
154 msg = GETMESSAGE(11,29, "dtksh error");
158 msg = GETMESSAGE(11,30, "dtksh warning");
161 case DT_USAGE_DISPLAY_WINDOW:
162 msg = GETMESSAGE(11,31, "Usage: %s display window");
165 case DT_USAGE_DISPLAY_WINDOW_VAR:
166 msg = GETMESSAGE(11,32, "Usage: %s display window variable");
169 case DT_USAGE_DISPLAY_ROOT_VAR:
170 msg = GETMESSAGE(11,33, "Usage: %s display rootWindow variable");
174 msg = GETMESSAGE(11,34, "The timeout parameter is invalid: %s");
178 msg = GETMESSAGE(11,35, "The msg parameter is invalid: %s");
182 msg = GETMESSAGE(11,36, "The patterns parameter is invalid: %s");