00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151 #define BAD_FLAG "\r\nIllegal affix flag character '%c'\r\n"
00152 #define CANT_OPEN "Can't open %s\r\n"
00153 #define CANT_CREATE "Can't create %s\r\n"
00154 #define WORD_TOO_LONG(w) "\r\nWord '%s' too long at line %d of %s, truncated\r\n", \
00155 w, __LINE__, __FILE__
00156
00157
00158
00159
00160 #define BHASH_C_NO_DICT "No dictionary (%s)\n"
00161 #define BHASH_C_NO_COUNT "No count file\n"
00162 #define BHASH_C_BAD_COUNT "Bad count file\n"
00163 #define BHASH_C_ZERO_COUNT "No words in dictionary\n"
00164
00165
00166 #define BHASH_C_BAFF_1(max, excess) \
00167 " 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", \
00168 max, excess
00169 #define BHASH_C_BAFF_2 \
00170 "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"
00171 #define BHASH_C_OVERFLOW "Hash table overflowed by %d words\n"
00172 #define BHASH_C_CANT_OPEN_DICT "Can't open dictionary\n"
00173 #define BHASH_C_NO_SPACE "Couldn't allocate hash table\n"
00174 #define BHASH_C_COLLISION_SPACE "\ncouldn't allocate space for collision\n"
00175 #define BHASH_C_COUNTING "Counting words in dictionary ...\n"
00176 #define BHASH_C_WORD_COUNT "\n%d words\n"
00177 #define BHASH_C_USAGE "Usage: buildhash [-s] dict-file aff-file hash-file\n\tbuildhash -c count aff-file\n"
00178
00179
00180
00181
00182 #define CORR_C_HELP_1 "Whenever a word is found that is not in the dictionary,\r\n"
00183 #define CORR_C_HELP_2 "it is printed on the first line of the screen. If the dictionary\r\n"
00184 #define CORR_C_HELP_3 "contains any similar words, they are listed with a number\r\n"
00185 #define CORR_C_HELP_4 "next to each one. You have the option of replacing the word\r\n"
00186 #define CORR_C_HELP_5 "completely, or choosing one of the suggested words.\r\n"
00187
00188 #define CORR_C_HELP_6 ""
00189 #define CORR_C_HELP_7 ""
00190 #define CORR_C_HELP_8 ""
00191 #define CORR_C_HELP_9 ""
00192 #define CORR_C_HELP_COMMANDS "\r\nCommands are:\r\n\r\n"
00193 #define CORR_C_HELP_R_CMD "R Replace the misspelled word completely.\r\n"
00194 #define CORR_C_HELP_BLANK "Space Accept the word this time only.\r\n"
00195 #define CORR_C_HELP_A_CMD "A Accept the word for the rest of this session.\r\n"
00196 #define CORR_C_HELP_I_CMD "I Accept the word, and put it in your private dictionary.\r\n"
00197 #define CORR_C_HELP_U_CMD "U Accept and add lowercase version to private dictionary.\r\n"
00198 #define CORR_C_HELP_0_CMD "0-n Replace with one of the suggested words.\r\n"
00199 #define CORR_C_HELP_L_CMD "L Look up words in system dictionary.\r\n"
00200 #define CORR_C_HELP_X_CMD "X Write the rest of this file, ignoring misspellings,\r\n and start next file.\r\n"
00201 #define CORR_C_HELP_Q_CMD "Q Quit immediately. Asks for confirmation.\r\n Leaves file unchanged.\r\n"
00202 #define CORR_C_HELP_BANG "! Shell escape.\r\n"
00203 #define CORR_C_HELP_REDRAW "^L Redraw screen.\r\n"
00204 #define CORR_C_HELP_SUSPEND "^Z Suspend program.\r\n"
00205 #define CORR_C_HELP_HELP "? Show this help screen.\r\n"
00206 #define CORR_C_HELP_TYPE_SPACE "-- Type space to continue --"
00207
00208 #define CORR_C_FILE_LABEL " File: %s"
00209 #define CORR_C_READONLY "[READONLY]"
00210 #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"
00211 #define CORR_C_CONFIRM_QUIT "Are you sure you want to throw away your changes? "
00212 #define CORR_C_REPLACE_WITH "Replace with: "
00213 #define CORR_C_LOOKUP_PROMPT "Lookup string ('*' is wildcard): "
00214 #define CORR_C_MORE_PROMPT "-- more --"
00215 #define CORR_C_BLANK_MORE "\r \r"
00216 #define CORR_C_END_LOOK "--end--"
00217
00218
00219
00220
00221 #define DEFMT_C_TEX_MATH_ERROR "****ERROR in parsing TeX math mode!\r\n"
00222 #define DEFMT_C_LR_MATH_ERROR "***ERROR in LR to math-mode switch.\n"
00223
00224
00225
00226
00227 #define ICOMBINE_C_BAD_TYPE "icombine: unrecognized formatter type '%s'\n"
00228 #define ICOMBINE_C_USAGE "Usage: icombine [-T suffix] [aff-file] < wordlist\n"
00229
00230
00231
00232
00233 #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"
00234 #define ISPELL_C_USAGE2 " %s [-dfile | -pfile | -wchars | -Wn | -t | -n | -Ttype] -l\n"
00235 #ifndef USG
00236 #define ISPELL_C_USAGE3 " %s [-dfile | -pfile | -ffile | -Wn | -t | -n | -s | -B | -C | -P | -m | -Ttype] {-a | -A}\n"
00237 #else
00238 #define ISPELL_C_USAGE3 " %s [-dfile | -pfile | -ffile | -Wn | -t | -n | -B | -C | -P | -m | -Ttype] {-a | -A}\n"
00239 #endif
00240 #define ISPELL_C_USAGE4 " %s [-dfile] [-wchars | -Wn] -c\n"
00241 #define ISPELL_C_USAGE5 " %s [-dfile] [-wchars] -e[1-4]\n"
00242 #define ISPELL_C_USAGE6 " %s [-dfile] [-wchars] -D\n"
00243 #define ISPELL_C_USAGE7 " %s -v\n"
00244 #define ISPELL_C_TEMP_DISAPPEARED "temporary file disappeared (%s)\r\n"
00245 #define ISPELL_C_BAD_TYPE "ispell: unrecognized formatter type '%s'\n"
00246 #define ISPELL_C_NO_FILE "ispell: specified file does not exist\n"
00247 #define ISPELL_C_NO_FILES "ispell: specified files do not exist\n"
00248 #define ISPELL_C_CANT_WRITE "Warning: Can't write to %s\r\n"
00249 #define ISPELL_C_OPTIONS_ARE "Compiled-in options:\n"
00250
00251
00252
00253
00254 #define LOOKUP_C_CANT_READ "Trouble reading hash table %s\r\n"
00255 #define LOOKUP_C_NULL_HASH "Null hash table %s\r\n"
00256 #define LOOKUP_C_SHORT_HASH(name, gotten, wanted) \
00257 "Truncated hash table %s: got %d bytes, expected %d\r\n", \
00258 name, gotten, wanted
00259 #define LOOKUP_C_BAD_MAGIC(name, wanted, gotten) \
00260 "Illegal format hash table %s - expected magic 0x%x, got 0x%x\r\n", \
00261 name, wanted, gotten
00262 #define LOOKUP_C_BAD_MAGIC2(name, wanted, gotten) \
00263 "Illegal format hash table %s - expected magic2 0x%x, got 0x%x\r\n", \
00264 name, wanted, gotten
00265 #define LOOKUP_C_BAD_OPTIONS(gotopts, gotchars, gotlen, wantedopts, wantedchars, wantedlen) \
00266 "Hash table options don't agree with buildhash - 0x%x/%d/%d vs. 0x%x/%d/%d\r\n", \
00267 gotopts, gotchars, gotlen, \
00268 wantedopts, wantedchars, wantedlen
00269 #define LOOKUP_C_NO_HASH_SPACE "Couldn't allocate space for hash table\r\n"
00270 #define LOOKUP_C_BAD_FORMAT "Illegal format hash table\r\n"
00271 #define LOOKUP_C_NO_LANG_SPACE "Couldn't allocate space for language tables\r\n"
00272
00273
00274
00275
00276 #define MAKEDENT_C_NO_WORD_SPACE "\r\nCouldn't allocate space for word '%s'\r\n"
00277 #define MAKEDENT_C_BAD_WORD_CHAR "\r\nWord '%s' contains illegal characters\r\n"
00278
00279
00280
00281
00282 #define PARSE_Y_8_BIT "Eighth bit ignored (recompile ispell without NO8BIT)"
00283 #define PARSE_Y_NO_WORD_STRINGS "wordchars statement may not specify string characters"
00284 #define PARSE_Y_UNMATCHED "Unmatched charset lengths"
00285 #define PARSE_Y_NO_BOUNDARY_STRINGS "boundarychars statement may not specify string characters"
00286 #define PARSE_Y_LONG_STRING "String character is too long"
00287 #define PARSE_Y_NULL_STRING "String character must have nonzero length"
00288 #define PARSE_Y_MANY_STRINGS "Too many string characters"
00289 #define PARSE_Y_NO_SUCH_STRING "No such string character"
00290 #define PARSE_Y_MULTIPLE_STRINGS "Alternate string character was already defined"
00291 #define PARSE_Y_LENGTH_MISMATCH "Upper and lower versions of string character must be same length"
00292 #define PARSE_Y_WRONG_NROFF "Incorrect character count in nroffchars statement"
00293 #define PARSE_Y_WRONG_TEX "Incorrect character count in TeXchars statement"
00294 #define PARSE_Y_DOUBLE_COMPOUND "Compoundwords option may only appear once"
00295 #define PARSE_Y_LONG_FLAG "Flag must be single character"
00296 #define PARSE_Y_BAD_FLAG "Flag must be alphabetic"
00297 #define PARSE_Y_DUP_FLAG "Duplicate flag"
00298 #define PARSE_Y_NO_SPACE "Out of memory"
00299 #define PARSE_Y_NEED_BLANK "Single characters must be separated by a blank"
00300 #define PARSE_Y_MANY_CONDS "Too many conditions; 8 maximum"
00301 #define PARSE_Y_EOF "Unexpected EOF in quoted string"
00302 #define PARSE_Y_LONG_QUOTE "Quoted string too long, max 256 characters"
00303 #define PARSE_Y_ERROR_FORMAT(file, lineno, error) \
00304 "%s line %d: %s\n", file, lineno, error
00305 #define PARSE_Y_MALLOC_TROUBLE "yyopen: trouble allocating memory\n"
00306 #define PARSE_Y_UNGRAB_PROBLEM "Internal error: ungrab buffer overflow"
00307 #define PARSE_Y_BAD_DEFORMATTER "Deformatter must be either 'nroff' or 'tex'"
00308 #define PARSE_Y_BAD_NUMBER "Illegal digit in number"
00309
00310
00311
00312
00313 #define TERM_C_SMALL_SCREEN "Screen too small: need at least %d lines\n"
00314 #define TERM_C_NO_BATCH "Can't deal with non-interactive use yet.\n"
00315 #define TERM_C_CANT_FORK "Couldn't fork, try later.\r\n"
00316 #define TERM_C_TYPE_SPACE "\n-- Type space to continue --"
00317
00318
00319
00320
00321 #define TREE_C_CANT_UPDATE "Warning: Cannot update personal dictionary (%s)\r\n"
00322 #define TREE_C_NO_SPACE "Ran out of space for personal dictionary\r\n"
00323 #define TREE_C_TRY_ANYWAY "Continuing anyway (with reduced performance).\r\n"
00324
00325
00326
00327
00328 #define UNSQ_C_BAD_COUNT "Illegal count character 0x%x\n"
00329 #define UNSQ_C_SURPRISE_EOF "Unexpected EOF\n"