Lines Matching refs:message

24  * sgsmsg generates several message files from an input template file.  Messages
28 * msg.h a header file containing definitions for each message. The -h
32 * msg.c a data array of message strings. The msg.h definitions are
36 * messages a message file suitable for catgets(3c) or gettext(3i) use. The
42 * # or $ entries are copied (as is) to the message file (messages).
47 * A single token is interpreted as one of two reserved message
48 * output indicators, or a message identifier. The reserved output
49 * indicator _START_ enables output to the message file - Note that
50 * the occurance of any other @ token will also enable message
52 * the message file. The use of these two indicators provides for
53 * only those message strings that require translation to be output
54 * to the message file.
57 * to be a message identifier which will be subsituted for a
60 * token for the associated definition found in the message
63 * Multiple tokens are taken to be a message definition followed by
64 * the associated message string. The message string is copied to
66 * becomes the `message' identifier created in the msg.h file.
83 * Define any error message strings.
94 * Errmsg_mnfn = "sgsmsg: message not found in Str_tbl: %s\n",
143 message_append(const char *defn, const char *message)
164 if ((msg->ms_message = strdup(message)) == 0) {
171 message);
185 * value from the specified message identifier file (specified with the -i
194 * If we're being asked to interpret a message id but the user didn't
195 * provide the required message identifier file (-i option) we're in
201 "no message identifier file specified "
212 * Read the message identifier file and locate the required mesgid.
278 * Generate the message file output (insure output flag is enabled).
300 * For catgets(3c) output generate a setid definition in the message
358 * Initialize the message definition header file stream.
457 * Finish the message definition header file.
498 * our lintsup.c files that include more than one message header.
554 * inserted into the string_table. We can now walk the message queue
705 * Pass lines directly through to the output message
761 * reserved message output delimiters otherwise
762 * translate it as a message identifier.
776 * token as the message definition, and the rest of the
777 * line as the message itself. A message line ending
785 * For catgets(3c) make sure a message
789 * redundent). Also make sure that the message
792 * any message file entries.
797 "%s: no message identifier "
804 "%s: message definition "
814 * message string to the message file. For
815 * gettext(3i) write the message string as a
839 * The message itself is a quoted string as this makes
866 * Write each character of the message string to the
871 message:
926 * thats the last of the message string.
993 * After the complete message string has been processed
1015 * Empty lines are passed through to the message file.
1045 * to be message continuations.
1049 goto message;
1074 case 'd': /* new message data filename */
1077 case 'h': /* new message defs filename */
1080 case 'i': /* input message ids from */
1083 case 'l': /* define message data arrays */
1086 case 'm': /* generate message database */
1156 * Initialize the message definition and message data streams.
1164 * Read the input message file, and for each line process accordingly.