1
0

usage-txt.h 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  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-2015 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 108
  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[104];
  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[4285];
  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 zNotDef (option_xlateable_txt.apz_str[ 43])
  111. #define zNotDuration (option_xlateable_txt.apz_str[ 44])
  112. #define zneed_more (option_xlateable_txt.apz_str[ 45])
  113. #define zNotNumber (option_xlateable_txt.apz_str[ 46])
  114. #define znum_too_large (option_xlateable_txt.apz_str[ 47])
  115. #define zoffer_usage_fmt (option_xlateable_txt.apz_str[ 48])
  116. #define zonly_one (option_xlateable_txt.apz_str[ 49])
  117. #define zstdout_name (option_xlateable_txt.apz_str[ 50])
  118. #define zstderr_name (option_xlateable_txt.apz_str[ 51])
  119. #define zwriting (option_xlateable_txt.apz_str[ 52])
  120. #define zRangeErr (option_xlateable_txt.apz_str[ 53])
  121. #define zneed_fmt (option_xlateable_txt.apz_str[ 54])
  122. #define zsave_warn (option_xlateable_txt.apz_str[ 55])
  123. #define zalt_opt (option_xlateable_txt.apz_str[ 56])
  124. #define zAuto (option_xlateable_txt.apz_str[ 57])
  125. #define zDefaultOpt (option_xlateable_txt.apz_str[ 58])
  126. #define zDis (option_xlateable_txt.apz_str[ 59])
  127. #define zDisabledOpt (option_xlateable_txt.apz_str[ 60])
  128. #define zDisabledWhy (option_xlateable_txt.apz_str[ 61])
  129. #define zEnab (option_xlateable_txt.apz_str[ 62])
  130. #define ztoo_often_fmt (option_xlateable_txt.apz_str[ 63])
  131. #define zExamineFmt (option_xlateable_txt.apz_str[ 64])
  132. #define zFileCannotExist (option_xlateable_txt.apz_str[ 65])
  133. #define zFileMustExist (option_xlateable_txt.apz_str[ 66])
  134. #define zFlagOkay (option_xlateable_txt.apz_str[ 67])
  135. #define zGenshell (option_xlateable_txt.apz_str[ 68])
  136. #define zLowerBits (option_xlateable_txt.apz_str[ 69])
  137. #define zMembers (option_xlateable_txt.apz_str[ 70])
  138. #define zMust (option_xlateable_txt.apz_str[ 71])
  139. #define zNoFlags (option_xlateable_txt.apz_str[ 72])
  140. #define zNoLim (option_xlateable_txt.apz_str[ 73])
  141. #define zNoPreset (option_xlateable_txt.apz_str[ 74])
  142. #define zNoRq_NoShrtTtl (option_xlateable_txt.apz_str[ 75])
  143. #define zNoRq_ShrtTtl (option_xlateable_txt.apz_str[ 76])
  144. #define zNrmOptFmt (option_xlateable_txt.apz_str[ 77])
  145. #define zNumberOpt (option_xlateable_txt.apz_str[ 78])
  146. #define zOptsOnly (option_xlateable_txt.apz_str[ 79])
  147. #define zPathFmt (option_xlateable_txt.apz_str[ 80])
  148. #define zPlsSendBugs (option_xlateable_txt.apz_str[ 81])
  149. #define zPreset (option_xlateable_txt.apz_str[ 82])
  150. #define zPresetIntro (option_xlateable_txt.apz_str[ 83])
  151. #define zProhib (option_xlateable_txt.apz_str[ 84])
  152. #define zProhibOne (option_xlateable_txt.apz_str[ 85])
  153. #define zRange (option_xlateable_txt.apz_str[ 86])
  154. #define zRangeAbove (option_xlateable_txt.apz_str[ 87])
  155. #define zRangeExact (option_xlateable_txt.apz_str[ 88])
  156. #define zRangeLie (option_xlateable_txt.apz_str[ 89])
  157. #define zRangeOnly (option_xlateable_txt.apz_str[ 90])
  158. #define zRangeOr (option_xlateable_txt.apz_str[ 91])
  159. #define zRangeScaled (option_xlateable_txt.apz_str[ 92])
  160. #define zRangeUpto (option_xlateable_txt.apz_str[ 93])
  161. #define zReorder (option_xlateable_txt.apz_str[ 94])
  162. #define zReqOne (option_xlateable_txt.apz_str[ 95])
  163. #define zReqThese (option_xlateable_txt.apz_str[ 96])
  164. #define zReq_NoShrtTtl (option_xlateable_txt.apz_str[ 97])
  165. #define zReq_ShrtTtl (option_xlateable_txt.apz_str[ 98])
  166. #define zSetMemberSettings (option_xlateable_txt.apz_str[ 99])
  167. #define zUpTo (option_xlateable_txt.apz_str[100])
  168. #define zValidKeys (option_xlateable_txt.apz_str[101])
  169. #define zVendIntro (option_xlateable_txt.apz_str[102])
  170. #define zVendOptsAre (option_xlateable_txt.apz_str[103])
  171. /*
  172. * First, set up the strings. Some of these are writable. These are all in
  173. * English. This gets compiled into libopts and is distributed here so that
  174. * xgettext (or equivalents) can extract these strings for translation.
  175. */
  176. static char eng_zGnuBoolArg[] = "=T/F";
  177. static char eng_zGnuKeyArg[] = "=KWd";
  178. static char eng_zGnuNumArg[] = "=num";
  179. static char eng_zGnuStrArg[] = "=str";
  180. char const option_lib_text[4285] =
  181. /* 0 */ "allocation of %d bytes failed\n\0"
  182. /* 31 */ "AutoOpts function called without option descriptor\n\0"
  183. /* 83 */ "\tThis exceeds the compiled library version: \0"
  184. /* 129 */ "Automated Options Processing Error!\n"
  185. "\t%s called AutoOpts function with structure version %d:%d:%d.\n\0"
  186. /* 228 */ "realloc of %d bytes at 0x%p failed\n\0"
  187. /* 264 */ "\tThis is less than the minimum library version: \0"
  188. /* 314 */ "Automated Options version %s\n"
  189. "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n\0"
  190. /* 405 */ "(AutoOpts bug): %s.\n\0"
  191. /* 427 */ "optionResetOpt() called, but reset-option not configured\0"
  192. /* 484 */ "could not locate the 'help' option\0"
  193. /* 519 */ "optionProcess() was called with invalid data\0"
  194. /* 564 */ "invalid argument type specified\0"
  195. /* 596 */ "defaulted to option with optional arg\0"
  196. /* 634 */ "aliasing option is out of range.\0"
  197. /* 667 */ "%s error: the keyword '%s' is ambiguous for %s\n\0"
  198. /* 716 */ " The following options match:\n\0"
  199. /* 748 */ "%s: ambiguous option name: %s (matches %d options)\n\0"
  200. /* 800 */ "%s: Command line arguments required\n\0"
  201. /* 837 */ "%d %s%s options allowed\n\0"
  202. /* 862 */ "%s error %d (%s) calling %s for '%s'\n\0"
  203. /* 900 */ "interprocess pipe\0"
  204. /* 918 */ "error: version option argument '%c' invalid. Use:\n"
  205. "\t'v' - version only\n"
  206. "\t'c' - version and copyright\n"
  207. "\t'n' - version and full copyright notice\n\0"
  208. /* 1060 */ "%s error: the '%s' and '%s' options conflict\n\0"
  209. /* 1107 */ "%s: The '%s' option has been disabled.\0"
  210. /* 1146 */ "-equivalence\0"
  211. /* 1159 */ "%s: illegal option -- %c\n\0"
  212. /* 1185 */ "%s: illegal option -- %s\n\0"
  213. /* 1211 */ "%s: unknown vendor extension option -- %s\n\0"
  214. /* 1254 */ " or an integer from %d through %d\n\0"
  215. /* 1290 */ "%s error: invalid option descriptor for %s\n\0"
  216. /* 1335 */ "%s: invalid option name: %s\n\0"
  217. /* 1364 */ "%s: The '%s' option requires an argument.\n\0"
  218. /* 1407 */ "(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
  219. "\t'%s' and '%s'.\0"
  220. /* 1490 */ "%s error: The %s option is required\n\0"
  221. /* 1528 */ "%s: The '%s' option cannot have an argument.\n\0"
  222. /* 1574 */ "%s: Command line arguments are not allowed.\n\0"
  223. /* 1619 */ "error %d (%s) creating %s\n\0"
  224. /* 1646 */ "%s error: '%s' does not match any %s keywords.\n\0"
  225. /* 1695 */ "%s error: The '%s' option requires an argument.\n\0"
  226. /* 1744 */ "error %d (%s) stat-ing %s\n\0"
  227. /* 1771 */ "%s error: no saved option state\n\0"
  228. /* 1804 */ "'%s' is not a command line option.\n\0"
  229. /* 1840 */ "%s error: '%s' is not a recognizable date/time.\n\0"
  230. /* 1890 */ "'%s' not defined\n\0"
  231. /* 1908 */ "%s error: '%s' is not a recognizable time duration.\n\0"
  232. /* 1962 */ "%s error: The %s option must appear %d times.\n\0"
  233. /* 2010 */ "%s error: '%s' is not a recognizable number.\n\0"
  234. /* 2057 */ "%s error: %s exceeds %s keyword count\n\0"
  235. /* 2097 */ "Try '%s %s' for more information.\n\0"
  236. /* 2132 */ "one %s%s option allowed\n\0"
  237. /* 2157 */ "standard output\0"
  238. /* 2173 */ "standard error\0"
  239. /* 2188 */ "write\0"
  240. /* 2194 */ "%s error: %s option value %ld is out of range.\n\0"
  241. /* 2243 */ "%s error: %s option requires the %s option\n\0"
  242. /* 2288 */ "%s warning: cannot save options - %s not regular file\n\0"
  243. /* 2344 */ "\t\t\t\t- an alternate for '%s'\n\0"
  244. /* 2373 */ "Version, usage and configuration options:\0"
  245. /* 2415 */ "\t\t\t\t- default option for unnamed options\n\0"
  246. /* 2457 */ "\t\t\t\t- disabled as '--%s'\n\0"
  247. /* 2483 */ " --- %-14s %s\n\0"
  248. /* 2498 */ "This option has been disabled\0"
  249. /* 2528 */ "\t\t\t\t- enabled by default\n\0"
  250. /* 2554 */ "%s error: only \0"
  251. /* 2571 */ " - examining environment variables named %s_*\n\0"
  252. /* 2618 */ "\t\t\t\t- file must not pre-exist\n\0"
  253. /* 2649 */ "\t\t\t\t- file must pre-exist\n\0"
  254. /* 2676 */ "Options are specified by doubled hyphens and their name or by a single\n"
  255. "hyphen and the flag character.\n\0"
  256. /* 2779 */ "\n"
  257. "= = = = = = = =\n\n"
  258. "This incarnation of genshell will produce\n"
  259. "a shell script to parse the options for %s:\n\n\0"
  260. /* 2885 */ " or an integer mask with any of the lower %d bits set\n\0"
  261. /* 2941 */ "\t\t\t\t- is a set membership option\n\0"
  262. /* 2975 */ "\t\t\t\t- must appear between %d and %d times\n\0"
  263. /* 3018 */ "Options are specified by single or double hyphens and their name.\n\0"
  264. /* 3085 */ "\t\t\t\t- may appear multiple times\n\0"
  265. /* 3118 */ "\t\t\t\t- may not be preset\n\0"
  266. /* 3143 */ " Arg Option-Name Description\n\0"
  267. /* 3178 */ " Flg Arg Option-Name Description\n\0"
  268. /* 3216 */ " %3s %s\0"
  269. /* 3224 */ "The '-#<number>' option may omit the hash char\n\0"
  270. /* 3272 */ "All arguments are named options.\n\0"
  271. /* 3306 */ " - reading file %s\0"
  272. /* 3325 */ "\n"
  273. "Please send bug reports to: <%s>\n\0"
  274. /* 3361 */ "\t\t\t\t- may NOT appear - preset only\n\0"
  275. /* 3397 */ "\n"
  276. "The following option preset mechanisms are supported:\n\0"
  277. /* 3453 */ "prohibits these options:\n\0"
  278. /* 3479 */ "prohibits the option '%s'\n\0"
  279. /* 3506 */ "%s%ld to %ld\0"
  280. /* 3519 */ "%sgreater than or equal to %ld\0"
  281. /* 3550 */ "%s%ld exactly\0"
  282. /* 3564 */ "%sit must lie in one of the ranges:\n\0"
  283. /* 3601 */ "%sit must be in the range:\n\0"
  284. /* 3629 */ ", or\n\0"
  285. /* 3635 */ "%sis scalable with a suffix: k/K/m/M/g/G/t/T\n\0"
  286. /* 3681 */ "%sless than or equal to %ld\0"
  287. /* 3709 */ "Operands and options may be intermixed. They will be reordered.\n\0"
  288. /* 3775 */ "requires the option '%s'\n\0"
  289. /* 3801 */ "requires these options:\n\0"
  290. /* 3826 */ " Arg Option-Name Req? Description\n\0"
  291. /* 3866 */ " Flg Arg Option-Name Req? Description\n\0"
  292. /* 3909 */ "or you may use a numeric representation. Preceding these with a '!'\n"
  293. "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
  294. "will set them all. Multiple entries may be passed as an option\n"
  295. "argument list.\n\0"
  296. /* 4128 */ "\t\t\t\t- may appear up to %d times\n\0"
  297. /* 4161 */ "The valid \"%s\" option keywords are:\n\0"
  298. /* 4198 */ "The next option supports vendor supported extra options:\0"
  299. /* 4255 */ "These additional options are:";
  300. /*
  301. * Now, define (and initialize) the structure that contains
  302. * the pointers to all these strings.
  303. * Aren't you glad you don't maintain this by hand?
  304. */
  305. usage_text_t option_xlateable_txt = {
  306. 108,
  307. eng_zGnuBoolArg, eng_zGnuKeyArg, eng_zGnuNumArg, eng_zGnuStrArg,
  308. {
  309. option_lib_text + 0, option_lib_text + 31, option_lib_text + 83,
  310. option_lib_text + 129, option_lib_text + 228, option_lib_text + 264,
  311. option_lib_text + 314, option_lib_text + 405, option_lib_text + 427,
  312. option_lib_text + 484, option_lib_text + 519, option_lib_text + 564,
  313. option_lib_text + 596, option_lib_text + 634, option_lib_text + 667,
  314. option_lib_text + 716, option_lib_text + 748, option_lib_text + 800,
  315. option_lib_text + 837, option_lib_text + 862, option_lib_text + 900,
  316. option_lib_text + 918, option_lib_text + 1060, option_lib_text + 1107,
  317. option_lib_text + 1146, option_lib_text + 1159, option_lib_text + 1185,
  318. option_lib_text + 1211, option_lib_text + 1254, option_lib_text + 1290,
  319. option_lib_text + 1335, option_lib_text + 1364, option_lib_text + 1407,
  320. option_lib_text + 1490, option_lib_text + 1528, option_lib_text + 1574,
  321. option_lib_text + 1619, option_lib_text + 1646, option_lib_text + 1695,
  322. option_lib_text + 1744, option_lib_text + 1771, option_lib_text + 1804,
  323. option_lib_text + 1840, option_lib_text + 1890, option_lib_text + 1908,
  324. option_lib_text + 1962, option_lib_text + 2010, option_lib_text + 2057,
  325. option_lib_text + 2097, option_lib_text + 2132, option_lib_text + 2157,
  326. option_lib_text + 2173, option_lib_text + 2188, option_lib_text + 2194,
  327. option_lib_text + 2243, option_lib_text + 2288, option_lib_text + 2344,
  328. option_lib_text + 2373, option_lib_text + 2415, option_lib_text + 2457,
  329. option_lib_text + 2483, option_lib_text + 2498, option_lib_text + 2528,
  330. option_lib_text + 2554, option_lib_text + 2571, option_lib_text + 2618,
  331. option_lib_text + 2649, option_lib_text + 2676, option_lib_text + 2779,
  332. option_lib_text + 2885, option_lib_text + 2941, option_lib_text + 2975,
  333. option_lib_text + 3018, option_lib_text + 3085, option_lib_text + 3118,
  334. option_lib_text + 3143, option_lib_text + 3178, option_lib_text + 3216,
  335. option_lib_text + 3224, option_lib_text + 3272, option_lib_text + 3306,
  336. option_lib_text + 3325, option_lib_text + 3361, option_lib_text + 3397,
  337. option_lib_text + 3453, option_lib_text + 3479, option_lib_text + 3506,
  338. option_lib_text + 3519, option_lib_text + 3550, option_lib_text + 3564,
  339. option_lib_text + 3601, option_lib_text + 3629, option_lib_text + 3635,
  340. option_lib_text + 3681, option_lib_text + 3709, option_lib_text + 3775,
  341. option_lib_text + 3801, option_lib_text + 3826, option_lib_text + 3866,
  342. option_lib_text + 3909, option_lib_text + 4128, option_lib_text + 4161,
  343. option_lib_text + 4198, option_lib_text + 4255
  344. } };
  345. #endif /* AUTOOPTS_INTERNAL */
  346. #ifdef XGETTEXT_SCAN_DO_NOT_COMPILE
  347. do not compile this section.
  348. /* TRANSLATORS: The following dummy functions were crated solely so that
  349. * xgettext can extract the correct strings. These strings are actually
  350. * referenced where the preceding "#line" directive states, though you will
  351. * not see the literal string there. The literal string is defined above in
  352. * the @code{option_lib_text} table and referenced via a #define name that
  353. * redirects into the @code{option_xlateable_txt} structure above. When
  354. * translating is activated, the pointers in @code{option_xlateable_txt} are
  355. * updated to point to translated strings.
  356. */
  357. static void dummy_func(void) {
  358. /* LIBOPTS-MESSAGES: */
  359. #line 67 "../autoopts.c"
  360. puts(_("allocation of %d bytes failed\n"));
  361. #line 93 "../autoopts.c"
  362. puts(_("allocation of %d bytes failed\n"));
  363. #line 53 "../init.c"
  364. puts(_("AutoOpts function called without option descriptor\n"));
  365. #line 86 "../init.c"
  366. puts(_("\tThis exceeds the compiled library version: "));
  367. #line 84 "../init.c"
  368. puts(_("Automated Options Processing Error!\n"
  369. "\t%s called AutoOpts function with structure version %d:%d:%d.\n"));
  370. #line 80 "../autoopts.c"
  371. puts(_("realloc of %d bytes at 0x%p failed\n"));
  372. #line 88 "../init.c"
  373. puts(_("\tThis is less than the minimum library version: "));
  374. #line 121 "../version.c"
  375. puts(_("Automated Options version %s\n"
  376. "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n"));
  377. #line 87 "../makeshell.c"
  378. puts(_("(AutoOpts bug): %s.\n"));
  379. #line 90 "../reset.c"
  380. puts(_("optionResetOpt() called, but reset-option not configured"));
  381. #line 295 "../usage.c"
  382. puts(_("could not locate the 'help' option"));
  383. #line 336 "../autoopts.c"
  384. puts(_("optionProcess() was called with invalid data"));
  385. #line 751 "../usage.c"
  386. puts(_("invalid argument type specified"));
  387. #line 598 "../find.c"
  388. puts(_("defaulted to option with optional arg"));
  389. #line 76 "../alias.c"
  390. puts(_("aliasing option is out of range."));
  391. #line 235 "../enum.c"
  392. puts(_("%s error: the keyword '%s' is ambiguous for %s\n"));
  393. #line 108 "../find.c"
  394. puts(_(" The following options match:\n"));
  395. #line 293 "../find.c"
  396. puts(_("%s: ambiguous option name: %s (matches %d options)\n"));
  397. #line 161 "../check.c"
  398. puts(_("%s: Command line arguments required\n"));
  399. #line 43 "../alias.c"
  400. puts(_("%d %s%s options allowed\n"));
  401. #line 94 "../makeshell.c"
  402. puts(_("%s error %d (%s) calling %s for '%s'\n"));
  403. #line 306 "../makeshell.c"
  404. puts(_("interprocess pipe"));
  405. #line 168 "../version.c"
  406. puts(_("error: version option argument '%c' invalid. Use:\n"
  407. "\t'v' - version only\n"
  408. "\t'c' - version and copyright\n"
  409. "\t'n' - version and full copyright notice\n"));
  410. #line 58 "../check.c"
  411. puts(_("%s error: the '%s' and '%s' options conflict\n"));
  412. #line 217 "../find.c"
  413. puts(_("%s: The '%s' option has been disabled."));
  414. #line 430 "../find.c"
  415. puts(_("%s: The '%s' option has been disabled."));
  416. #line 38 "../alias.c"
  417. puts(_("-equivalence"));
  418. #line 469 "../find.c"
  419. puts(_("%s: illegal option -- %c\n"));
  420. #line 110 "../reset.c"
  421. puts(_("%s: illegal option -- %c\n"));
  422. #line 271 "../find.c"
  423. puts(_("%s: illegal option -- %s\n"));
  424. #line 755 "../find.c"
  425. puts(_("%s: illegal option -- %s\n"));
  426. #line 118 "../reset.c"
  427. puts(_("%s: illegal option -- %s\n"));
  428. #line 335 "../find.c"
  429. puts(_("%s: unknown vendor extension option -- %s\n"));
  430. #line 160 "../enum.c"
  431. puts(_(" or an integer from %d through %d\n"));
  432. #line 170 "../enum.c"
  433. puts(_(" or an integer from %d through %d\n"));
  434. #line 750 "../usage.c"
  435. puts(_("%s error: invalid option descriptor for %s\n"));
  436. #line 1084 "../usage.c"
  437. puts(_("%s error: invalid option descriptor for %s\n"));
  438. #line 385 "../find.c"
  439. puts(_("%s: invalid option name: %s\n"));
  440. #line 527 "../find.c"
  441. puts(_("%s: The '%s' option requires an argument.\n"));
  442. #line 156 "../autoopts.c"
  443. puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n"
  444. "\t'%s' and '%s'."));
  445. #line 94 "../check.c"
  446. puts(_("%s error: The %s option is required\n"));
  447. #line 632 "../find.c"
  448. puts(_("%s: The '%s' option cannot have an argument.\n"));
  449. #line 151 "../check.c"
  450. puts(_("%s: Command line arguments are not allowed.\n"));
  451. #line 536 "../save.c"
  452. puts(_("error %d (%s) creating %s\n"));
  453. #line 235 "../enum.c"
  454. puts(_("%s error: '%s' does not match any %s keywords.\n"));
  455. #line 93 "../reset.c"
  456. puts(_("%s error: The '%s' option requires an argument.\n"));
  457. #line 186 "../save.c"
  458. puts(_("error %d (%s) stat-ing %s\n"));
  459. #line 239 "../save.c"
  460. puts(_("error %d (%s) stat-ing %s\n"));
  461. #line 143 "../restore.c"
  462. puts(_("%s error: no saved option state\n"));
  463. #line 231 "../autoopts.c"
  464. puts(_("'%s' is not a command line option.\n"));
  465. #line 113 "../time.c"
  466. puts(_("%s error: '%s' is not a recognizable date/time.\n"));
  467. #line 131 "../save.c"
  468. puts(_("'%s' not defined\n"));
  469. #line 50 "../time.c"
  470. puts(_("%s error: '%s' is not a recognizable time duration.\n"));
  471. #line 92 "../check.c"
  472. puts(_("%s error: The %s option must appear %d times.\n"));
  473. #line 165 "../numeric.c"
  474. puts(_("%s error: '%s' is not a recognizable number.\n"));
  475. #line 201 "../enum.c"
  476. puts(_("%s error: %s exceeds %s keyword count\n"));
  477. #line 333 "../usage.c"
  478. puts(_("Try '%s %s' for more information.\n"));
  479. #line 45 "../alias.c"
  480. puts(_("one %s%s option allowed\n"));
  481. #line 208 "../makeshell.c"
  482. puts(_("standard output"));
  483. #line 943 "../makeshell.c"
  484. puts(_("standard output"));
  485. #line 277 "../usage.c"
  486. puts(_("standard output"));
  487. #line 418 "../usage.c"
  488. puts(_("standard output"));
  489. #line 628 "../usage.c"
  490. puts(_("standard output"));
  491. #line 175 "../version.c"
  492. puts(_("standard output"));
  493. #line 277 "../usage.c"
  494. puts(_("standard error"));
  495. #line 418 "../usage.c"
  496. puts(_("standard error"));
  497. #line 628 "../usage.c"
  498. puts(_("standard error"));
  499. #line 175 "../version.c"
  500. puts(_("standard error"));
  501. #line 208 "../makeshell.c"
  502. puts(_("write"));
  503. #line 943 "../makeshell.c"
  504. puts(_("write"));
  505. #line 276 "../usage.c"
  506. puts(_("write"));
  507. #line 417 "../usage.c"
  508. puts(_("write"));
  509. #line 627 "../usage.c"
  510. puts(_("write"));
  511. #line 174 "../version.c"
  512. puts(_("write"));
  513. #line 60 "../numeric.c"
  514. puts(_("%s error: %s option value %ld is out of range.\n"));
  515. #line 44 "../check.c"
  516. puts(_("%s error: %s option requires the %s option\n"));
  517. #line 130 "../save.c"
  518. puts(_("%s warning: cannot save options - %s not regular file\n"));
  519. #line 185 "../save.c"
  520. puts(_("%s warning: cannot save options - %s not regular file\n"));
  521. #line 238 "../save.c"
  522. puts(_("%s warning: cannot save options - %s not regular file\n"));
  523. #line 257 "../save.c"
  524. puts(_("%s warning: cannot save options - %s not regular file\n"));
  525. #line 535 "../save.c"
  526. puts(_("%s warning: cannot save options - %s not regular file\n"));
  527. /* END-LIBOPTS-MESSAGES */
  528. /* USAGE-TEXT: */
  529. #line 876 "../usage.c"
  530. puts(_("\t\t\t\t- an alternate for '%s'\n"));
  531. #line 1151 "../usage.c"
  532. puts(_("Version, usage and configuration options:"));
  533. #line 927 "../usage.c"
  534. puts(_("\t\t\t\t- default option for unnamed options\n"));
  535. #line 840 "../usage.c"
  536. puts(_("\t\t\t\t- disabled as '--%s'\n"));
  537. #line 1120 "../usage.c"
  538. puts(_(" --- %-14s %s\n"));
  539. #line 1118 "../usage.c"
  540. puts(_("This option has been disabled"));
  541. #line 867 "../usage.c"
  542. puts(_("\t\t\t\t- enabled by default\n"));
  543. #line 40 "../alias.c"
  544. puts(_("%s error: only "));
  545. #line 1197 "../usage.c"
  546. puts(_(" - examining environment variables named %s_*\n"));
  547. #line 168 "../file.c"
  548. puts(_("\t\t\t\t- file must not pre-exist\n"));
  549. #line 172 "../file.c"
  550. puts(_("\t\t\t\t- file must pre-exist\n"));
  551. #line 383 "../usage.c"
  552. puts(_("Options are specified by doubled hyphens and their name or by a single\n"
  553. "hyphen and the flag character.\n"));
  554. #line 921 "../makeshell.c"
  555. puts(_("\n"
  556. "= = = = = = = =\n\n"
  557. "This incarnation of genshell will produce\n"
  558. "a shell script to parse the options for %s:\n\n"));
  559. #line 167 "../enum.c"
  560. puts(_(" or an integer mask with any of the lower %d bits set\n"));
  561. #line 900 "../usage.c"
  562. puts(_("\t\t\t\t- is a set membership option\n"));
  563. #line 921 "../usage.c"
  564. puts(_("\t\t\t\t- must appear between %d and %d times\n"));
  565. #line 385 "../usage.c"
  566. puts(_("Options are specified by single or double hyphens and their name.\n"));
  567. #line 907 "../usage.c"
  568. puts(_("\t\t\t\t- may appear multiple times\n"));
  569. #line 894 "../usage.c"
  570. puts(_("\t\t\t\t- may not be preset\n"));
  571. #line 1312 "../usage.c"
  572. puts(_(" Arg Option-Name Description\n"));
  573. #line 1248 "../usage.c"
  574. puts(_(" Flg Arg Option-Name Description\n"));
  575. #line 1306 "../usage.c"
  576. puts(_(" Flg Arg Option-Name Description\n"));
  577. #line 1307 "../usage.c"
  578. puts(_(" %3s %s"));
  579. #line 1313 "../usage.c"
  580. puts(_(" %3s %s"));
  581. #line 390 "../usage.c"
  582. puts(_("The '-#<number>' option may omit the hash char\n"));
  583. #line 386 "../usage.c"
  584. puts(_("All arguments are named options.\n"));
  585. #line 974 "../usage.c"
  586. puts(_(" - reading file %s"));
  587. #line 412 "../usage.c"
  588. puts(_("\n"
  589. "Please send bug reports to: <%s>\n"));
  590. #line 100 "../version.c"
  591. puts(_("\n"
  592. "Please send bug reports to: <%s>\n"));
  593. #line 129 "../version.c"
  594. puts(_("\n"
  595. "Please send bug reports to: <%s>\n"));
  596. #line 906 "../usage.c"
  597. puts(_("\t\t\t\t- may NOT appear - preset only\n"));
  598. #line 947 "../usage.c"
  599. puts(_("\n"
  600. "The following option preset mechanisms are supported:\n"));
  601. #line 1195 "../usage.c"
  602. puts(_("\n"
  603. "The following option preset mechanisms are supported:\n"));
  604. #line 685 "../usage.c"
  605. puts(_("prohibits these options:\n"));
  606. #line 680 "../usage.c"
  607. puts(_("prohibits the option '%s'\n"));
  608. #line 81 "../numeric.c"
  609. puts(_("%s%ld to %ld"));
  610. #line 79 "../numeric.c"
  611. puts(_("%sgreater than or equal to %ld"));
  612. #line 75 "../numeric.c"
  613. puts(_("%s%ld exactly"));
  614. #line 68 "../numeric.c"
  615. puts(_("%sit must lie in one of the ranges:\n"));
  616. #line 68 "../numeric.c"
  617. puts(_("%sit must be in the range:\n"));
  618. #line 88 "../numeric.c"
  619. puts(_(", or\n"));
  620. #line 66 "../numeric.c"
  621. puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n"));
  622. #line 77 "../numeric.c"
  623. puts(_("%sless than or equal to %ld"));
  624. #line 393 "../usage.c"
  625. puts(_("Operands and options may be intermixed. They will be reordered.\n"));
  626. #line 655 "../usage.c"
  627. puts(_("requires the option '%s'\n"));
  628. #line 658 "../usage.c"
  629. puts(_("requires these options:\n"));
  630. #line 1324 "../usage.c"
  631. puts(_(" Arg Option-Name Req? Description\n"));
  632. #line 1318 "../usage.c"
  633. puts(_(" Flg Arg Option-Name Req? Description\n"));
  634. #line 168 "../enum.c"
  635. puts(_("or you may use a numeric representation. Preceding these with a '!'\n"
  636. "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
  637. "will set them all. Multiple entries may be passed as an option\n"
  638. "argument list.\n"));
  639. #line 913 "../usage.c"
  640. puts(_("\t\t\t\t- may appear up to %d times\n"));
  641. #line 77 "../enum.c"
  642. puts(_("The valid \"%s\" option keywords are:\n"));
  643. #line 1155 "../usage.c"
  644. puts(_("The next option supports vendor supported extra options:"));
  645. #line 776 "../usage.c"
  646. puts(_("These additional options are:"));
  647. /* END-USAGE-TEXT */
  648. }
  649. #endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */
  650. #endif /* AUTOOPTS_USAGE_TXT_H_GUARD */