usage-txt.h 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. /* -*- buffer-read-only: t -*- vi: set ro:
  2. *
  3. * DO NOT EDIT THIS FILE (usage-txt.h)
  4. *
  5. * It has been AutoGen-ed
  6. * From the definitions usage-txt.def
  7. * and the template file usage-txt.tpl
  8. *
  9. * This file is part of AutoOpts, a companion to AutoGen.
  10. * AutoOpts is free software.
  11. * AutoOpts is Copyright (C) 1992-2017 by Bruce Korb - all rights reserved
  12. *
  13. * AutoOpts is available under any one of two licenses. The license
  14. * in use must be one of these two and the choice is under the control
  15. * of the user of the license.
  16. *
  17. * The GNU Lesser General Public License, version 3 or later
  18. * See the files "COPYING.lgplv3" and "COPYING.gplv3"
  19. *
  20. * The Modified Berkeley Software Distribution License
  21. * See the file "COPYING.mbsd"
  22. *
  23. * These files have the following sha256 sums:
  24. *
  25. * 8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95 COPYING.gplv3
  26. * 4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b COPYING.lgplv3
  27. * 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.mbsd
  28. */
  29. /** @file usage-txt.h
  30. *
  31. * This file handles all the bookkeeping required for tracking all the little
  32. * tiny strings used by the AutoOpts library. There are 107
  33. * of them. This is not versioned because it is entirely internal to the
  34. * library and accessed by client code only in a very well-controlled way:
  35. * they may substitute translated strings using a procedure that steps through
  36. * all the string pointers.
  37. */
  38. #ifndef AUTOOPTS_USAGE_TXT_H_GUARD
  39. #define AUTOOPTS_USAGE_TXT_H_GUARD 1
  40. /*
  41. * One structure to hold all the pointers to all the translatable strings.
  42. */
  43. typedef struct {
  44. int field_ct;
  45. char * utpz_GnuBoolArg;
  46. char * utpz_GnuKeyArg;
  47. char * utpz_GnuNumArg;
  48. char * utpz_GnuStrArg;
  49. char const * apz_str[103];
  50. } usage_text_t;
  51. /*
  52. * Declare the global structure with all the pointers to translatable
  53. * strings and the text array containing untranslatable strings.
  54. */
  55. extern usage_text_t option_xlateable_txt;
  56. extern char const option_lib_text[4267];
  57. #if defined(AUTOOPTS_INTERNAL)
  58. /*
  59. * Provide a mapping from a short name to either the text directly
  60. * (for untranslatable strings), or to pointers to the text, rendering
  61. * them translatable.
  62. */
  63. #define zalloc_fail (option_xlateable_txt.apz_str[ 0])
  64. #define zno_opt_arg (option_xlateable_txt.apz_str[ 1])
  65. #define ztoo_new (option_xlateable_txt.apz_str[ 2])
  66. #define zwrong_ver (option_xlateable_txt.apz_str[ 3])
  67. #define zrealloc_fail (option_xlateable_txt.apz_str[ 4])
  68. #define ztoo_old (option_xlateable_txt.apz_str[ 5])
  69. #define zao_ver_fmt (option_xlateable_txt.apz_str[ 6])
  70. #define zao_bug_msg (option_xlateable_txt.apz_str[ 7])
  71. #define zno_reset (option_xlateable_txt.apz_str[ 8])
  72. #define zmissing_help_msg (option_xlateable_txt.apz_str[ 9])
  73. #define zbad_data_msg (option_xlateable_txt.apz_str[ 10])
  74. #define zbad_arg_type_msg (option_xlateable_txt.apz_str[ 11])
  75. #define zbad_default_msg (option_xlateable_txt.apz_str[ 12])
  76. #define zbad_alias_id (option_xlateable_txt.apz_str[ 13])
  77. #define zambiguous_key (option_xlateable_txt.apz_str[ 14])
  78. #define zambig_list_msg (option_xlateable_txt.apz_str[ 15])
  79. #define zambig_opt_fmt (option_xlateable_txt.apz_str[ 16])
  80. #define zargs_must (option_xlateable_txt.apz_str[ 17])
  81. #define zat_most (option_xlateable_txt.apz_str[ 18])
  82. #define zfserr_fmt (option_xlateable_txt.apz_str[ 19])
  83. #define zinter_proc_pipe (option_xlateable_txt.apz_str[ 20])
  84. #define zBadVerArg (option_xlateable_txt.apz_str[ 21])
  85. #define zconflict_fmt (option_xlateable_txt.apz_str[ 22])
  86. #define zDisabledErr (option_xlateable_txt.apz_str[ 23])
  87. #define zequiv (option_xlateable_txt.apz_str[ 24])
  88. #define zGnuBoolArg (option_xlateable_txt.utpz_GnuBoolArg)
  89. #define zGnuKeyArg (option_xlateable_txt.utpz_GnuKeyArg)
  90. #define zGnuNumArg (option_xlateable_txt.utpz_GnuNumArg)
  91. #define zGnuStrArg (option_xlateable_txt.utpz_GnuStrArg)
  92. #define zIllOptChr (option_xlateable_txt.apz_str[ 25])
  93. #define zIllOptStr (option_xlateable_txt.apz_str[ 26])
  94. #define zIllVendOptStr (option_xlateable_txt.apz_str[ 27])
  95. #define zIntRange (option_xlateable_txt.apz_str[ 28])
  96. #define zbad_od (option_xlateable_txt.apz_str[ 29])
  97. #define zInvalOptName (option_xlateable_txt.apz_str[ 30])
  98. #define zMisArg (option_xlateable_txt.apz_str[ 31])
  99. #define zmultiway_bug (option_xlateable_txt.apz_str[ 32])
  100. #define zneed_one (option_xlateable_txt.apz_str[ 33])
  101. #define zNoArg (option_xlateable_txt.apz_str[ 34])
  102. #define zNoArgs (option_xlateable_txt.apz_str[ 35])
  103. #define zNoCreat (option_xlateable_txt.apz_str[ 36])
  104. #define zNoKey (option_xlateable_txt.apz_str[ 37])
  105. #define zreset_arg (option_xlateable_txt.apz_str[ 38])
  106. #define zNoStat (option_xlateable_txt.apz_str[ 39])
  107. #define zNoState (option_xlateable_txt.apz_str[ 40])
  108. #define zNotCmdOpt (option_xlateable_txt.apz_str[ 41])
  109. #define zNotDate (option_xlateable_txt.apz_str[ 42])
  110. #define zNotDuration (option_xlateable_txt.apz_str[ 43])
  111. #define zneed_more (option_xlateable_txt.apz_str[ 44])
  112. #define zNotNumber (option_xlateable_txt.apz_str[ 45])
  113. #define znum_too_large (option_xlateable_txt.apz_str[ 46])
  114. #define zoffer_usage_fmt (option_xlateable_txt.apz_str[ 47])
  115. #define zonly_one (option_xlateable_txt.apz_str[ 48])
  116. #define zstdout_name (option_xlateable_txt.apz_str[ 49])
  117. #define zstderr_name (option_xlateable_txt.apz_str[ 50])
  118. #define zwriting (option_xlateable_txt.apz_str[ 51])
  119. #define zRangeErr (option_xlateable_txt.apz_str[ 52])
  120. #define zneed_fmt (option_xlateable_txt.apz_str[ 53])
  121. #define zsave_warn (option_xlateable_txt.apz_str[ 54])
  122. #define zalt_opt (option_xlateable_txt.apz_str[ 55])
  123. #define zAuto (option_xlateable_txt.apz_str[ 56])
  124. #define zDefaultOpt (option_xlateable_txt.apz_str[ 57])
  125. #define zDis (option_xlateable_txt.apz_str[ 58])
  126. #define zDisabledOpt (option_xlateable_txt.apz_str[ 59])
  127. #define zDisabledWhy (option_xlateable_txt.apz_str[ 60])
  128. #define zEnab (option_xlateable_txt.apz_str[ 61])
  129. #define ztoo_often_fmt (option_xlateable_txt.apz_str[ 62])
  130. #define zExamineFmt (option_xlateable_txt.apz_str[ 63])
  131. #define zFileCannotExist (option_xlateable_txt.apz_str[ 64])
  132. #define zFileMustExist (option_xlateable_txt.apz_str[ 65])
  133. #define zFlagOkay (option_xlateable_txt.apz_str[ 66])
  134. #define zGenshell (option_xlateable_txt.apz_str[ 67])
  135. #define zLowerBits (option_xlateable_txt.apz_str[ 68])
  136. #define zMembers (option_xlateable_txt.apz_str[ 69])
  137. #define zMust (option_xlateable_txt.apz_str[ 70])
  138. #define zNoFlags (option_xlateable_txt.apz_str[ 71])
  139. #define zNoLim (option_xlateable_txt.apz_str[ 72])
  140. #define zNoPreset (option_xlateable_txt.apz_str[ 73])
  141. #define zNoRq_NoShrtTtl (option_xlateable_txt.apz_str[ 74])
  142. #define zNoRq_ShrtTtl (option_xlateable_txt.apz_str[ 75])
  143. #define zNrmOptFmt (option_xlateable_txt.apz_str[ 76])
  144. #define zNumberOpt (option_xlateable_txt.apz_str[ 77])
  145. #define zOptsOnly (option_xlateable_txt.apz_str[ 78])
  146. #define zPathFmt (option_xlateable_txt.apz_str[ 79])
  147. #define zPlsSendBugs (option_xlateable_txt.apz_str[ 80])
  148. #define zPreset (option_xlateable_txt.apz_str[ 81])
  149. #define zPresetIntro (option_xlateable_txt.apz_str[ 82])
  150. #define zProhib (option_xlateable_txt.apz_str[ 83])
  151. #define zProhibOne (option_xlateable_txt.apz_str[ 84])
  152. #define zRange (option_xlateable_txt.apz_str[ 85])
  153. #define zRangeAbove (option_xlateable_txt.apz_str[ 86])
  154. #define zRangeExact (option_xlateable_txt.apz_str[ 87])
  155. #define zRangeLie (option_xlateable_txt.apz_str[ 88])
  156. #define zRangeOnly (option_xlateable_txt.apz_str[ 89])
  157. #define zRangeOr (option_xlateable_txt.apz_str[ 90])
  158. #define zRangeScaled (option_xlateable_txt.apz_str[ 91])
  159. #define zRangeUpto (option_xlateable_txt.apz_str[ 92])
  160. #define zReorder (option_xlateable_txt.apz_str[ 93])
  161. #define zReqOne (option_xlateable_txt.apz_str[ 94])
  162. #define zReqThese (option_xlateable_txt.apz_str[ 95])
  163. #define zReq_NoShrtTtl (option_xlateable_txt.apz_str[ 96])
  164. #define zReq_ShrtTtl (option_xlateable_txt.apz_str[ 97])
  165. #define zSetMemberSettings (option_xlateable_txt.apz_str[ 98])
  166. #define zUpTo (option_xlateable_txt.apz_str[ 99])
  167. #define zValidKeys (option_xlateable_txt.apz_str[100])
  168. #define zVendIntro (option_xlateable_txt.apz_str[101])
  169. #define zVendOptsAre (option_xlateable_txt.apz_str[102])
  170. /*
  171. * First, set up the strings. Some of these are writable. These are all in
  172. * English. This gets compiled into libopts and is distributed here so that
  173. * xgettext (or equivalents) can extract these strings for translation.
  174. */
  175. static char eng_zGnuBoolArg[] = "=T/F";
  176. static char eng_zGnuKeyArg[] = "=KWd";
  177. static char eng_zGnuNumArg[] = "=num";
  178. static char eng_zGnuStrArg[] = "=str";
  179. char const option_lib_text[4267] =
  180. /* 0 */ "allocation of %d bytes failed\n\0"
  181. /* 31 */ "AutoOpts function called without option descriptor\n\0"
  182. /* 83 */ "\tThis exceeds the compiled library version: \0"
  183. /* 129 */ "Automated Options Processing Error!\n"
  184. "\t%s called AutoOpts function with structure version %d:%d:%d.\n\0"
  185. /* 228 */ "realloc of %d bytes at 0x%p failed\n\0"
  186. /* 264 */ "\tThis is less than the minimum library version: \0"
  187. /* 314 */ "Automated Options version %s\n"
  188. "\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n\0"
  189. /* 405 */ "(AutoOpts bug): %s.\n\0"
  190. /* 427 */ "optionResetOpt() called, but reset-option not configured\0"
  191. /* 484 */ "could not locate the 'help' option\0"
  192. /* 519 */ "optionProcess() was called with invalid data\0"
  193. /* 564 */ "invalid argument type specified\0"
  194. /* 596 */ "defaulted to option with optional arg\0"
  195. /* 634 */ "aliasing option is out of range.\0"
  196. /* 667 */ "%s error: the keyword '%s' is ambiguous for %s\n\0"
  197. /* 716 */ " The following options match:\n\0"
  198. /* 748 */ "%s: ambiguous option name: %s (matches %d options)\n\0"
  199. /* 800 */ "%s: Command line arguments required\n\0"
  200. /* 837 */ "%d %s%s options allowed\n\0"
  201. /* 862 */ "%s error %d (%s) calling %s for '%s'\n\0"
  202. /* 900 */ "interprocess pipe\0"
  203. /* 918 */ "error: version option argument '%c' invalid. Use:\n"
  204. "\t'v' - version only\n"
  205. "\t'c' - version and copyright\n"
  206. "\t'n' - version and full copyright notice\n\0"
  207. /* 1060 */ "%s error: the '%s' and '%s' options conflict\n\0"
  208. /* 1107 */ "%s: The '%s' option has been disabled.\0"
  209. /* 1146 */ "-equivalence\0"
  210. /* 1159 */ "%s: illegal option -- %c\n\0"
  211. /* 1185 */ "%s: illegal option -- %s\n\0"
  212. /* 1211 */ "%s: unknown vendor extension option -- %s\n\0"
  213. /* 1254 */ " or an integer from %d through %d\n\0"
  214. /* 1290 */ "%s error: invalid option descriptor for %s\n\0"
  215. /* 1335 */ "%s: invalid option name: %s\n\0"
  216. /* 1364 */ "%s: The '%s' option requires an argument.\n\0"
  217. /* 1407 */ "(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
  218. "\t'%s' and '%s'.\0"
  219. /* 1490 */ "%s error: The %s option is required\n\0"
  220. /* 1528 */ "%s: The '%s' option cannot have an argument.\n\0"
  221. /* 1574 */ "%s: Command line arguments are not allowed.\n\0"
  222. /* 1619 */ "error %d (%s) creating %s\n\0"
  223. /* 1646 */ "%s error: '%s' does not match any %s keywords.\n\0"
  224. /* 1695 */ "%s error: The '%s' option requires an argument.\n\0"
  225. /* 1744 */ "error %d (%s) stat-ing %s\n\0"
  226. /* 1771 */ "%s error: no saved option state\n\0"
  227. /* 1804 */ "'%s' is not a command line option.\n\0"
  228. /* 1840 */ "%s error: '%s' is not a recognizable date/time.\n\0"
  229. /* 1890 */ "%s error: '%s' is not a recognizable time duration.\n\0"
  230. /* 1944 */ "%s error: The %s option must appear %d times.\n\0"
  231. /* 1992 */ "%s error: '%s' is not a recognizable number.\n\0"
  232. /* 2039 */ "%s error: %s exceeds %s keyword count\n\0"
  233. /* 2079 */ "Try '%s %s' for more information.\n\0"
  234. /* 2114 */ "one %s%s option allowed\n\0"
  235. /* 2139 */ "standard output\0"
  236. /* 2155 */ "standard error\0"
  237. /* 2170 */ "write\0"
  238. /* 2176 */ "%s error: %s option value %ld is out of range.\n\0"
  239. /* 2225 */ "%s error: %s option requires the %s option\n\0"
  240. /* 2270 */ "%s warning: cannot save options - %s not regular file\n\0"
  241. /* 2326 */ "\t\t\t\t- an alternate for '%s'\n\0"
  242. /* 2355 */ "Version, usage and configuration options:\0"
  243. /* 2397 */ "\t\t\t\t- default option for unnamed options\n\0"
  244. /* 2439 */ "\t\t\t\t- disabled as '--%s'\n\0"
  245. /* 2465 */ " --- %-14s %s\n\0"
  246. /* 2480 */ "This option has been disabled\0"
  247. /* 2510 */ "\t\t\t\t- enabled by default\n\0"
  248. /* 2536 */ "%s error: only \0"
  249. /* 2553 */ " - examining environment variables named %s_*\n\0"
  250. /* 2600 */ "\t\t\t\t- file must not pre-exist\n\0"
  251. /* 2631 */ "\t\t\t\t- file must pre-exist\n\0"
  252. /* 2658 */ "Options are specified by doubled hyphens and their name or by a single\n"
  253. "hyphen and the flag character.\n\0"
  254. /* 2761 */ "\n"
  255. "= = = = = = = =\n\n"
  256. "This incarnation of genshell will produce\n"
  257. "a shell script to parse the options for %s:\n\n\0"
  258. /* 2867 */ " or an integer mask with any of the lower %d bits set\n\0"
  259. /* 2923 */ "\t\t\t\t- is a set membership option\n\0"
  260. /* 2957 */ "\t\t\t\t- must appear between %d and %d times\n\0"
  261. /* 3000 */ "Options are specified by single or double hyphens and their name.\n\0"
  262. /* 3067 */ "\t\t\t\t- may appear multiple times\n\0"
  263. /* 3100 */ "\t\t\t\t- may not be preset\n\0"
  264. /* 3125 */ " Arg Option-Name Description\n\0"
  265. /* 3160 */ " Flg Arg Option-Name Description\n\0"
  266. /* 3198 */ " %3s %s\0"
  267. /* 3206 */ "The '-#<number>' option may omit the hash char\n\0"
  268. /* 3254 */ "All arguments are named options.\n\0"
  269. /* 3288 */ " - reading file %s\0"
  270. /* 3307 */ "\n"
  271. "Please send bug reports to: <%s>\n\0"
  272. /* 3343 */ "\t\t\t\t- may NOT appear - preset only\n\0"
  273. /* 3379 */ "\n"
  274. "The following option preset mechanisms are supported:\n\0"
  275. /* 3435 */ "prohibits these options:\n\0"
  276. /* 3461 */ "prohibits the option '%s'\n\0"
  277. /* 3488 */ "%s%ld to %ld\0"
  278. /* 3501 */ "%sgreater than or equal to %ld\0"
  279. /* 3532 */ "%s%ld exactly\0"
  280. /* 3546 */ "%sit must lie in one of the ranges:\n\0"
  281. /* 3583 */ "%sit must be in the range:\n\0"
  282. /* 3611 */ ", or\n\0"
  283. /* 3617 */ "%sis scalable with a suffix: k/K/m/M/g/G/t/T\n\0"
  284. /* 3663 */ "%sless than or equal to %ld\0"
  285. /* 3691 */ "Operands and options may be intermixed. They will be reordered.\n\0"
  286. /* 3757 */ "requires the option '%s'\n\0"
  287. /* 3783 */ "requires these options:\n\0"
  288. /* 3808 */ " Arg Option-Name Req? Description\n\0"
  289. /* 3848 */ " Flg Arg Option-Name Req? Description\n\0"
  290. /* 3891 */ "or you may use a numeric representation. Preceding these with a '!'\n"
  291. "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
  292. "will set them all. Multiple entries may be passed as an option\n"
  293. "argument list.\n\0"
  294. /* 4110 */ "\t\t\t\t- may appear up to %d times\n\0"
  295. /* 4143 */ "The valid \"%s\" option keywords are:\n\0"
  296. /* 4180 */ "The next option supports vendor supported extra options:\0"
  297. /* 4237 */ "These additional options are:";
  298. /*
  299. * Now, define (and initialize) the structure that contains
  300. * the pointers to all these strings.
  301. * Aren't you glad you don't maintain this by hand?
  302. */
  303. usage_text_t option_xlateable_txt = {
  304. 107,
  305. eng_zGnuBoolArg, eng_zGnuKeyArg, eng_zGnuNumArg, eng_zGnuStrArg,
  306. {
  307. option_lib_text + 0, option_lib_text + 31, option_lib_text + 83,
  308. option_lib_text + 129, option_lib_text + 228, option_lib_text + 264,
  309. option_lib_text + 314, option_lib_text + 405, option_lib_text + 427,
  310. option_lib_text + 484, option_lib_text + 519, option_lib_text + 564,
  311. option_lib_text + 596, option_lib_text + 634, option_lib_text + 667,
  312. option_lib_text + 716, option_lib_text + 748, option_lib_text + 800,
  313. option_lib_text + 837, option_lib_text + 862, option_lib_text + 900,
  314. option_lib_text + 918, option_lib_text + 1060, option_lib_text + 1107,
  315. option_lib_text + 1146, option_lib_text + 1159, option_lib_text + 1185,
  316. option_lib_text + 1211, option_lib_text + 1254, option_lib_text + 1290,
  317. option_lib_text + 1335, option_lib_text + 1364, option_lib_text + 1407,
  318. option_lib_text + 1490, option_lib_text + 1528, option_lib_text + 1574,
  319. option_lib_text + 1619, option_lib_text + 1646, option_lib_text + 1695,
  320. option_lib_text + 1744, option_lib_text + 1771, option_lib_text + 1804,
  321. option_lib_text + 1840, option_lib_text + 1890, option_lib_text + 1944,
  322. option_lib_text + 1992, option_lib_text + 2039, option_lib_text + 2079,
  323. option_lib_text + 2114, option_lib_text + 2139, option_lib_text + 2155,
  324. option_lib_text + 2170, option_lib_text + 2176, option_lib_text + 2225,
  325. option_lib_text + 2270, option_lib_text + 2326, option_lib_text + 2355,
  326. option_lib_text + 2397, option_lib_text + 2439, option_lib_text + 2465,
  327. option_lib_text + 2480, option_lib_text + 2510, option_lib_text + 2536,
  328. option_lib_text + 2553, option_lib_text + 2600, option_lib_text + 2631,
  329. option_lib_text + 2658, option_lib_text + 2761, option_lib_text + 2867,
  330. option_lib_text + 2923, option_lib_text + 2957, option_lib_text + 3000,
  331. option_lib_text + 3067, option_lib_text + 3100, option_lib_text + 3125,
  332. option_lib_text + 3160, option_lib_text + 3198, option_lib_text + 3206,
  333. option_lib_text + 3254, option_lib_text + 3288, option_lib_text + 3307,
  334. option_lib_text + 3343, option_lib_text + 3379, option_lib_text + 3435,
  335. option_lib_text + 3461, option_lib_text + 3488, option_lib_text + 3501,
  336. option_lib_text + 3532, option_lib_text + 3546, option_lib_text + 3583,
  337. option_lib_text + 3611, option_lib_text + 3617, option_lib_text + 3663,
  338. option_lib_text + 3691, option_lib_text + 3757, option_lib_text + 3783,
  339. option_lib_text + 3808, option_lib_text + 3848, option_lib_text + 3891,
  340. option_lib_text + 4110, option_lib_text + 4143, option_lib_text + 4180,
  341. option_lib_text + 4237
  342. } };
  343. #endif /* AUTOOPTS_INTERNAL */
  344. #ifdef XGETTEXT_SCAN_DO_NOT_COMPILE
  345. do not compile this section.
  346. /* TRANSLATORS: The following dummy functions were crated solely so that
  347. * xgettext can extract the correct strings. These strings are actually
  348. * referenced where the preceding "#line" directive states, though you will
  349. * not see the literal string there. The literal string is defined above in
  350. * the @code{option_lib_text} table and referenced via a #define name that
  351. * redirects into the @code{option_xlateable_txt} structure above. When
  352. * translating is activated, the pointers in @code{option_xlateable_txt} are
  353. * updated to point to translated strings.
  354. */
  355. static void dummy_func(void) {
  356. /* LIBOPTS-MESSAGES: */
  357. #line 67 "../autoopts.c"
  358. puts(_("allocation of %d bytes failed\n"));
  359. #line 89 "../autoopts.c"
  360. puts(_("allocation of %d bytes failed\n"));
  361. #line 48 "../init.c"
  362. puts(_("AutoOpts function called without option descriptor\n"));
  363. #line 81 "../init.c"
  364. puts(_("\tThis exceeds the compiled library version: "));
  365. #line 79 "../init.c"
  366. puts(_("Automated Options Processing Error!\n"
  367. "\t%s called AutoOpts function with structure version %d:%d:%d.\n"));
  368. #line 78 "../autoopts.c"
  369. puts(_("realloc of %d bytes at 0x%p failed\n"));
  370. #line 83 "../init.c"
  371. puts(_("\tThis is less than the minimum library version: "));
  372. #line 121 "../version.c"
  373. puts(_("Automated Options version %s\n"
  374. "\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n"));
  375. #line 49 "../makeshell.c"
  376. puts(_("(AutoOpts bug): %s.\n"));
  377. #line 90 "../reset.c"
  378. puts(_("optionResetOpt() called, but reset-option not configured"));
  379. #line 241 "../usage.c"
  380. puts(_("could not locate the 'help' option"));
  381. #line 330 "../autoopts.c"
  382. puts(_("optionProcess() was called with invalid data"));
  383. #line 697 "../usage.c"
  384. puts(_("invalid argument type specified"));
  385. #line 568 "../find.c"
  386. puts(_("defaulted to option with optional arg"));
  387. #line 76 "../alias.c"
  388. puts(_("aliasing option is out of range."));
  389. #line 210 "../enum.c"
  390. puts(_("%s error: the keyword '%s' is ambiguous for %s\n"));
  391. #line 78 "../find.c"
  392. puts(_(" The following options match:\n"));
  393. #line 263 "../find.c"
  394. puts(_("%s: ambiguous option name: %s (matches %d options)\n"));
  395. #line 161 "../check.c"
  396. puts(_("%s: Command line arguments required\n"));
  397. #line 43 "../alias.c"
  398. puts(_("%d %s%s options allowed\n"));
  399. #line 56 "../makeshell.c"
  400. puts(_("%s error %d (%s) calling %s for '%s'\n"));
  401. #line 268 "../makeshell.c"
  402. puts(_("interprocess pipe"));
  403. #line 171 "../version.c"
  404. puts(_("error: version option argument '%c' invalid. Use:\n"
  405. "\t'v' - version only\n"
  406. "\t'c' - version and copyright\n"
  407. "\t'n' - version and full copyright notice\n"));
  408. #line 58 "../check.c"
  409. puts(_("%s error: the '%s' and '%s' options conflict\n"));
  410. #line 187 "../find.c"
  411. puts(_("%s: The '%s' option has been disabled."));
  412. #line 400 "../find.c"
  413. puts(_("%s: The '%s' option has been disabled."));
  414. #line 38 "../alias.c"
  415. puts(_("-equivalence"));
  416. #line 439 "../find.c"
  417. puts(_("%s: illegal option -- %c\n"));
  418. #line 110 "../reset.c"
  419. puts(_("%s: illegal option -- %c\n"));
  420. #line 241 "../find.c"
  421. puts(_("%s: illegal option -- %s\n"));
  422. #line 740 "../find.c"
  423. puts(_("%s: illegal option -- %s\n"));
  424. #line 118 "../reset.c"
  425. puts(_("%s: illegal option -- %s\n"));
  426. #line 305 "../find.c"
  427. puts(_("%s: unknown vendor extension option -- %s\n"));
  428. #line 135 "../enum.c"
  429. puts(_(" or an integer from %d through %d\n"));
  430. #line 145 "../enum.c"
  431. puts(_(" or an integer from %d through %d\n"));
  432. #line 696 "../usage.c"
  433. puts(_("%s error: invalid option descriptor for %s\n"));
  434. #line 1030 "../usage.c"
  435. puts(_("%s error: invalid option descriptor for %s\n"));
  436. #line 355 "../find.c"
  437. puts(_("%s: invalid option name: %s\n"));
  438. #line 497 "../find.c"
  439. puts(_("%s: The '%s' option requires an argument.\n"));
  440. #line 150 "../autoopts.c"
  441. puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
  442. "\t'%s' and '%s'."));
  443. #line 94 "../check.c"
  444. puts(_("%s error: The %s option is required\n"));
  445. #line 602 "../find.c"
  446. puts(_("%s: The '%s' option cannot have an argument.\n"));
  447. #line 151 "../check.c"
  448. puts(_("%s: Command line arguments are not allowed.\n"));
  449. #line 568 "../save.c"
  450. puts(_("error %d (%s) creating %s\n"));
  451. #line 210 "../enum.c"
  452. puts(_("%s error: '%s' does not match any %s keywords.\n"));
  453. #line 93 "../reset.c"
  454. puts(_("%s error: The '%s' option requires an argument.\n"));
  455. #line 122 "../save.c"
  456. puts(_("error %d (%s) stat-ing %s\n"));
  457. #line 175 "../save.c"
  458. puts(_("error %d (%s) stat-ing %s\n"));
  459. #line 143 "../restore.c"
  460. puts(_("%s error: no saved option state\n"));
  461. #line 225 "../autoopts.c"
  462. puts(_("'%s' is not a command line option.\n"));
  463. #line 113 "../time.c"
  464. puts(_("%s error: '%s' is not a recognizable date/time.\n"));
  465. #line 50 "../time.c"
  466. puts(_("%s error: '%s' is not a recognizable time duration.\n"));
  467. #line 92 "../check.c"
  468. puts(_("%s error: The %s option must appear %d times.\n"));
  469. #line 165 "../numeric.c"
  470. puts(_("%s error: '%s' is not a recognizable number.\n"));
  471. #line 176 "../enum.c"
  472. puts(_("%s error: %s exceeds %s keyword count\n"));
  473. #line 279 "../usage.c"
  474. puts(_("Try '%s %s' for more information.\n"));
  475. #line 45 "../alias.c"
  476. puts(_("one %s%s option allowed\n"));
  477. #line 170 "../makeshell.c"
  478. puts(_("standard output"));
  479. #line 905 "../makeshell.c"
  480. puts(_("standard output"));
  481. #line 223 "../usage.c"
  482. puts(_("standard output"));
  483. #line 364 "../usage.c"
  484. puts(_("standard output"));
  485. #line 574 "../usage.c"
  486. puts(_("standard output"));
  487. #line 178 "../version.c"
  488. puts(_("standard output"));
  489. #line 223 "../usage.c"
  490. puts(_("standard error"));
  491. #line 364 "../usage.c"
  492. puts(_("standard error"));
  493. #line 574 "../usage.c"
  494. puts(_("standard error"));
  495. #line 178 "../version.c"
  496. puts(_("standard error"));
  497. #line 170 "../makeshell.c"
  498. puts(_("write"));
  499. #line 905 "../makeshell.c"
  500. puts(_("write"));
  501. #line 222 "../usage.c"
  502. puts(_("write"));
  503. #line 363 "../usage.c"
  504. puts(_("write"));
  505. #line 573 "../usage.c"
  506. puts(_("write"));
  507. #line 177 "../version.c"
  508. puts(_("write"));
  509. #line 60 "../numeric.c"
  510. puts(_("%s error: %s option value %ld is out of range.\n"));
  511. #line 44 "../check.c"
  512. puts(_("%s error: %s option requires the %s option\n"));
  513. #line 121 "../save.c"
  514. puts(_("%s warning: cannot save options - %s not regular file\n"));
  515. #line 174 "../save.c"
  516. puts(_("%s warning: cannot save options - %s not regular file\n"));
  517. #line 193 "../save.c"
  518. puts(_("%s warning: cannot save options - %s not regular file\n"));
  519. #line 567 "../save.c"
  520. puts(_("%s warning: cannot save options - %s not regular file\n"));
  521. /* END-LIBOPTS-MESSAGES */
  522. /* USAGE-TEXT: */
  523. #line 822 "../usage.c"
  524. puts(_("\t\t\t\t- an alternate for '%s'\n"));
  525. #line 1097 "../usage.c"
  526. puts(_("Version, usage and configuration options:"));
  527. #line 873 "../usage.c"
  528. puts(_("\t\t\t\t- default option for unnamed options\n"));
  529. #line 786 "../usage.c"
  530. puts(_("\t\t\t\t- disabled as '--%s'\n"));
  531. #line 1066 "../usage.c"
  532. puts(_(" --- %-14s %s\n"));
  533. #line 1064 "../usage.c"
  534. puts(_("This option has been disabled"));
  535. #line 813 "../usage.c"
  536. puts(_("\t\t\t\t- enabled by default\n"));
  537. #line 40 "../alias.c"
  538. puts(_("%s error: only "));
  539. #line 1143 "../usage.c"
  540. puts(_(" - examining environment variables named %s_*\n"));
  541. #line 168 "../file.c"
  542. puts(_("\t\t\t\t- file must not pre-exist\n"));
  543. #line 172 "../file.c"
  544. puts(_("\t\t\t\t- file must pre-exist\n"));
  545. #line 329 "../usage.c"
  546. puts(_("Options are specified by doubled hyphens and their name or by a single\n"
  547. "hyphen and the flag character.\n"));
  548. #line 882 "../makeshell.c"
  549. puts(_("\n"
  550. "= = = = = = = =\n\n"
  551. "This incarnation of genshell will produce\n"
  552. "a shell script to parse the options for %s:\n\n"));
  553. #line 142 "../enum.c"
  554. puts(_(" or an integer mask with any of the lower %d bits set\n"));
  555. #line 846 "../usage.c"
  556. puts(_("\t\t\t\t- is a set membership option\n"));
  557. #line 867 "../usage.c"
  558. puts(_("\t\t\t\t- must appear between %d and %d times\n"));
  559. #line 331 "../usage.c"
  560. puts(_("Options are specified by single or double hyphens and their name.\n"));
  561. #line 853 "../usage.c"
  562. puts(_("\t\t\t\t- may appear multiple times\n"));
  563. #line 840 "../usage.c"
  564. puts(_("\t\t\t\t- may not be preset\n"));
  565. #line 1258 "../usage.c"
  566. puts(_(" Arg Option-Name Description\n"));
  567. #line 1194 "../usage.c"
  568. puts(_(" Flg Arg Option-Name Description\n"));
  569. #line 1252 "../usage.c"
  570. puts(_(" Flg Arg Option-Name Description\n"));
  571. #line 1253 "../usage.c"
  572. puts(_(" %3s %s"));
  573. #line 1259 "../usage.c"
  574. puts(_(" %3s %s"));
  575. #line 336 "../usage.c"
  576. puts(_("The '-#<number>' option may omit the hash char\n"));
  577. #line 332 "../usage.c"
  578. puts(_("All arguments are named options.\n"));
  579. #line 920 "../usage.c"
  580. puts(_(" - reading file %s"));
  581. #line 358 "../usage.c"
  582. puts(_("\n"
  583. "Please send bug reports to: <%s>\n"));
  584. #line 100 "../version.c"
  585. puts(_("\n"
  586. "Please send bug reports to: <%s>\n"));
  587. #line 129 "../version.c"
  588. puts(_("\n"
  589. "Please send bug reports to: <%s>\n"));
  590. #line 852 "../usage.c"
  591. puts(_("\t\t\t\t- may NOT appear - preset only\n"));
  592. #line 893 "../usage.c"
  593. puts(_("\n"
  594. "The following option preset mechanisms are supported:\n"));
  595. #line 1141 "../usage.c"
  596. puts(_("\n"
  597. "The following option preset mechanisms are supported:\n"));
  598. #line 631 "../usage.c"
  599. puts(_("prohibits these options:\n"));
  600. #line 626 "../usage.c"
  601. puts(_("prohibits the option '%s'\n"));
  602. #line 81 "../numeric.c"
  603. puts(_("%s%ld to %ld"));
  604. #line 79 "../numeric.c"
  605. puts(_("%sgreater than or equal to %ld"));
  606. #line 75 "../numeric.c"
  607. puts(_("%s%ld exactly"));
  608. #line 68 "../numeric.c"
  609. puts(_("%sit must lie in one of the ranges:\n"));
  610. #line 68 "../numeric.c"
  611. puts(_("%sit must be in the range:\n"));
  612. #line 88 "../numeric.c"
  613. puts(_(", or\n"));
  614. #line 66 "../numeric.c"
  615. puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n"));
  616. #line 77 "../numeric.c"
  617. puts(_("%sless than or equal to %ld"));
  618. #line 339 "../usage.c"
  619. puts(_("Operands and options may be intermixed. They will be reordered.\n"));
  620. #line 601 "../usage.c"
  621. puts(_("requires the option '%s'\n"));
  622. #line 604 "../usage.c"
  623. puts(_("requires these options:\n"));
  624. #line 1270 "../usage.c"
  625. puts(_(" Arg Option-Name Req? Description\n"));
  626. #line 1264 "../usage.c"
  627. puts(_(" Flg Arg Option-Name Req? Description\n"));
  628. #line 143 "../enum.c"
  629. puts(_("or you may use a numeric representation. Preceding these with a '!'\n"
  630. "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
  631. "will set them all. Multiple entries may be passed as an option\n"
  632. "argument list.\n"));
  633. #line 859 "../usage.c"
  634. puts(_("\t\t\t\t- may appear up to %d times\n"));
  635. #line 52 "../enum.c"
  636. puts(_("The valid \"%s\" option keywords are:\n"));
  637. #line 1101 "../usage.c"
  638. puts(_("The next option supports vendor supported extra options:"));
  639. #line 722 "../usage.c"
  640. puts(_("These additional options are:"));
  641. /* END-USAGE-TEXT */
  642. }
  643. #endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */
  644. #endif /* AUTOOPTS_USAGE_TXT_H_GUARD */