usage-txt.h revision 280849
18471Sache/* -*- buffer-read-only: t -*- vi: set ro: 28471Sache * 38471Sache * DO NOT EDIT THIS FILE (usage-txt.h) 4105806Sjhb * 58471Sache * It has been AutoGen-ed August 3, 2014 at 10:44:44 AM by AutoGen 5.18.4pre11 68471Sache * From the definitions usage-txt.def 78471Sache * and the template file usage-txt.tpl 88471Sache * 98471Sache * This file is part of AutoOpts, a companion to AutoGen. 108471Sache * AutoOpts is free software. 118471Sache * AutoOpts is Copyright (C) 1992-2014 by Bruce Korb - all rights reserved 128471Sache * 138471Sache * AutoOpts is available under any one of two licenses. The license 148471Sache * in use must be one of these two and the choice is under the control 158471Sache * of the user of the license. 168471Sache * 178471Sache * The GNU Lesser General Public License, version 3 or later 188471Sache * See the files "COPYING.lgplv3" and "COPYING.gplv3" 198471Sache * 208471Sache * The Modified Berkeley Software Distribution License 218471Sache * See the file "COPYING.mbsd" 228471Sache * 238471Sache * These files have the following sha256 sums: 248471Sache * 258471Sache * 8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95 COPYING.gplv3 268471Sache * 4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b COPYING.lgplv3 2751654Sphk * 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.mbsd 2851654Sphk */ 298471Sache/** @file usage-txt.h 308471Sache * 318471Sache * This file handles all the bookkeeping required for tracking all the little 328471Sache * tiny strings used by the AutoOpts library. There are 108 338471Sache * of them. This is not versioned because it is entirely internal to the 348471Sache * library and accessed by client code only in a very well-controlled way: 358471Sache * they may substitute translated strings using a procedure that steps through 369232Sache * all the string pointers. 378471Sache */ 38111899Sdas#ifndef AUTOOPTS_USAGE_TXT_H_GUARD 39111899Sdas#define AUTOOPTS_USAGE_TXT_H_GUARD 1 408471Sache 418471Sache/* 42105806Sjhb * One structure to hold all the pointers to all the translatable strings. 438471Sache */ 4424131Sbdetypedef struct { 4538246Sbde int field_ct; 46105806Sjhb char * utpz_GnuBoolArg; 47105806Sjhb char * utpz_GnuKeyArg; 48129879Sphk char * utpz_GnuNumArg; 49105806Sjhb char * utpz_GnuStrArg; 50105806Sjhb char const * apz_str[104]; 51105806Sjhb} usage_text_t; 52105806Sjhb 5366824Sbde/* 54105806Sjhb * Declare the global structure with all the pointers to translatable 55105806Sjhb * strings and the text array containing untranslatable strings. 56105806Sjhb */ 578471Sacheextern usage_text_t option_xlateable_txt; 58105806Sjhbextern char const option_lib_text[4285]; 598471Sache 60105806Sjhb#if defined(AUTOOPTS_INTERNAL) 61105806Sjhb/* 628471Sache * Provide a mapping from a short name to either the text directly 63105806Sjhb * (for untranslatable strings), or to pointers to the text, rendering 64105806Sjhb * them translatable. 658471Sache */ 66105806Sjhb#define zalloc_fail (option_xlateable_txt.apz_str[ 0]) 678471Sache#define zno_opt_arg (option_xlateable_txt.apz_str[ 1]) 68105806Sjhb#define ztoo_new (option_xlateable_txt.apz_str[ 2]) 69105806Sjhb#define zwrong_ver (option_xlateable_txt.apz_str[ 3]) 70105806Sjhb#define zrealloc_fail (option_xlateable_txt.apz_str[ 4]) 71105806Sjhb#define ztoo_old (option_xlateable_txt.apz_str[ 5]) 728471Sache#define zao_ver_fmt (option_xlateable_txt.apz_str[ 6]) 739232Sache#define zao_bug_msg (option_xlateable_txt.apz_str[ 7]) 749232Sache#define zno_reset (option_xlateable_txt.apz_str[ 8]) 759232Sache#define zmissing_help_msg (option_xlateable_txt.apz_str[ 9]) 768471Sache#define zbad_data_msg (option_xlateable_txt.apz_str[ 10]) 778471Sache#define zbad_arg_type_msg (option_xlateable_txt.apz_str[ 11]) 788471Sache#define zbad_default_msg (option_xlateable_txt.apz_str[ 12]) 798471Sache#define zbad_alias_id (option_xlateable_txt.apz_str[ 13]) 808471Sache#define zambiguous_key (option_xlateable_txt.apz_str[ 14]) 818471Sache#define zambig_list_msg (option_xlateable_txt.apz_str[ 15]) 82105960Sjhb#define zambig_opt_fmt (option_xlateable_txt.apz_str[ 16]) 839232Sache#define zargs_must (option_xlateable_txt.apz_str[ 17]) 84105806Sjhb#define zat_most (option_xlateable_txt.apz_str[ 18]) 85105806Sjhb#define zfserr_fmt (option_xlateable_txt.apz_str[ 19]) 86105806Sjhb#define zinter_proc_pipe (option_xlateable_txt.apz_str[ 20]) 87105806Sjhb#define zBadVerArg (option_xlateable_txt.apz_str[ 21]) 88105806Sjhb#define zconflict_fmt (option_xlateable_txt.apz_str[ 22]) 89105806Sjhb#define zDisabledErr (option_xlateable_txt.apz_str[ 23]) 90105806Sjhb#define zequiv (option_xlateable_txt.apz_str[ 24]) 91105806Sjhb#define zGnuBoolArg (option_xlateable_txt.utpz_GnuBoolArg) 92105806Sjhb#define zGnuKeyArg (option_xlateable_txt.utpz_GnuKeyArg) 93105806Sjhb#define zGnuNumArg (option_xlateable_txt.utpz_GnuNumArg) 94105806Sjhb#define zGnuStrArg (option_xlateable_txt.utpz_GnuStrArg) 95105806Sjhb#define zIllOptChr (option_xlateable_txt.apz_str[ 25]) 96105806Sjhb#define zIllOptStr (option_xlateable_txt.apz_str[ 26]) 97105806Sjhb#define zIllVendOptStr (option_xlateable_txt.apz_str[ 27]) 98105806Sjhb#define zIntRange (option_xlateable_txt.apz_str[ 28]) 99105806Sjhb#define zbad_od (option_xlateable_txt.apz_str[ 29]) 100105806Sjhb#define zInvalOptName (option_xlateable_txt.apz_str[ 30]) 101105806Sjhb#define zMisArg (option_xlateable_txt.apz_str[ 31]) 102105806Sjhb#define zmultiway_bug (option_xlateable_txt.apz_str[ 32]) 103105806Sjhb#define zneed_one (option_xlateable_txt.apz_str[ 33]) 104105806Sjhb#define zNoArg (option_xlateable_txt.apz_str[ 34]) 105105806Sjhb#define zNoArgs (option_xlateable_txt.apz_str[ 35]) 106105806Sjhb#define zNoCreat (option_xlateable_txt.apz_str[ 36]) 107105806Sjhb#define zNoKey (option_xlateable_txt.apz_str[ 37]) 1088471Sache#define zreset_arg (option_xlateable_txt.apz_str[ 38]) 109105806Sjhb#define zNoStat (option_xlateable_txt.apz_str[ 39]) 110105806Sjhb#define zNoState (option_xlateable_txt.apz_str[ 40]) 111105806Sjhb#define zNotCmdOpt (option_xlateable_txt.apz_str[ 41]) 112105806Sjhb#define zNotDate (option_xlateable_txt.apz_str[ 42]) 113105806Sjhb#define zNotDef (option_xlateable_txt.apz_str[ 43]) 114105806Sjhb#define zNotDuration (option_xlateable_txt.apz_str[ 44]) 115105806Sjhb#define zneed_more (option_xlateable_txt.apz_str[ 45]) 116105806Sjhb#define zNotNumber (option_xlateable_txt.apz_str[ 46]) 117105806Sjhb#define znum_too_large (option_xlateable_txt.apz_str[ 47]) 118105806Sjhb#define zoffer_usage_fmt (option_xlateable_txt.apz_str[ 48]) 119105806Sjhb#define zonly_one (option_xlateable_txt.apz_str[ 49]) 120105806Sjhb#define zstdout_name (option_xlateable_txt.apz_str[ 50]) 121105806Sjhb#define zstderr_name (option_xlateable_txt.apz_str[ 51]) 122105806Sjhb#define zwriting (option_xlateable_txt.apz_str[ 52]) 123105806Sjhb#define zRangeErr (option_xlateable_txt.apz_str[ 53]) 1248471Sache#define zneed_fmt (option_xlateable_txt.apz_str[ 54]) 1258471Sache#define zsave_warn (option_xlateable_txt.apz_str[ 55]) 126105806Sjhb#define zalt_opt (option_xlateable_txt.apz_str[ 56]) 127105806Sjhb#define zAuto (option_xlateable_txt.apz_str[ 57]) 128105806Sjhb#define zDefaultOpt (option_xlateable_txt.apz_str[ 58]) 129105806Sjhb#define zDis (option_xlateable_txt.apz_str[ 59]) 130105806Sjhb#define zDisabledOpt (option_xlateable_txt.apz_str[ 60]) 131105806Sjhb#define zDisabledWhy (option_xlateable_txt.apz_str[ 61]) 132105806Sjhb#define zEnab (option_xlateable_txt.apz_str[ 62]) 133105806Sjhb#define ztoo_often_fmt (option_xlateable_txt.apz_str[ 63]) 134105806Sjhb#define zExamineFmt (option_xlateable_txt.apz_str[ 64]) 135105806Sjhb#define zFileCannotExist (option_xlateable_txt.apz_str[ 65]) 136105806Sjhb#define zFileMustExist (option_xlateable_txt.apz_str[ 66]) 137105806Sjhb#define zFlagOkay (option_xlateable_txt.apz_str[ 67]) 138105806Sjhb#define zGenshell (option_xlateable_txt.apz_str[ 68]) 139105806Sjhb#define zLowerBits (option_xlateable_txt.apz_str[ 69]) 140105806Sjhb#define zMembers (option_xlateable_txt.apz_str[ 70]) 141105806Sjhb#define zMust (option_xlateable_txt.apz_str[ 71]) 142105806Sjhb#define zNoFlags (option_xlateable_txt.apz_str[ 72]) 143105806Sjhb#define zNoLim (option_xlateable_txt.apz_str[ 73]) 144105806Sjhb#define zNoPreset (option_xlateable_txt.apz_str[ 74]) 145105806Sjhb#define zNoRq_NoShrtTtl (option_xlateable_txt.apz_str[ 75]) 14612675Sjulian#define zNoRq_ShrtTtl (option_xlateable_txt.apz_str[ 76]) 14712675Sjulian#define zNrmOptFmt (option_xlateable_txt.apz_str[ 77]) 14812675Sjulian#define zNumberOpt (option_xlateable_txt.apz_str[ 78]) 14912675Sjulian#define zOptsOnly (option_xlateable_txt.apz_str[ 79]) 15047625Sphk#define zPathFmt (option_xlateable_txt.apz_str[ 80]) 151126080Sphk#define zPlsSendBugs (option_xlateable_txt.apz_str[ 81]) 152111815Sphk#define zPreset (option_xlateable_txt.apz_str[ 82]) 153111815Sphk#define zPresetIntro (option_xlateable_txt.apz_str[ 83]) 154111815Sphk#define zProhib (option_xlateable_txt.apz_str[ 84]) 155111815Sphk#define zProhibOne (option_xlateable_txt.apz_str[ 85]) 156126080Sphk#define zRange (option_xlateable_txt.apz_str[ 86]) 15738485Sbde#define zRangeAbove (option_xlateable_txt.apz_str[ 87]) 15812675Sjulian#define zRangeExact (option_xlateable_txt.apz_str[ 88]) 159105806Sjhb#define zRangeLie (option_xlateable_txt.apz_str[ 89]) 1608471Sache#define zRangeOnly (option_xlateable_txt.apz_str[ 90]) 1618471Sache#define zRangeOr (option_xlateable_txt.apz_str[ 91]) 1629232Sache#define zRangeScaled (option_xlateable_txt.apz_str[ 92]) 1639232Sache#define zRangeUpto (option_xlateable_txt.apz_str[ 93]) 1649232Sache#define zReorder (option_xlateable_txt.apz_str[ 94]) 1659232Sache#define zReqOne (option_xlateable_txt.apz_str[ 95]) 1669232Sache#define zReqThese (option_xlateable_txt.apz_str[ 96]) 1679232Sache#define zReq_NoShrtTtl (option_xlateable_txt.apz_str[ 97]) 1689232Sache#define zReq_ShrtTtl (option_xlateable_txt.apz_str[ 98]) 1699232Sache#define zSetMemberSettings (option_xlateable_txt.apz_str[ 99]) 1709232Sache#define zUpTo (option_xlateable_txt.apz_str[100]) 1719232Sache#define zValidKeys (option_xlateable_txt.apz_str[101]) 1729232Sache#define zVendIntro (option_xlateable_txt.apz_str[102]) 1739232Sache#define zVendOptsAre (option_xlateable_txt.apz_str[103]) 1748471Sache 1758471Sache /* 1768471Sache * First, set up the strings. Some of these are writable. These are all in 1778471Sache * English. This gets compiled into libopts and is distributed here so that 1788471Sache * xgettext (or equivalents) can extract these strings for translation. 1798471Sache */ 1808471Sachestatic char eng_zGnuBoolArg[] = "=T/F"; 1818471Sachestatic char eng_zGnuKeyArg[] = "=KWd"; 1828471Sachestatic char eng_zGnuNumArg[] = "=num"; 1838471Sachestatic char eng_zGnuStrArg[] = "=str"; 1848471Sachechar const option_lib_text[4285] = 185105806Sjhb/* 0 */ "allocation of %d bytes failed\n\0" 186105806Sjhb/* 31 */ "AutoOpts function called without option descriptor\n\0" 187105806Sjhb/* 83 */ "\tThis exceeds the compiled library version: \0" 188105806Sjhb/* 129 */ "Automated Options Processing Error!\n" 189105806Sjhb "\t%s called AutoOpts function with structure version %d:%d:%d.\n\0" 19067551Sjhb/* 228 */ "realloc of %d bytes at 0x%p failed\n\0" 1918471Sache/* 264 */ "\tThis is less than the minimum library version: \0" 1928471Sache/* 314 */ "Automated Options version %s\n" 19312724Sphk "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n\0" 194105806Sjhb/* 405 */ "(AutoOpts bug): %s.\n\0" 1958471Sache/* 427 */ "optionResetOpt() called, but reset-option not configured\0" 196105806Sjhb/* 484 */ "could not locate the 'help' option\0" 197105806Sjhb/* 519 */ "optionProcess() was called with invalid data\0" 1988471Sache/* 564 */ "invalid argument type specified\0" 199105806Sjhb/* 596 */ "defaulted to option with optional arg\0" 200105806Sjhb/* 634 */ "aliasing option is out of range.\0" 201105806Sjhb/* 667 */ "%s error: the keyword '%s' is ambiguous for %s\n\0" 202105806Sjhb/* 716 */ " The following options match:\n\0" 203105806Sjhb/* 748 */ "%s: ambiguous option name: %s (matches %d options)\n\0" 2049232Sache/* 800 */ "%s: Command line arguments required\n\0" 205105806Sjhb/* 837 */ "%d %s%s options allowed\n\0" 206105806Sjhb/* 862 */ "%s error %d (%s) calling %s for '%s'\n\0" 207105806Sjhb/* 900 */ "interprocess pipe\0" 208105806Sjhb/* 918 */ "error: version option argument '%c' invalid. Use:\n" 209105806Sjhb "\t'v' - version only\n" 210105806Sjhb "\t'c' - version and copyright\n" 211105806Sjhb "\t'n' - version and full copyright notice\n\0" 212105806Sjhb/* 1060 */ "%s error: the '%s' and '%s' options conflict\n\0" 213105806Sjhb/* 1107 */ "%s: The '%s' option has been disabled.\0" 214105806Sjhb/* 1146 */ "-equivalence\0" 215105806Sjhb/* 1159 */ "%s: illegal option -- %c\n\0" 216105806Sjhb/* 1185 */ "%s: illegal option -- %s\n\0" 217105806Sjhb/* 1211 */ "%s: unknown vendor extension option -- %s\n\0" 218105806Sjhb/* 1254 */ " or an integer from %d through %d\n\0" 219105806Sjhb/* 1290 */ "%s error: invalid option descriptor for %s\n\0" 220105806Sjhb/* 1335 */ "%s: invalid option name: %s\n\0" 221105806Sjhb/* 1364 */ "%s: The '%s' option requires an argument.\n\0" 222105806Sjhb/* 1407 */ "(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" 223105806Sjhb "\t'%s' and '%s'.\0" 224105806Sjhb/* 1490 */ "%s error: The %s option is required\n\0" 225105806Sjhb/* 1528 */ "%s: The '%s' option cannot have an argument.\n\0" 226105806Sjhb/* 1574 */ "%s: Command line arguments are not allowed.\n\0" 227105806Sjhb/* 1619 */ "error %d (%s) creating %s\n\0" 2288471Sache/* 1646 */ "%s error: '%s' does not match any %s keywords.\n\0" 2298471Sache/* 1695 */ "%s error: The '%s' option requires an argument.\n\0" 23012724Sphk/* 1744 */ "error %d (%s) stat-ing %s\n\0" 231105806Sjhb/* 1771 */ "%s error: no saved option state\n\0" 2328471Sache/* 1804 */ "'%s' is not a command line option.\n\0" 233105806Sjhb/* 1840 */ "%s error: '%s' is not a recognizable date/time.\n\0" 234105806Sjhb/* 1890 */ "'%s' not defined\n\0" 235105806Sjhb/* 1908 */ "%s error: '%s' is not a recognizable time duration.\n\0" 236105806Sjhb/* 1962 */ "%s error: The %s option must appear %d times.\n\0" 237105806Sjhb/* 2010 */ "%s error: '%s' is not a recognizable number.\n\0" 238105806Sjhb/* 2057 */ "%s error: %s exceeds %s keyword count\n\0" 2398471Sache/* 2097 */ "Try '%s %s' for more information.\n\0" 240105806Sjhb/* 2132 */ "one %s%s option allowed\n\0" 241105806Sjhb/* 2157 */ "standard output\0" 24240565Sbde/* 2173 */ "standard error\0" 243105806Sjhb/* 2188 */ "write\0" 244105806Sjhb/* 2194 */ "%s error: %s option value %ld is out of range.\n\0" 245105806Sjhb/* 2243 */ "%s error: %s option requires the %s option\n\0" 246105806Sjhb/* 2288 */ "%s warning: cannot save options - %s not regular file\n\0" 247105806Sjhb/* 2344 */ "\t\t\t\t- an alternate for '%s'\n\0" 248105806Sjhb/* 2373 */ "Version, usage and configuration options:\0" 249105806Sjhb/* 2415 */ "\t\t\t\t- default option for unnamed options\n\0" 250105806Sjhb/* 2457 */ "\t\t\t\t- disabled as '--%s'\n\0" 251105806Sjhb/* 2483 */ " --- %-14s %s\n\0" 252105806Sjhb/* 2498 */ "This option has been disabled\0" 253105806Sjhb/* 2528 */ "\t\t\t\t- enabled by default\n\0" 254105806Sjhb/* 2554 */ "%s error: only \0" 255105806Sjhb/* 2571 */ " - examining environment variables named %s_*\n\0" 256105806Sjhb/* 2618 */ "\t\t\t\t- file must not pre-exist\n\0" 257105806Sjhb/* 2649 */ "\t\t\t\t- file must pre-exist\n\0" 258105806Sjhb/* 2676 */ "Options are specified by doubled hyphens and their name or by a single\n" 259105806Sjhb "hyphen and the flag character.\n\0" 260105806Sjhb/* 2779 */ "\n" 261105806Sjhb "= = = = = = = =\n\n" 262105806Sjhb "This incarnation of genshell will produce\n" 263105806Sjhb "a shell script to parse the options for %s:\n\n\0" 264105806Sjhb/* 2885 */ " or an integer mask with any of the lower %d bits set\n\0" 265105806Sjhb/* 2941 */ "\t\t\t\t- is a set membership option\n\0" 266105806Sjhb/* 2975 */ "\t\t\t\t- must appear between %d and %d times\n\0" 267105806Sjhb/* 3018 */ "Options are specified by single or double hyphens and their name.\n\0" 268105806Sjhb/* 3085 */ "\t\t\t\t- may appear multiple times\n\0" 269105806Sjhb/* 3118 */ "\t\t\t\t- may not be preset\n\0" 270105806Sjhb/* 3143 */ " Arg Option-Name Description\n\0" 271105806Sjhb/* 3178 */ " Flg Arg Option-Name Description\n\0" 272105806Sjhb/* 3216 */ " %3s %s\0" 273105806Sjhb/* 3224 */ "The '-#<number>' option may omit the hash char\n\0" 274105806Sjhb/* 3272 */ "All arguments are named options.\n\0" 275105806Sjhb/* 3306 */ " - reading file %s\0" 276105806Sjhb/* 3325 */ "\n" 277105806Sjhb "Please send bug reports to: <%s>\n\0" 278105806Sjhb/* 3361 */ "\t\t\t\t- may NOT appear - preset only\n\0" 279105806Sjhb/* 3397 */ "\n" 280105806Sjhb "The following option preset mechanisms are supported:\n\0" 281105806Sjhb/* 3453 */ "prohibits these options:\n\0" 282105806Sjhb/* 3479 */ "prohibits the option '%s'\n\0" 283105806Sjhb/* 3506 */ "%s%ld to %ld\0" 2848471Sache/* 3519 */ "%sgreater than or equal to %ld\0" 285127135Snjl/* 3550 */ "%s%ld exactly\0" 286127135Snjl/* 3564 */ "%sit must lie in one of the ranges:\n\0" 287105806Sjhb/* 3601 */ "%sit must be in the range:\n\0" 288105806Sjhb/* 3629 */ ", or\n\0" 289105806Sjhb/* 3635 */ "%sis scalable with a suffix: k/K/m/M/g/G/t/T\n\0" 290105806Sjhb/* 3681 */ "%sless than or equal to %ld\0" 291105806Sjhb/* 3709 */ "Operands and options may be intermixed. They will be reordered.\n\0" 292105806Sjhb/* 3775 */ "requires the option '%s'\n\0" 293105806Sjhb/* 3801 */ "requires these options:\n\0" 294105806Sjhb/* 3826 */ " Arg Option-Name Req? Description\n\0" 295105806Sjhb/* 3866 */ " Flg Arg Option-Name Req? Description\n\0" 296105806Sjhb/* 3909 */ "or you may use a numeric representation. Preceding these with a '!'\n" 297105806Sjhb "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" 298105806Sjhb "will set them all. Multiple entries may be passed as an option\n" 299105806Sjhb "argument list.\n\0" 300105806Sjhb/* 4128 */ "\t\t\t\t- may appear up to %d times\n\0" 301105806Sjhb/* 4161 */ "The valid \"%s\" option keywords are:\n\0" 302105806Sjhb/* 4198 */ "The next option supports vendor supported extra options:\0" 303105806Sjhb/* 4255 */ "These additional options are:"; 304105806Sjhb 305105806Sjhb/* 306105806Sjhb * Now, define (and initialize) the structure that contains 307105806Sjhb * the pointers to all these strings. 308105806Sjhb * Aren't you glad you don't maintain this by hand? 309105806Sjhb */ 310105806Sjhbusage_text_t option_xlateable_txt = { 311105806Sjhb 108, 3128471Sache eng_zGnuBoolArg, eng_zGnuKeyArg, eng_zGnuNumArg, eng_zGnuStrArg, 313105806Sjhb { 3148471Sache option_lib_text + 0, option_lib_text + 31, option_lib_text + 83, 3158471Sache option_lib_text + 129, option_lib_text + 228, option_lib_text + 264, 3168471Sache option_lib_text + 314, option_lib_text + 405, option_lib_text + 427, 3178471Sache option_lib_text + 484, option_lib_text + 519, option_lib_text + 564, 3188471Sache option_lib_text + 596, option_lib_text + 634, option_lib_text + 667, 3198471Sache option_lib_text + 716, option_lib_text + 748, option_lib_text + 800, 320105806Sjhb option_lib_text + 837, option_lib_text + 862, option_lib_text + 900, 321105806Sjhb option_lib_text + 918, option_lib_text + 1060, option_lib_text + 1107, 3229232Sache option_lib_text + 1146, option_lib_text + 1159, option_lib_text + 1185, 3239232Sache option_lib_text + 1211, option_lib_text + 1254, option_lib_text + 1290, 3249232Sache option_lib_text + 1335, option_lib_text + 1364, option_lib_text + 1407, 3259232Sache option_lib_text + 1490, option_lib_text + 1528, option_lib_text + 1574, 326105806Sjhb option_lib_text + 1619, option_lib_text + 1646, option_lib_text + 1695, 327105806Sjhb option_lib_text + 1744, option_lib_text + 1771, option_lib_text + 1804, 328105806Sjhb option_lib_text + 1840, option_lib_text + 1890, option_lib_text + 1908, 329105806Sjhb option_lib_text + 1962, option_lib_text + 2010, option_lib_text + 2057, 330105806Sjhb option_lib_text + 2097, option_lib_text + 2132, option_lib_text + 2157, 331105806Sjhb option_lib_text + 2173, option_lib_text + 2188, option_lib_text + 2194, 332105806Sjhb option_lib_text + 2243, option_lib_text + 2288, option_lib_text + 2344, 333105806Sjhb option_lib_text + 2373, option_lib_text + 2415, option_lib_text + 2457, 334105806Sjhb option_lib_text + 2483, option_lib_text + 2498, option_lib_text + 2528, 335105806Sjhb option_lib_text + 2554, option_lib_text + 2571, option_lib_text + 2618, 336105806Sjhb option_lib_text + 2649, option_lib_text + 2676, option_lib_text + 2779, 337105806Sjhb option_lib_text + 2885, option_lib_text + 2941, option_lib_text + 2975, 3388471Sache option_lib_text + 3018, option_lib_text + 3085, option_lib_text + 3118, 339105806Sjhb option_lib_text + 3143, option_lib_text + 3178, option_lib_text + 3216, 340105806Sjhb option_lib_text + 3224, option_lib_text + 3272, option_lib_text + 3306, 341105806Sjhb option_lib_text + 3325, option_lib_text + 3361, option_lib_text + 3397, 342105806Sjhb option_lib_text + 3453, option_lib_text + 3479, option_lib_text + 3506, 343105806Sjhb option_lib_text + 3519, option_lib_text + 3550, option_lib_text + 3564, 344105806Sjhb option_lib_text + 3601, option_lib_text + 3629, option_lib_text + 3635, 3458471Sache option_lib_text + 3681, option_lib_text + 3709, option_lib_text + 3775, 346105806Sjhb option_lib_text + 3801, option_lib_text + 3826, option_lib_text + 3866, 347105806Sjhb option_lib_text + 3909, option_lib_text + 4128, option_lib_text + 4161, 348105806Sjhb option_lib_text + 4198, option_lib_text + 4255 349105806Sjhb } }; 350105806Sjhb#endif /* AUTOOPTS_INTERNAL */ 351105806Sjhb 352105806Sjhb#ifdef XGETTEXT_SCAN_DO_NOT_COMPILE 353105806Sjhbdo not compile this section. 3548471Sache/* TRANSLATORS: The following dummy functions were crated solely so that 3558471Sache * xgettext can extract the correct strings. These strings are actually 356105806Sjhb * referenced where the preceding "#line" directive states, though you will 357105806Sjhb * not see the literal string there. The literal string is defined above in 358105806Sjhb * the @code{option_lib_text} table and referenced via a #define name that 359105806Sjhb * redirects into the @code{option_xlateable_txt} structure above. When 360105806Sjhb * translating is activated, the pointers in @code{option_xlateable_txt} are 361105806Sjhb * updated to point to translated strings. 362105806Sjhb */ 363105806Sjhbstatic void dummy_func(void) { 364105806Sjhb /* LIBOPTS-MESSAGES: */ 365105806Sjhb#line 67 "../autoopts.c" 366105806Sjhb puts(_("allocation of %d bytes failed\n")); 367105806Sjhb#line 93 "../autoopts.c" 368105806Sjhb puts(_("allocation of %d bytes failed\n")); 369105806Sjhb#line 53 "../init.c" 370105806Sjhb puts(_("AutoOpts function called without option descriptor\n")); 371105806Sjhb#line 90 "../init.c" 372105806Sjhb puts(_("\tThis exceeds the compiled library version: ")); 373105806Sjhb#line 88 "../init.c" 374105806Sjhb puts(_("Automated Options Processing Error!\n" 375105806Sjhb "\t%s called AutoOpts function with structure version %d:%d:%d.\n")); 376105806Sjhb#line 80 "../autoopts.c" 377105806Sjhb puts(_("realloc of %d bytes at 0x%p failed\n")); 378105806Sjhb#line 92 "../init.c" 379105806Sjhb puts(_("\tThis is less than the minimum library version: ")); 380105806Sjhb#line 121 "../version.c" 381105806Sjhb puts(_("Automated Options version %s\n" 382105806Sjhb "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n")); 383105806Sjhb#line 82 "../makeshell.c" 384105806Sjhb puts(_("(AutoOpts bug): %s.\n")); 385105806Sjhb#line 90 "../reset.c" 386105806Sjhb puts(_("optionResetOpt() called, but reset-option not configured")); 387105806Sjhb#line 292 "../usage.c" 388105806Sjhb puts(_("could not locate the 'help' option")); 389105806Sjhb#line 336 "../autoopts.c" 390105806Sjhb puts(_("optionProcess() was called with invalid data")); 39140565Sbde#line 748 "../usage.c" 392105806Sjhb puts(_("invalid argument type specified")); 3938471Sache#line 598 "../find.c" 394105806Sjhb puts(_("defaulted to option with optional arg")); 395105806Sjhb#line 76 "../alias.c" 3968471Sache puts(_("aliasing option is out of range.")); 397105806Sjhb#line 234 "../enum.c" 398105806Sjhb puts(_("%s error: the keyword '%s' is ambiguous for %s\n")); 399105806Sjhb#line 108 "../find.c" 400105806Sjhb puts(_(" The following options match:\n")); 401105806Sjhb#line 293 "../find.c" 4029232Sache puts(_("%s: ambiguous option name: %s (matches %d options)\n")); 403105806Sjhb#line 161 "../check.c" 404105806Sjhb puts(_("%s: Command line arguments required\n")); 405105806Sjhb#line 43 "../alias.c" 406105806Sjhb puts(_("%d %s%s options allowed\n")); 407105806Sjhb#line 89 "../makeshell.c" 408105806Sjhb puts(_("%s error %d (%s) calling %s for '%s'\n")); 409105806Sjhb#line 301 "../makeshell.c" 4108471Sache puts(_("interprocess pipe")); 411105806Sjhb#line 168 "../version.c" 412105806Sjhb puts(_("error: version option argument '%c' invalid. Use:\n" 413105806Sjhb "\t'v' - version only\n" 414105806Sjhb "\t'c' - version and copyright\n" 415105806Sjhb "\t'n' - version and full copyright notice\n")); 416105806Sjhb#line 58 "../check.c" 417105806Sjhb puts(_("%s error: the '%s' and '%s' options conflict\n")); 418105806Sjhb#line 217 "../find.c" 419105806Sjhb puts(_("%s: The '%s' option has been disabled.")); 4208471Sache#line 430 "../find.c" 421105806Sjhb puts(_("%s: The '%s' option has been disabled.")); 422105806Sjhb#line 38 "../alias.c" 4239232Sache puts(_("-equivalence")); 424105806Sjhb#line 469 "../find.c" 425105806Sjhb puts(_("%s: illegal option -- %c\n")); 4269232Sache#line 110 "../reset.c" 4279232Sache puts(_("%s: illegal option -- %c\n")); 4289232Sache#line 271 "../find.c" 4299232Sache puts(_("%s: illegal option -- %s\n")); 4309232Sache#line 755 "../find.c" 431105806Sjhb puts(_("%s: illegal option -- %s\n")); 4329232Sache#line 118 "../reset.c" 4339232Sache puts(_("%s: illegal option -- %s\n")); 4349232Sache#line 335 "../find.c" 4359232Sache puts(_("%s: unknown vendor extension option -- %s\n")); 4368471Sache#line 159 "../enum.c" 4379232Sache puts(_(" or an integer from %d through %d\n")); 438105806Sjhb#line 169 "../enum.c" 439105806Sjhb puts(_(" or an integer from %d through %d\n")); 440105806Sjhb#line 747 "../usage.c" 441105806Sjhb puts(_("%s error: invalid option descriptor for %s\n")); 4429232Sache#line 1081 "../usage.c" 4438471Sache puts(_("%s error: invalid option descriptor for %s\n")); 4449232Sache#line 385 "../find.c" 445105806Sjhb puts(_("%s: invalid option name: %s\n")); 4469232Sache#line 527 "../find.c" 4479232Sache puts(_("%s: The '%s' option requires an argument.\n")); 448105806Sjhb#line 156 "../autoopts.c" 449105806Sjhb puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" 4509232Sache "\t'%s' and '%s'.")); 4519232Sache#line 94 "../check.c" 452105806Sjhb puts(_("%s error: The %s option is required\n")); 453105806Sjhb#line 632 "../find.c" 454105806Sjhb puts(_("%s: The '%s' option cannot have an argument.\n")); 4559232Sache#line 151 "../check.c" 4569232Sache puts(_("%s: Command line arguments are not allowed.\n")); 4579232Sache#line 535 "../save.c" 4589232Sache puts(_("error %d (%s) creating %s\n")); 4599232Sache#line 234 "../enum.c" 4609232Sache puts(_("%s error: '%s' does not match any %s keywords.\n")); 4619232Sache#line 93 "../reset.c" 4629232Sache puts(_("%s error: The '%s' option requires an argument.\n")); 4639232Sache#line 184 "../save.c" 464105806Sjhb puts(_("error %d (%s) stat-ing %s\n")); 4659232Sache#line 238 "../save.c" 4669232Sache puts(_("error %d (%s) stat-ing %s\n")); 467105806Sjhb#line 143 "../restore.c" 4689232Sache puts(_("%s error: no saved option state\n")); 4699232Sache#line 231 "../autoopts.c" 470105806Sjhb puts(_("'%s' is not a command line option.\n")); 4719232Sache#line 111 "../time.c" 4728471Sache puts(_("%s error: '%s' is not a recognizable date/time.\n")); 4739232Sache#line 132 "../save.c" 4749232Sache puts(_("'%s' not defined\n")); 4759232Sache#line 50 "../time.c" 4769232Sache puts(_("%s error: '%s' is not a recognizable time duration.\n")); 4779232Sache#line 92 "../check.c" 4789232Sache puts(_("%s error: The %s option must appear %d times.\n")); 4799232Sache#line 164 "../numeric.c" 4809232Sache puts(_("%s error: '%s' is not a recognizable number.\n")); 481105806Sjhb#line 200 "../enum.c" 4829232Sache puts(_("%s error: %s exceeds %s keyword count\n")); 4838471Sache#line 330 "../usage.c" 4849232Sache puts(_("Try '%s %s' for more information.\n")); 4859232Sache#line 45 "../alias.c" 4869232Sache puts(_("one %s%s option allowed\n")); 4879232Sache#line 203 "../makeshell.c" 488105806Sjhb puts(_("standard output")); 4899232Sache#line 938 "../makeshell.c" 4909232Sache puts(_("standard output")); 4919232Sache#line 274 "../usage.c" 492105806Sjhb puts(_("standard output")); 4939232Sache#line 415 "../usage.c" 494105806Sjhb puts(_("standard output")); 4958471Sache#line 625 "../usage.c" 4969232Sache puts(_("standard output")); 4979232Sache#line 175 "../version.c" 4989232Sache puts(_("standard output")); 499105806Sjhb#line 274 "../usage.c" 5009232Sache puts(_("standard error")); 5019232Sache#line 415 "../usage.c" 5029232Sache puts(_("standard error")); 5039232Sache#line 625 "../usage.c" 5049232Sache puts(_("standard error")); 505105806Sjhb#line 175 "../version.c" 5069232Sache puts(_("standard error")); 507105806Sjhb#line 203 "../makeshell.c" 5089232Sache puts(_("write")); 5099232Sache#line 938 "../makeshell.c" 5109232Sache puts(_("write")); 5119232Sache#line 273 "../usage.c" 5129232Sache puts(_("write")); 5139232Sache#line 414 "../usage.c" 51446704Speter puts(_("write")); 515105806Sjhb#line 624 "../usage.c" 5169232Sache puts(_("write")); 517105806Sjhb#line 174 "../version.c" 5189232Sache puts(_("write")); 5199232Sache#line 60 "../numeric.c" 5209232Sache puts(_("%s error: %s option value %ld is out of range.\n")); 52146704Speter#line 44 "../check.c" 522105806Sjhb puts(_("%s error: %s option requires the %s option\n")); 5239232Sache#line 131 "../save.c" 5249232Sache puts(_("%s warning: cannot save options - %s not regular file\n")); 525105806Sjhb#line 183 "../save.c" 5269232Sache puts(_("%s warning: cannot save options - %s not regular file\n")); 5279232Sache#line 237 "../save.c" 5289232Sache puts(_("%s warning: cannot save options - %s not regular file\n")); 529105806Sjhb#line 256 "../save.c" 5309232Sache puts(_("%s warning: cannot save options - %s not regular file\n")); 5319232Sache#line 534 "../save.c" 5328471Sache puts(_("%s warning: cannot save options - %s not regular file\n")); 5339232Sache /* END-LIBOPTS-MESSAGES */ 5349232Sache 5359232Sache /* USAGE-TEXT: */ 5369232Sache#line 873 "../usage.c" 5379232Sache puts(_("\t\t\t\t- an alternate for '%s'\n")); 5389232Sache#line 1148 "../usage.c" 5399232Sache puts(_("Version, usage and configuration options:")); 540105806Sjhb#line 924 "../usage.c" 5419232Sache puts(_("\t\t\t\t- default option for unnamed options\n")); 5429232Sache#line 837 "../usage.c" 5439232Sache puts(_("\t\t\t\t- disabled as '--%s'\n")); 5449232Sache#line 1117 "../usage.c" 545105806Sjhb puts(_(" --- %-14s %s\n")); 5468471Sache#line 1115 "../usage.c" 5479232Sache puts(_("This option has been disabled")); 5488471Sache#line 864 "../usage.c" 5499232Sache puts(_("\t\t\t\t- enabled by default\n")); 550105806Sjhb#line 40 "../alias.c" 5519232Sache puts(_("%s error: only ")); 552105806Sjhb#line 1194 "../usage.c" 553105806Sjhb puts(_(" - examining environment variables named %s_*\n")); 5549232Sache#line 168 "../file.c" 5559232Sache puts(_("\t\t\t\t- file must not pre-exist\n")); 556105806Sjhb#line 172 "../file.c" 557105806Sjhb puts(_("\t\t\t\t- file must pre-exist\n")); 558105806Sjhb#line 380 "../usage.c" 559105806Sjhb puts(_("Options are specified by doubled hyphens and their name or by a single\n" 560105806Sjhb "hyphen and the flag character.\n")); 5618471Sache#line 916 "../makeshell.c" 5629232Sache puts(_("\n" 5638471Sache "= = = = = = = =\n\n" 5649232Sache "This incarnation of genshell will produce\n" 5659232Sache "a shell script to parse the options for %s:\n\n")); 5669232Sache#line 166 "../enum.c" 5679232Sache puts(_(" or an integer mask with any of the lower %d bits set\n")); 5689232Sache#line 897 "../usage.c" 5699232Sache puts(_("\t\t\t\t- is a set membership option\n")); 5708471Sache#line 918 "../usage.c" 5719232Sache puts(_("\t\t\t\t- must appear between %d and %d times\n")); 572105806Sjhb#line 382 "../usage.c" 5739232Sache puts(_("Options are specified by single or double hyphens and their name.\n")); 574105806Sjhb#line 904 "../usage.c" 5759232Sache puts(_("\t\t\t\t- may appear multiple times\n")); 5769232Sache#line 891 "../usage.c" 5778471Sache puts(_("\t\t\t\t- may not be preset\n")); 5789232Sache#line 1309 "../usage.c" 579105806Sjhb puts(_(" Arg Option-Name Description\n")); 5809232Sache#line 1245 "../usage.c" 581105806Sjhb puts(_(" Flg Arg Option-Name Description\n")); 582105806Sjhb#line 1303 "../usage.c" 5839232Sache puts(_(" Flg Arg Option-Name Description\n")); 5849232Sache#line 1304 "../usage.c" 585105806Sjhb puts(_(" %3s %s")); 586105806Sjhb#line 1310 "../usage.c" 5879232Sache puts(_(" %3s %s")); 5889232Sache#line 387 "../usage.c" 5899232Sache puts(_("The '-#<number>' option may omit the hash char\n")); 5909232Sache#line 383 "../usage.c" 5919232Sache puts(_("All arguments are named options.\n")); 5929232Sache#line 971 "../usage.c" 593105806Sjhb puts(_(" - reading file %s")); 594105806Sjhb#line 409 "../usage.c" 595105806Sjhb puts(_("\n" 596105806Sjhb "Please send bug reports to: <%s>\n")); 5979232Sache#line 100 "../version.c" 5989232Sache puts(_("\n" 5999232Sache "Please send bug reports to: <%s>\n")); 6009232Sache#line 129 "../version.c" 6019232Sache puts(_("\n" 6029232Sache "Please send bug reports to: <%s>\n")); 6039232Sache#line 903 "../usage.c" 6049232Sache puts(_("\t\t\t\t- may NOT appear - preset only\n")); 605105806Sjhb#line 944 "../usage.c" 6069232Sache puts(_("\n" 6078471Sache "The following option preset mechanisms are supported:\n")); 6089232Sache#line 1192 "../usage.c" 6099232Sache puts(_("\n" 610105806Sjhb "The following option preset mechanisms are supported:\n")); 6118471Sache#line 682 "../usage.c" 612105806Sjhb puts(_("prohibits these options:\n")); 613105806Sjhb#line 677 "../usage.c" 614105806Sjhb puts(_("prohibits the option '%s'\n")); 6158471Sache#line 81 "../numeric.c" 6169232Sache puts(_("%s%ld to %ld")); 617105806Sjhb#line 79 "../numeric.c" 6189232Sache puts(_("%sgreater than or equal to %ld")); 619105806Sjhb#line 75 "../numeric.c" 6209232Sache puts(_("%s%ld exactly")); 6219232Sache#line 68 "../numeric.c" 6228471Sache puts(_("%sit must lie in one of the ranges:\n")); 6239232Sache#line 68 "../numeric.c" 624105806Sjhb puts(_("%sit must be in the range:\n")); 625105806Sjhb#line 88 "../numeric.c" 626105806Sjhb puts(_(", or\n")); 6278471Sache#line 66 "../numeric.c" 6288471Sache puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n")); 6298471Sache#line 77 "../numeric.c" 6308471Sache puts(_("%sless than or equal to %ld")); 631105806Sjhb#line 390 "../usage.c" 632105806Sjhb puts(_("Operands and options may be intermixed. They will be reordered.\n")); 6338471Sache#line 652 "../usage.c" 634105806Sjhb puts(_("requires the option '%s'\n")); 635105806Sjhb#line 655 "../usage.c" 636105806Sjhb puts(_("requires these options:\n")); 6378471Sache#line 1321 "../usage.c" 638105806Sjhb puts(_(" Arg Option-Name Req? Description\n")); 6398471Sache#line 1315 "../usage.c" 6408471Sache puts(_(" Flg Arg Option-Name Req? Description\n")); 641105806Sjhb#line 167 "../enum.c" 6428471Sache puts(_("or you may use a numeric representation. Preceding these with a '!'\n" 6438471Sache "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" 644106653Sjhb "will set them all. Multiple entries may be passed as an option\n" 6458471Sache "argument list.\n")); 6468471Sache#line 910 "../usage.c" 6478471Sache puts(_("\t\t\t\t- may appear up to %d times\n")); 6488471Sache#line 77 "../enum.c" 6498471Sache puts(_("The valid \"%s\" option keywords are:\n")); 6509232Sache#line 1152 "../usage.c" 6519232Sache puts(_("The next option supports vendor supported extra options:")); 6529232Sache#line 773 "../usage.c" 6539232Sache puts(_("These additional options are:")); 654105806Sjhb /* END-USAGE-TEXT */ 655105806Sjhb} 6569232Sache#endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */ 657105806Sjhb#endif /* AUTOOPTS_USAGE_TXT_H_GUARD */ 658105806Sjhb