150 #define BAD_FLAG "\r\nIllegal affix flag character '%c'\r\n"
151 #define CANT_OPEN "Can't open %s\r\n"
152 #define CANT_CREATE "Can't create %s\r\n"
153 #define WORD_TOO_LONG(w) "\r\nWord '%s' too long at line %d of %s, truncated\r\n", \
154 w, __LINE__, __FILE__
159 #define BHASH_C_NO_DICT "No dictionary (%s)\n"
160 #define BHASH_C_NO_COUNT "No count file\n"
161 #define BHASH_C_BAD_COUNT "Bad count file\n"
162 #define BHASH_C_ZERO_COUNT "No words in dictionary\n"
165 #define BHASH_C_BAFF_1(max, excess) \
166 " Warning: this language table may exceed the maximum total affix length\nof %d by up to %d bytes. You should either increase MAXAFFIXLEN in config.X\nor shorten your largest affix/strip string difference. (This is the\n", \
168 #define BHASH_C_BAFF_2 \
169 "difference between the affix length and the strip length in a given\nreplacement rule, or the affix length if there is no strip string\nin that rule.)\n"
170 #define BHASH_C_OVERFLOW "Hash table overflowed by %d words\n"
171 #define BHASH_C_CANT_OPEN_DICT "Can't open dictionary\n"
172 #define BHASH_C_NO_SPACE "Couldn't allocate hash table\n"
173 #define BHASH_C_COLLISION_SPACE "\ncouldn't allocate space for collision\n"
174 #define BHASH_C_COUNTING "Counting words in dictionary ...\n"
175 #define BHASH_C_WORD_COUNT "\n%d words\n"
176 #define BHASH_C_USAGE "Usage: buildhash [-s] dict-file aff-file hash-file\n\tbuildhash -c count aff-file\n"
181 #define CORR_C_HELP_1 "Whenever a word is found that is not in the dictionary,\r\n"
182 #define CORR_C_HELP_2 "it is printed on the first line of the screen. If the dictionary\r\n"
183 #define CORR_C_HELP_3 "contains any similar words, they are listed with a number\r\n"
184 #define CORR_C_HELP_4 "next to each one. You have the option of replacing the word\r\n"
185 #define CORR_C_HELP_5 "completely, or choosing one of the suggested words.\r\n"
187 #define CORR_C_HELP_6 ""
188 #define CORR_C_HELP_7 ""
189 #define CORR_C_HELP_8 ""
190 #define CORR_C_HELP_9 ""
191 #define CORR_C_HELP_COMMANDS "\r\nCommands are:\r\n\r\n"
192 #define CORR_C_HELP_R_CMD "R Replace the misspelled word completely.\r\n"
193 #define CORR_C_HELP_BLANK "Space Accept the word this time only.\r\n"
194 #define CORR_C_HELP_A_CMD "A Accept the word for the rest of this session.\r\n"
195 #define CORR_C_HELP_I_CMD "I Accept the word, and put it in your private dictionary.\r\n"
196 #define CORR_C_HELP_U_CMD "U Accept and add lowercase version to private dictionary.\r\n"
197 #define CORR_C_HELP_0_CMD "0-n Replace with one of the suggested words.\r\n"
198 #define CORR_C_HELP_L_CMD "L Look up words in system dictionary.\r\n"
199 #define CORR_C_HELP_X_CMD "X Write the rest of this file, ignoring misspellings,\r\n and start next file.\r\n"
200 #define CORR_C_HELP_Q_CMD "Q Quit immediately. Asks for confirmation.\r\n Leaves file unchanged.\r\n"
201 #define CORR_C_HELP_BANG "! Shell escape.\r\n"
202 #define CORR_C_HELP_REDRAW "^L Redraw screen.\r\n"
203 #define CORR_C_HELP_SUSPEND "^Z Suspend program.\r\n"
204 #define CORR_C_HELP_HELP "? Show this help screen.\r\n"
205 #define CORR_C_HELP_TYPE_SPACE "-- Type space to continue --"
207 #define CORR_C_FILE_LABEL " File: %s"
208 #define CORR_C_READONLY "[READONLY]"
209 #define CORR_C_MINI_MENU "[SP] <number> R)epl A)ccept I)nsert L)ookup U)ncap Q)uit e(X)it or ? for help\r\n"
210 #define CORR_C_CONFIRM_QUIT "Are you sure you want to throw away your changes? "
211 #define CORR_C_REPLACE_WITH "Replace with: "
212 #define CORR_C_LOOKUP_PROMPT "Lookup string ('*' is wildcard): "
213 #define CORR_C_MORE_PROMPT "-- more --"
214 #define CORR_C_BLANK_MORE "\r \r"
215 #define CORR_C_END_LOOK "--end--"
220 #define DEFMT_C_TEX_MATH_ERROR "****ERROR in parsing TeX math mode!\r\n"
221 #define DEFMT_C_LR_MATH_ERROR "***ERROR in LR to math-mode switch.\n"
226 #define ICOMBINE_C_BAD_TYPE "icombine: unrecognized formatter type '%s'\n"
227 #define ICOMBINE_C_USAGE "Usage: icombine [-T suffix] [aff-file] < wordlist\n"
232 #define ISPELL_C_USAGE1 "Usage: %s [-dfile | -pfile | -wchars | -Wn | -t | -n | -x | -b | -S | -B | -C | -P | -m | -Lcontext | -M | -N | -Ttype | -V] file .....\n"
233 #define ISPELL_C_USAGE2 " %s [-dfile | -pfile | -wchars | -Wn | -t | -n | -Ttype] -l\n"
235 #define ISPELL_C_USAGE3 " %s [-dfile | -pfile | -ffile | -Wn | -t | -n | -s | -B | -C | -P | -m | -Ttype] {-a | -A}\n"
237 #define ISPELL_C_USAGE3 " %s [-dfile | -pfile | -ffile | -Wn | -t | -n | -B | -C | -P | -m | -Ttype] {-a | -A}\n"
239 #define ISPELL_C_USAGE4 " %s [-dfile] [-wchars | -Wn] -c\n"
240 #define ISPELL_C_USAGE5 " %s [-dfile] [-wchars] -e[1-4]\n"
241 #define ISPELL_C_USAGE6 " %s [-dfile] [-wchars] -D\n"
242 #define ISPELL_C_USAGE7 " %s -v\n"
243 #define ISPELL_C_TEMP_DISAPPEARED "temporary file disappeared (%s)\r\n"
244 #define ISPELL_C_BAD_TYPE "ispell: unrecognized formatter type '%s'\n"
245 #define ISPELL_C_NO_FILE "ispell: specified file does not exist\n"
246 #define ISPELL_C_NO_FILES "ispell: specified files do not exist\n"
247 #define ISPELL_C_CANT_WRITE "Warning: Can't write to %s\r\n"
248 #define ISPELL_C_OPTIONS_ARE "Compiled-in options:\n"
253 #define LOOKUP_C_CANT_READ "Trouble reading hash table %s\r\n"
254 #define LOOKUP_C_NULL_HASH "Null hash table %s\r\n"
255 #define LOOKUP_C_SHORT_HASH(name, gotten, wanted) \
256 "Truncated hash table %s: got %d bytes, expected %d\r\n", \
258 #define LOOKUP_C_BAD_MAGIC(name, wanted, gotten) \
259 "Illegal format hash table %s - expected magic 0x%x, got 0x%x\r\n", \
261 #define LOOKUP_C_BAD_MAGIC2(name, wanted, gotten) \
262 "Illegal format hash table %s - expected magic2 0x%x, got 0x%x\r\n", \
264 #define LOOKUP_C_BAD_OPTIONS(gotopts, gotchars, gotlen, wantedopts, wantedchars, wantedlen) \
265 "Hash table options don't agree with buildhash - 0x%x/%d/%d vs. 0x%x/%d/%d\r\n", \
266 gotopts, gotchars, gotlen, \
267 wantedopts, wantedchars, wantedlen
268 #define LOOKUP_C_NO_HASH_SPACE "Couldn't allocate space for hash table\r\n"
269 #define LOOKUP_C_BAD_FORMAT "Illegal format hash table\r\n"
270 #define LOOKUP_C_NO_LANG_SPACE "Couldn't allocate space for language tables\r\n"
275 #define MAKEDENT_C_NO_WORD_SPACE "\r\nCouldn't allocate space for word '%s'\r\n"
276 #define MAKEDENT_C_BAD_WORD_CHAR "\r\nWord '%s' contains illegal characters\r\n"
281 #define PARSE_Y_8_BIT "Eighth bit ignored (recompile ispell without NO8BIT)"
282 #define PARSE_Y_NO_WORD_STRINGS "wordchars statement may not specify string characters"
283 #define PARSE_Y_UNMATCHED "Unmatched charset lengths"
284 #define PARSE_Y_NO_BOUNDARY_STRINGS "boundarychars statement may not specify string characters"
285 #define PARSE_Y_LONG_STRING "String character is too long"
286 #define PARSE_Y_NULL_STRING "String character must have nonzero length"
287 #define PARSE_Y_MANY_STRINGS "Too many string characters"
288 #define PARSE_Y_NO_SUCH_STRING "No such string character"
289 #define PARSE_Y_MULTIPLE_STRINGS "Alternate string character was already defined"
290 #define PARSE_Y_LENGTH_MISMATCH "Upper and lower versions of string character must be same length"
291 #define PARSE_Y_WRONG_NROFF "Incorrect character count in nroffchars statement"
292 #define PARSE_Y_WRONG_TEX "Incorrect character count in TeXchars statement"
293 #define PARSE_Y_DOUBLE_COMPOUND "Compoundwords option may only appear once"
294 #define PARSE_Y_LONG_FLAG "Flag must be single character"
295 #define PARSE_Y_BAD_FLAG "Flag must be alphabetic"
296 #define PARSE_Y_DUP_FLAG "Duplicate flag"
297 #define PARSE_Y_NO_SPACE "Out of memory"
298 #define PARSE_Y_NEED_BLANK "Single characters must be separated by a blank"
299 #define PARSE_Y_MANY_CONDS "Too many conditions; 8 maximum"
300 #define PARSE_Y_EOF "Unexpected EOF in quoted string"
301 #define PARSE_Y_LONG_QUOTE "Quoted string too long, max 256 characters"
302 #define PARSE_Y_ERROR_FORMAT(file, lineno, error) \
303 "%s line %d: %s\n", file, lineno, error
304 #define PARSE_Y_MALLOC_TROUBLE "yyopen: trouble allocating memory\n"
305 #define PARSE_Y_UNGRAB_PROBLEM "Internal error: ungrab buffer overflow"
306 #define PARSE_Y_BAD_DEFORMATTER "Deformatter must be either 'nroff' or 'tex'"
307 #define PARSE_Y_BAD_NUMBER "Illegal digit in number"
312 #define TERM_C_SMALL_SCREEN "Screen too small: need at least %d lines\n"
313 #define TERM_C_NO_BATCH "Can't deal with non-interactive use yet.\n"
314 #define TERM_C_CANT_FORK "Couldn't fork, try later.\r\n"
315 #define TERM_C_TYPE_SPACE "\n-- Type space to continue --"
320 #define TREE_C_CANT_UPDATE "Warning: Cannot update personal dictionary (%s)\r\n"
321 #define TREE_C_NO_SPACE "Ran out of space for personal dictionary\r\n"
322 #define TREE_C_TRY_ANYWAY "Continuing anyway (with reduced performance).\r\n"
327 #define UNSQ_C_BAD_COUNT "Illegal count character 0x%x\n"
328 #define UNSQ_C_SURPRISE_EOF "Unexpected EOF\n"