1280849Scy/* -*- buffer-read-only: t -*- vi: set ro: 2181834Sroberto * 3280849Scy * DO NOT EDIT THIS FILE (usage-txt.h) 4280849Scy * 5285169Scy * It has been AutoGen-ed 6280849Scy * From the definitions usage-txt.def 7280849Scy * and the template file usage-txt.tpl 8280849Scy * 9280849Scy * This file is part of AutoOpts, a companion to AutoGen. 10280849Scy * AutoOpts is free software. 11285169Scy * AutoOpts is Copyright (C) 1992-2015 by Bruce Korb - all rights reserved 12280849Scy * 13280849Scy * AutoOpts is available under any one of two licenses. The license 14280849Scy * in use must be one of these two and the choice is under the control 15280849Scy * of the user of the license. 16280849Scy * 17280849Scy * The GNU Lesser General Public License, version 3 or later 18280849Scy * See the files "COPYING.lgplv3" and "COPYING.gplv3" 19280849Scy * 20280849Scy * The Modified Berkeley Software Distribution License 21280849Scy * See the file "COPYING.mbsd" 22280849Scy * 23280849Scy * These files have the following sha256 sums: 24280849Scy * 25280849Scy * 8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95 COPYING.gplv3 26280849Scy * 4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b COPYING.lgplv3 27280849Scy * 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.mbsd 28280849Scy */ 29280849Scy/** @file usage-txt.h 30280849Scy * 31181834Sroberto * This file handles all the bookkeeping required for tracking all the little 32280849Scy * tiny strings used by the AutoOpts library. There are 108 33181834Sroberto * of them. This is not versioned because it is entirely internal to the 34181834Sroberto * library and accessed by client code only in a very well-controlled way: 35181834Sroberto * they may substitute translated strings using a procedure that steps through 36181834Sroberto * all the string pointers. 37181834Sroberto */ 38181834Sroberto#ifndef AUTOOPTS_USAGE_TXT_H_GUARD 39280849Scy#define AUTOOPTS_USAGE_TXT_H_GUARD 1 40181834Sroberto 41181834Sroberto/* 42280849Scy * One structure to hold all the pointers to all the translatable strings. 43181834Sroberto */ 44181834Srobertotypedef struct { 45280849Scy int field_ct; 46280849Scy char * utpz_GnuBoolArg; 47280849Scy char * utpz_GnuKeyArg; 48280849Scy char * utpz_GnuNumArg; 49280849Scy char * utpz_GnuStrArg; 50280849Scy char const * apz_str[104]; 51181834Sroberto} usage_text_t; 52181834Sroberto 53181834Sroberto/* 54280849Scy * Declare the global structure with all the pointers to translatable 55280849Scy * strings and the text array containing untranslatable strings. 56181834Sroberto */ 57280849Scyextern usage_text_t option_xlateable_txt; 58280849Scyextern char const option_lib_text[4285]; 59181834Sroberto 60280849Scy#if defined(AUTOOPTS_INTERNAL) 61181834Sroberto/* 62280849Scy * Provide a mapping from a short name to either the text directly 63280849Scy * (for untranslatable strings), or to pointers to the text, rendering 64280849Scy * them translatable. 65181834Sroberto */ 66280849Scy#define zalloc_fail (option_xlateable_txt.apz_str[ 0]) 67280849Scy#define zno_opt_arg (option_xlateable_txt.apz_str[ 1]) 68280849Scy#define ztoo_new (option_xlateable_txt.apz_str[ 2]) 69280849Scy#define zwrong_ver (option_xlateable_txt.apz_str[ 3]) 70280849Scy#define zrealloc_fail (option_xlateable_txt.apz_str[ 4]) 71280849Scy#define ztoo_old (option_xlateable_txt.apz_str[ 5]) 72280849Scy#define zao_ver_fmt (option_xlateable_txt.apz_str[ 6]) 73280849Scy#define zao_bug_msg (option_xlateable_txt.apz_str[ 7]) 74280849Scy#define zno_reset (option_xlateable_txt.apz_str[ 8]) 75280849Scy#define zmissing_help_msg (option_xlateable_txt.apz_str[ 9]) 76280849Scy#define zbad_data_msg (option_xlateable_txt.apz_str[ 10]) 77280849Scy#define zbad_arg_type_msg (option_xlateable_txt.apz_str[ 11]) 78280849Scy#define zbad_default_msg (option_xlateable_txt.apz_str[ 12]) 79280849Scy#define zbad_alias_id (option_xlateable_txt.apz_str[ 13]) 80280849Scy#define zambiguous_key (option_xlateable_txt.apz_str[ 14]) 81280849Scy#define zambig_list_msg (option_xlateable_txt.apz_str[ 15]) 82280849Scy#define zambig_opt_fmt (option_xlateable_txt.apz_str[ 16]) 83280849Scy#define zargs_must (option_xlateable_txt.apz_str[ 17]) 84280849Scy#define zat_most (option_xlateable_txt.apz_str[ 18]) 85280849Scy#define zfserr_fmt (option_xlateable_txt.apz_str[ 19]) 86280849Scy#define zinter_proc_pipe (option_xlateable_txt.apz_str[ 20]) 87280849Scy#define zBadVerArg (option_xlateable_txt.apz_str[ 21]) 88280849Scy#define zconflict_fmt (option_xlateable_txt.apz_str[ 22]) 89280849Scy#define zDisabledErr (option_xlateable_txt.apz_str[ 23]) 90280849Scy#define zequiv (option_xlateable_txt.apz_str[ 24]) 91280849Scy#define zGnuBoolArg (option_xlateable_txt.utpz_GnuBoolArg) 92280849Scy#define zGnuKeyArg (option_xlateable_txt.utpz_GnuKeyArg) 93280849Scy#define zGnuNumArg (option_xlateable_txt.utpz_GnuNumArg) 94280849Scy#define zGnuStrArg (option_xlateable_txt.utpz_GnuStrArg) 95280849Scy#define zIllOptChr (option_xlateable_txt.apz_str[ 25]) 96280849Scy#define zIllOptStr (option_xlateable_txt.apz_str[ 26]) 97280849Scy#define zIllVendOptStr (option_xlateable_txt.apz_str[ 27]) 98280849Scy#define zIntRange (option_xlateable_txt.apz_str[ 28]) 99280849Scy#define zbad_od (option_xlateable_txt.apz_str[ 29]) 100280849Scy#define zInvalOptName (option_xlateable_txt.apz_str[ 30]) 101280849Scy#define zMisArg (option_xlateable_txt.apz_str[ 31]) 102280849Scy#define zmultiway_bug (option_xlateable_txt.apz_str[ 32]) 103280849Scy#define zneed_one (option_xlateable_txt.apz_str[ 33]) 104280849Scy#define zNoArg (option_xlateable_txt.apz_str[ 34]) 105280849Scy#define zNoArgs (option_xlateable_txt.apz_str[ 35]) 106280849Scy#define zNoCreat (option_xlateable_txt.apz_str[ 36]) 107280849Scy#define zNoKey (option_xlateable_txt.apz_str[ 37]) 108280849Scy#define zreset_arg (option_xlateable_txt.apz_str[ 38]) 109280849Scy#define zNoStat (option_xlateable_txt.apz_str[ 39]) 110280849Scy#define zNoState (option_xlateable_txt.apz_str[ 40]) 111280849Scy#define zNotCmdOpt (option_xlateable_txt.apz_str[ 41]) 112280849Scy#define zNotDate (option_xlateable_txt.apz_str[ 42]) 113280849Scy#define zNotDef (option_xlateable_txt.apz_str[ 43]) 114280849Scy#define zNotDuration (option_xlateable_txt.apz_str[ 44]) 115280849Scy#define zneed_more (option_xlateable_txt.apz_str[ 45]) 116280849Scy#define zNotNumber (option_xlateable_txt.apz_str[ 46]) 117280849Scy#define znum_too_large (option_xlateable_txt.apz_str[ 47]) 118280849Scy#define zoffer_usage_fmt (option_xlateable_txt.apz_str[ 48]) 119280849Scy#define zonly_one (option_xlateable_txt.apz_str[ 49]) 120280849Scy#define zstdout_name (option_xlateable_txt.apz_str[ 50]) 121280849Scy#define zstderr_name (option_xlateable_txt.apz_str[ 51]) 122280849Scy#define zwriting (option_xlateable_txt.apz_str[ 52]) 123280849Scy#define zRangeErr (option_xlateable_txt.apz_str[ 53]) 124280849Scy#define zneed_fmt (option_xlateable_txt.apz_str[ 54]) 125280849Scy#define zsave_warn (option_xlateable_txt.apz_str[ 55]) 126280849Scy#define zalt_opt (option_xlateable_txt.apz_str[ 56]) 127280849Scy#define zAuto (option_xlateable_txt.apz_str[ 57]) 128280849Scy#define zDefaultOpt (option_xlateable_txt.apz_str[ 58]) 129280849Scy#define zDis (option_xlateable_txt.apz_str[ 59]) 130280849Scy#define zDisabledOpt (option_xlateable_txt.apz_str[ 60]) 131280849Scy#define zDisabledWhy (option_xlateable_txt.apz_str[ 61]) 132280849Scy#define zEnab (option_xlateable_txt.apz_str[ 62]) 133280849Scy#define ztoo_often_fmt (option_xlateable_txt.apz_str[ 63]) 134280849Scy#define zExamineFmt (option_xlateable_txt.apz_str[ 64]) 135280849Scy#define zFileCannotExist (option_xlateable_txt.apz_str[ 65]) 136280849Scy#define zFileMustExist (option_xlateable_txt.apz_str[ 66]) 137280849Scy#define zFlagOkay (option_xlateable_txt.apz_str[ 67]) 138280849Scy#define zGenshell (option_xlateable_txt.apz_str[ 68]) 139280849Scy#define zLowerBits (option_xlateable_txt.apz_str[ 69]) 140280849Scy#define zMembers (option_xlateable_txt.apz_str[ 70]) 141280849Scy#define zMust (option_xlateable_txt.apz_str[ 71]) 142280849Scy#define zNoFlags (option_xlateable_txt.apz_str[ 72]) 143280849Scy#define zNoLim (option_xlateable_txt.apz_str[ 73]) 144280849Scy#define zNoPreset (option_xlateable_txt.apz_str[ 74]) 145280849Scy#define zNoRq_NoShrtTtl (option_xlateable_txt.apz_str[ 75]) 146280849Scy#define zNoRq_ShrtTtl (option_xlateable_txt.apz_str[ 76]) 147280849Scy#define zNrmOptFmt (option_xlateable_txt.apz_str[ 77]) 148280849Scy#define zNumberOpt (option_xlateable_txt.apz_str[ 78]) 149280849Scy#define zOptsOnly (option_xlateable_txt.apz_str[ 79]) 150280849Scy#define zPathFmt (option_xlateable_txt.apz_str[ 80]) 151280849Scy#define zPlsSendBugs (option_xlateable_txt.apz_str[ 81]) 152280849Scy#define zPreset (option_xlateable_txt.apz_str[ 82]) 153280849Scy#define zPresetIntro (option_xlateable_txt.apz_str[ 83]) 154280849Scy#define zProhib (option_xlateable_txt.apz_str[ 84]) 155280849Scy#define zProhibOne (option_xlateable_txt.apz_str[ 85]) 156280849Scy#define zRange (option_xlateable_txt.apz_str[ 86]) 157280849Scy#define zRangeAbove (option_xlateable_txt.apz_str[ 87]) 158280849Scy#define zRangeExact (option_xlateable_txt.apz_str[ 88]) 159280849Scy#define zRangeLie (option_xlateable_txt.apz_str[ 89]) 160280849Scy#define zRangeOnly (option_xlateable_txt.apz_str[ 90]) 161280849Scy#define zRangeOr (option_xlateable_txt.apz_str[ 91]) 162280849Scy#define zRangeScaled (option_xlateable_txt.apz_str[ 92]) 163280849Scy#define zRangeUpto (option_xlateable_txt.apz_str[ 93]) 164280849Scy#define zReorder (option_xlateable_txt.apz_str[ 94]) 165280849Scy#define zReqOne (option_xlateable_txt.apz_str[ 95]) 166280849Scy#define zReqThese (option_xlateable_txt.apz_str[ 96]) 167280849Scy#define zReq_NoShrtTtl (option_xlateable_txt.apz_str[ 97]) 168280849Scy#define zReq_ShrtTtl (option_xlateable_txt.apz_str[ 98]) 169280849Scy#define zSetMemberSettings (option_xlateable_txt.apz_str[ 99]) 170280849Scy#define zUpTo (option_xlateable_txt.apz_str[100]) 171280849Scy#define zValidKeys (option_xlateable_txt.apz_str[101]) 172280849Scy#define zVendIntro (option_xlateable_txt.apz_str[102]) 173280849Scy#define zVendOptsAre (option_xlateable_txt.apz_str[103]) 174181834Sroberto 175181834Sroberto /* 176181834Sroberto * First, set up the strings. Some of these are writable. These are all in 177181834Sroberto * English. This gets compiled into libopts and is distributed here so that 178181834Sroberto * xgettext (or equivalents) can extract these strings for translation. 179181834Sroberto */ 180280849Scystatic char eng_zGnuBoolArg[] = "=T/F"; 181280849Scystatic char eng_zGnuKeyArg[] = "=KWd"; 182280849Scystatic char eng_zGnuNumArg[] = "=num"; 183280849Scystatic char eng_zGnuStrArg[] = "=str"; 184280849Scychar const option_lib_text[4285] = 185280849Scy/* 0 */ "allocation of %d bytes failed\n\0" 186280849Scy/* 31 */ "AutoOpts function called without option descriptor\n\0" 187280849Scy/* 83 */ "\tThis exceeds the compiled library version: \0" 188280849Scy/* 129 */ "Automated Options Processing Error!\n" 189280849Scy "\t%s called AutoOpts function with structure version %d:%d:%d.\n\0" 190280849Scy/* 228 */ "realloc of %d bytes at 0x%p failed\n\0" 191280849Scy/* 264 */ "\tThis is less than the minimum library version: \0" 192280849Scy/* 314 */ "Automated Options version %s\n" 193280849Scy "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n\0" 194280849Scy/* 405 */ "(AutoOpts bug): %s.\n\0" 195280849Scy/* 427 */ "optionResetOpt() called, but reset-option not configured\0" 196280849Scy/* 484 */ "could not locate the 'help' option\0" 197280849Scy/* 519 */ "optionProcess() was called with invalid data\0" 198280849Scy/* 564 */ "invalid argument type specified\0" 199280849Scy/* 596 */ "defaulted to option with optional arg\0" 200280849Scy/* 634 */ "aliasing option is out of range.\0" 201280849Scy/* 667 */ "%s error: the keyword '%s' is ambiguous for %s\n\0" 202280849Scy/* 716 */ " The following options match:\n\0" 203280849Scy/* 748 */ "%s: ambiguous option name: %s (matches %d options)\n\0" 204280849Scy/* 800 */ "%s: Command line arguments required\n\0" 205280849Scy/* 837 */ "%d %s%s options allowed\n\0" 206280849Scy/* 862 */ "%s error %d (%s) calling %s for '%s'\n\0" 207280849Scy/* 900 */ "interprocess pipe\0" 208280849Scy/* 918 */ "error: version option argument '%c' invalid. Use:\n" 209280849Scy "\t'v' - version only\n" 210280849Scy "\t'c' - version and copyright\n" 211280849Scy "\t'n' - version and full copyright notice\n\0" 212280849Scy/* 1060 */ "%s error: the '%s' and '%s' options conflict\n\0" 213280849Scy/* 1107 */ "%s: The '%s' option has been disabled.\0" 214280849Scy/* 1146 */ "-equivalence\0" 215280849Scy/* 1159 */ "%s: illegal option -- %c\n\0" 216280849Scy/* 1185 */ "%s: illegal option -- %s\n\0" 217280849Scy/* 1211 */ "%s: unknown vendor extension option -- %s\n\0" 218280849Scy/* 1254 */ " or an integer from %d through %d\n\0" 219280849Scy/* 1290 */ "%s error: invalid option descriptor for %s\n\0" 220280849Scy/* 1335 */ "%s: invalid option name: %s\n\0" 221280849Scy/* 1364 */ "%s: The '%s' option requires an argument.\n\0" 222280849Scy/* 1407 */ "(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" 223280849Scy "\t'%s' and '%s'.\0" 224280849Scy/* 1490 */ "%s error: The %s option is required\n\0" 225280849Scy/* 1528 */ "%s: The '%s' option cannot have an argument.\n\0" 226280849Scy/* 1574 */ "%s: Command line arguments are not allowed.\n\0" 227280849Scy/* 1619 */ "error %d (%s) creating %s\n\0" 228280849Scy/* 1646 */ "%s error: '%s' does not match any %s keywords.\n\0" 229280849Scy/* 1695 */ "%s error: The '%s' option requires an argument.\n\0" 230280849Scy/* 1744 */ "error %d (%s) stat-ing %s\n\0" 231280849Scy/* 1771 */ "%s error: no saved option state\n\0" 232280849Scy/* 1804 */ "'%s' is not a command line option.\n\0" 233280849Scy/* 1840 */ "%s error: '%s' is not a recognizable date/time.\n\0" 234280849Scy/* 1890 */ "'%s' not defined\n\0" 235280849Scy/* 1908 */ "%s error: '%s' is not a recognizable time duration.\n\0" 236280849Scy/* 1962 */ "%s error: The %s option must appear %d times.\n\0" 237280849Scy/* 2010 */ "%s error: '%s' is not a recognizable number.\n\0" 238280849Scy/* 2057 */ "%s error: %s exceeds %s keyword count\n\0" 239280849Scy/* 2097 */ "Try '%s %s' for more information.\n\0" 240280849Scy/* 2132 */ "one %s%s option allowed\n\0" 241280849Scy/* 2157 */ "standard output\0" 242280849Scy/* 2173 */ "standard error\0" 243280849Scy/* 2188 */ "write\0" 244280849Scy/* 2194 */ "%s error: %s option value %ld is out of range.\n\0" 245280849Scy/* 2243 */ "%s error: %s option requires the %s option\n\0" 246280849Scy/* 2288 */ "%s warning: cannot save options - %s not regular file\n\0" 247280849Scy/* 2344 */ "\t\t\t\t- an alternate for '%s'\n\0" 248280849Scy/* 2373 */ "Version, usage and configuration options:\0" 249280849Scy/* 2415 */ "\t\t\t\t- default option for unnamed options\n\0" 250280849Scy/* 2457 */ "\t\t\t\t- disabled as '--%s'\n\0" 251280849Scy/* 2483 */ " --- %-14s %s\n\0" 252280849Scy/* 2498 */ "This option has been disabled\0" 253280849Scy/* 2528 */ "\t\t\t\t- enabled by default\n\0" 254280849Scy/* 2554 */ "%s error: only \0" 255280849Scy/* 2571 */ " - examining environment variables named %s_*\n\0" 256280849Scy/* 2618 */ "\t\t\t\t- file must not pre-exist\n\0" 257280849Scy/* 2649 */ "\t\t\t\t- file must pre-exist\n\0" 258280849Scy/* 2676 */ "Options are specified by doubled hyphens and their name or by a single\n" 259280849Scy "hyphen and the flag character.\n\0" 260280849Scy/* 2779 */ "\n" 261280849Scy "= = = = = = = =\n\n" 262280849Scy "This incarnation of genshell will produce\n" 263280849Scy "a shell script to parse the options for %s:\n\n\0" 264280849Scy/* 2885 */ " or an integer mask with any of the lower %d bits set\n\0" 265280849Scy/* 2941 */ "\t\t\t\t- is a set membership option\n\0" 266280849Scy/* 2975 */ "\t\t\t\t- must appear between %d and %d times\n\0" 267280849Scy/* 3018 */ "Options are specified by single or double hyphens and their name.\n\0" 268280849Scy/* 3085 */ "\t\t\t\t- may appear multiple times\n\0" 269280849Scy/* 3118 */ "\t\t\t\t- may not be preset\n\0" 270280849Scy/* 3143 */ " Arg Option-Name Description\n\0" 271280849Scy/* 3178 */ " Flg Arg Option-Name Description\n\0" 272280849Scy/* 3216 */ " %3s %s\0" 273280849Scy/* 3224 */ "The '-#<number>' option may omit the hash char\n\0" 274280849Scy/* 3272 */ "All arguments are named options.\n\0" 275280849Scy/* 3306 */ " - reading file %s\0" 276280849Scy/* 3325 */ "\n" 277280849Scy "Please send bug reports to: <%s>\n\0" 278280849Scy/* 3361 */ "\t\t\t\t- may NOT appear - preset only\n\0" 279280849Scy/* 3397 */ "\n" 280280849Scy "The following option preset mechanisms are supported:\n\0" 281280849Scy/* 3453 */ "prohibits these options:\n\0" 282280849Scy/* 3479 */ "prohibits the option '%s'\n\0" 283280849Scy/* 3506 */ "%s%ld to %ld\0" 284280849Scy/* 3519 */ "%sgreater than or equal to %ld\0" 285280849Scy/* 3550 */ "%s%ld exactly\0" 286280849Scy/* 3564 */ "%sit must lie in one of the ranges:\n\0" 287280849Scy/* 3601 */ "%sit must be in the range:\n\0" 288280849Scy/* 3629 */ ", or\n\0" 289280849Scy/* 3635 */ "%sis scalable with a suffix: k/K/m/M/g/G/t/T\n\0" 290280849Scy/* 3681 */ "%sless than or equal to %ld\0" 291280849Scy/* 3709 */ "Operands and options may be intermixed. They will be reordered.\n\0" 292280849Scy/* 3775 */ "requires the option '%s'\n\0" 293280849Scy/* 3801 */ "requires these options:\n\0" 294280849Scy/* 3826 */ " Arg Option-Name Req? Description\n\0" 295280849Scy/* 3866 */ " Flg Arg Option-Name Req? Description\n\0" 296280849Scy/* 3909 */ "or you may use a numeric representation. Preceding these with a '!'\n" 297280849Scy "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" 298280849Scy "will set them all. Multiple entries may be passed as an option\n" 299280849Scy "argument list.\n\0" 300280849Scy/* 4128 */ "\t\t\t\t- may appear up to %d times\n\0" 301280849Scy/* 4161 */ "The valid \"%s\" option keywords are:\n\0" 302280849Scy/* 4198 */ "The next option supports vendor supported extra options:\0" 303280849Scy/* 4255 */ "These additional options are:"; 304181834Sroberto 305280849Scy/* 306280849Scy * Now, define (and initialize) the structure that contains 307280849Scy * the pointers to all these strings. 308280849Scy * Aren't you glad you don't maintain this by hand? 309280849Scy */ 310280849Scyusage_text_t option_xlateable_txt = { 311280849Scy 108, 312280849Scy eng_zGnuBoolArg, eng_zGnuKeyArg, eng_zGnuNumArg, eng_zGnuStrArg, 313280849Scy { 314280849Scy option_lib_text + 0, option_lib_text + 31, option_lib_text + 83, 315280849Scy option_lib_text + 129, option_lib_text + 228, option_lib_text + 264, 316280849Scy option_lib_text + 314, option_lib_text + 405, option_lib_text + 427, 317280849Scy option_lib_text + 484, option_lib_text + 519, option_lib_text + 564, 318280849Scy option_lib_text + 596, option_lib_text + 634, option_lib_text + 667, 319280849Scy option_lib_text + 716, option_lib_text + 748, option_lib_text + 800, 320280849Scy option_lib_text + 837, option_lib_text + 862, option_lib_text + 900, 321280849Scy option_lib_text + 918, option_lib_text + 1060, option_lib_text + 1107, 322280849Scy option_lib_text + 1146, option_lib_text + 1159, option_lib_text + 1185, 323280849Scy option_lib_text + 1211, option_lib_text + 1254, option_lib_text + 1290, 324280849Scy option_lib_text + 1335, option_lib_text + 1364, option_lib_text + 1407, 325280849Scy option_lib_text + 1490, option_lib_text + 1528, option_lib_text + 1574, 326280849Scy option_lib_text + 1619, option_lib_text + 1646, option_lib_text + 1695, 327280849Scy option_lib_text + 1744, option_lib_text + 1771, option_lib_text + 1804, 328280849Scy option_lib_text + 1840, option_lib_text + 1890, option_lib_text + 1908, 329280849Scy option_lib_text + 1962, option_lib_text + 2010, option_lib_text + 2057, 330280849Scy option_lib_text + 2097, option_lib_text + 2132, option_lib_text + 2157, 331280849Scy option_lib_text + 2173, option_lib_text + 2188, option_lib_text + 2194, 332280849Scy option_lib_text + 2243, option_lib_text + 2288, option_lib_text + 2344, 333280849Scy option_lib_text + 2373, option_lib_text + 2415, option_lib_text + 2457, 334280849Scy option_lib_text + 2483, option_lib_text + 2498, option_lib_text + 2528, 335280849Scy option_lib_text + 2554, option_lib_text + 2571, option_lib_text + 2618, 336280849Scy option_lib_text + 2649, option_lib_text + 2676, option_lib_text + 2779, 337280849Scy option_lib_text + 2885, option_lib_text + 2941, option_lib_text + 2975, 338280849Scy option_lib_text + 3018, option_lib_text + 3085, option_lib_text + 3118, 339280849Scy option_lib_text + 3143, option_lib_text + 3178, option_lib_text + 3216, 340280849Scy option_lib_text + 3224, option_lib_text + 3272, option_lib_text + 3306, 341280849Scy option_lib_text + 3325, option_lib_text + 3361, option_lib_text + 3397, 342280849Scy option_lib_text + 3453, option_lib_text + 3479, option_lib_text + 3506, 343280849Scy option_lib_text + 3519, option_lib_text + 3550, option_lib_text + 3564, 344280849Scy option_lib_text + 3601, option_lib_text + 3629, option_lib_text + 3635, 345280849Scy option_lib_text + 3681, option_lib_text + 3709, option_lib_text + 3775, 346280849Scy option_lib_text + 3801, option_lib_text + 3826, option_lib_text + 3866, 347280849Scy option_lib_text + 3909, option_lib_text + 4128, option_lib_text + 4161, 348280849Scy option_lib_text + 4198, option_lib_text + 4255 349280849Scy } }; 350280849Scy#endif /* AUTOOPTS_INTERNAL */ 351181834Sroberto 352280849Scy#ifdef XGETTEXT_SCAN_DO_NOT_COMPILE 353280849Scydo not compile this section. 354280849Scy/* TRANSLATORS: The following dummy functions were crated solely so that 355280849Scy * xgettext can extract the correct strings. These strings are actually 356280849Scy * referenced where the preceding "#line" directive states, though you will 357280849Scy * not see the literal string there. The literal string is defined above in 358280849Scy * the @code{option_lib_text} table and referenced via a #define name that 359280849Scy * redirects into the @code{option_xlateable_txt} structure above. When 360280849Scy * translating is activated, the pointers in @code{option_xlateable_txt} are 361280849Scy * updated to point to translated strings. 362280849Scy */ 363280849Scystatic void dummy_func(void) { 364280849Scy /* LIBOPTS-MESSAGES: */ 365280849Scy#line 67 "../autoopts.c" 366280849Scy puts(_("allocation of %d bytes failed\n")); 367280849Scy#line 93 "../autoopts.c" 368280849Scy puts(_("allocation of %d bytes failed\n")); 369280849Scy#line 53 "../init.c" 370280849Scy puts(_("AutoOpts function called without option descriptor\n")); 371285169Scy#line 86 "../init.c" 372280849Scy puts(_("\tThis exceeds the compiled library version: ")); 373285169Scy#line 84 "../init.c" 374280849Scy puts(_("Automated Options Processing Error!\n" 375280849Scy "\t%s called AutoOpts function with structure version %d:%d:%d.\n")); 376280849Scy#line 80 "../autoopts.c" 377280849Scy puts(_("realloc of %d bytes at 0x%p failed\n")); 378285169Scy#line 88 "../init.c" 379280849Scy puts(_("\tThis is less than the minimum library version: ")); 380280849Scy#line 121 "../version.c" 381280849Scy puts(_("Automated Options version %s\n" 382280849Scy "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n")); 383285169Scy#line 87 "../makeshell.c" 384280849Scy puts(_("(AutoOpts bug): %s.\n")); 385280849Scy#line 90 "../reset.c" 386280849Scy puts(_("optionResetOpt() called, but reset-option not configured")); 387280849Scy#line 292 "../usage.c" 388280849Scy puts(_("could not locate the 'help' option")); 389280849Scy#line 336 "../autoopts.c" 390280849Scy puts(_("optionProcess() was called with invalid data")); 391280849Scy#line 748 "../usage.c" 392280849Scy puts(_("invalid argument type specified")); 393280849Scy#line 598 "../find.c" 394280849Scy puts(_("defaulted to option with optional arg")); 395280849Scy#line 76 "../alias.c" 396280849Scy puts(_("aliasing option is out of range.")); 397280849Scy#line 234 "../enum.c" 398280849Scy puts(_("%s error: the keyword '%s' is ambiguous for %s\n")); 399280849Scy#line 108 "../find.c" 400280849Scy puts(_(" The following options match:\n")); 401280849Scy#line 293 "../find.c" 402280849Scy puts(_("%s: ambiguous option name: %s (matches %d options)\n")); 403280849Scy#line 161 "../check.c" 404280849Scy puts(_("%s: Command line arguments required\n")); 405280849Scy#line 43 "../alias.c" 406280849Scy puts(_("%d %s%s options allowed\n")); 407285169Scy#line 94 "../makeshell.c" 408280849Scy puts(_("%s error %d (%s) calling %s for '%s'\n")); 409285169Scy#line 306 "../makeshell.c" 410280849Scy puts(_("interprocess pipe")); 411280849Scy#line 168 "../version.c" 412280849Scy puts(_("error: version option argument '%c' invalid. Use:\n" 413280849Scy "\t'v' - version only\n" 414280849Scy "\t'c' - version and copyright\n" 415280849Scy "\t'n' - version and full copyright notice\n")); 416280849Scy#line 58 "../check.c" 417280849Scy puts(_("%s error: the '%s' and '%s' options conflict\n")); 418280849Scy#line 217 "../find.c" 419280849Scy puts(_("%s: The '%s' option has been disabled.")); 420280849Scy#line 430 "../find.c" 421280849Scy puts(_("%s: The '%s' option has been disabled.")); 422280849Scy#line 38 "../alias.c" 423280849Scy puts(_("-equivalence")); 424280849Scy#line 469 "../find.c" 425280849Scy puts(_("%s: illegal option -- %c\n")); 426280849Scy#line 110 "../reset.c" 427280849Scy puts(_("%s: illegal option -- %c\n")); 428280849Scy#line 271 "../find.c" 429280849Scy puts(_("%s: illegal option -- %s\n")); 430280849Scy#line 755 "../find.c" 431280849Scy puts(_("%s: illegal option -- %s\n")); 432280849Scy#line 118 "../reset.c" 433280849Scy puts(_("%s: illegal option -- %s\n")); 434280849Scy#line 335 "../find.c" 435280849Scy puts(_("%s: unknown vendor extension option -- %s\n")); 436280849Scy#line 159 "../enum.c" 437280849Scy puts(_(" or an integer from %d through %d\n")); 438280849Scy#line 169 "../enum.c" 439280849Scy puts(_(" or an integer from %d through %d\n")); 440280849Scy#line 747 "../usage.c" 441280849Scy puts(_("%s error: invalid option descriptor for %s\n")); 442280849Scy#line 1081 "../usage.c" 443280849Scy puts(_("%s error: invalid option descriptor for %s\n")); 444280849Scy#line 385 "../find.c" 445280849Scy puts(_("%s: invalid option name: %s\n")); 446280849Scy#line 527 "../find.c" 447280849Scy puts(_("%s: The '%s' option requires an argument.\n")); 448280849Scy#line 156 "../autoopts.c" 449280849Scy puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" 450280849Scy "\t'%s' and '%s'.")); 451280849Scy#line 94 "../check.c" 452280849Scy puts(_("%s error: The %s option is required\n")); 453280849Scy#line 632 "../find.c" 454280849Scy puts(_("%s: The '%s' option cannot have an argument.\n")); 455280849Scy#line 151 "../check.c" 456280849Scy puts(_("%s: Command line arguments are not allowed.\n")); 457280849Scy#line 535 "../save.c" 458280849Scy puts(_("error %d (%s) creating %s\n")); 459280849Scy#line 234 "../enum.c" 460280849Scy puts(_("%s error: '%s' does not match any %s keywords.\n")); 461280849Scy#line 93 "../reset.c" 462280849Scy puts(_("%s error: The '%s' option requires an argument.\n")); 463280849Scy#line 184 "../save.c" 464280849Scy puts(_("error %d (%s) stat-ing %s\n")); 465280849Scy#line 238 "../save.c" 466280849Scy puts(_("error %d (%s) stat-ing %s\n")); 467280849Scy#line 143 "../restore.c" 468280849Scy puts(_("%s error: no saved option state\n")); 469280849Scy#line 231 "../autoopts.c" 470280849Scy puts(_("'%s' is not a command line option.\n")); 471280849Scy#line 111 "../time.c" 472280849Scy puts(_("%s error: '%s' is not a recognizable date/time.\n")); 473280849Scy#line 132 "../save.c" 474280849Scy puts(_("'%s' not defined\n")); 475280849Scy#line 50 "../time.c" 476280849Scy puts(_("%s error: '%s' is not a recognizable time duration.\n")); 477280849Scy#line 92 "../check.c" 478280849Scy puts(_("%s error: The %s option must appear %d times.\n")); 479280849Scy#line 164 "../numeric.c" 480280849Scy puts(_("%s error: '%s' is not a recognizable number.\n")); 481280849Scy#line 200 "../enum.c" 482280849Scy puts(_("%s error: %s exceeds %s keyword count\n")); 483280849Scy#line 330 "../usage.c" 484280849Scy puts(_("Try '%s %s' for more information.\n")); 485280849Scy#line 45 "../alias.c" 486280849Scy puts(_("one %s%s option allowed\n")); 487285169Scy#line 208 "../makeshell.c" 488280849Scy puts(_("standard output")); 489285169Scy#line 943 "../makeshell.c" 490280849Scy puts(_("standard output")); 491280849Scy#line 274 "../usage.c" 492280849Scy puts(_("standard output")); 493280849Scy#line 415 "../usage.c" 494280849Scy puts(_("standard output")); 495280849Scy#line 625 "../usage.c" 496280849Scy puts(_("standard output")); 497280849Scy#line 175 "../version.c" 498280849Scy puts(_("standard output")); 499280849Scy#line 274 "../usage.c" 500280849Scy puts(_("standard error")); 501280849Scy#line 415 "../usage.c" 502280849Scy puts(_("standard error")); 503280849Scy#line 625 "../usage.c" 504280849Scy puts(_("standard error")); 505280849Scy#line 175 "../version.c" 506280849Scy puts(_("standard error")); 507285169Scy#line 208 "../makeshell.c" 508280849Scy puts(_("write")); 509285169Scy#line 943 "../makeshell.c" 510280849Scy puts(_("write")); 511280849Scy#line 273 "../usage.c" 512280849Scy puts(_("write")); 513280849Scy#line 414 "../usage.c" 514280849Scy puts(_("write")); 515280849Scy#line 624 "../usage.c" 516280849Scy puts(_("write")); 517280849Scy#line 174 "../version.c" 518280849Scy puts(_("write")); 519280849Scy#line 60 "../numeric.c" 520280849Scy puts(_("%s error: %s option value %ld is out of range.\n")); 521280849Scy#line 44 "../check.c" 522280849Scy puts(_("%s error: %s option requires the %s option\n")); 523280849Scy#line 131 "../save.c" 524280849Scy puts(_("%s warning: cannot save options - %s not regular file\n")); 525280849Scy#line 183 "../save.c" 526280849Scy puts(_("%s warning: cannot save options - %s not regular file\n")); 527280849Scy#line 237 "../save.c" 528280849Scy puts(_("%s warning: cannot save options - %s not regular file\n")); 529280849Scy#line 256 "../save.c" 530280849Scy puts(_("%s warning: cannot save options - %s not regular file\n")); 531280849Scy#line 534 "../save.c" 532280849Scy puts(_("%s warning: cannot save options - %s not regular file\n")); 533280849Scy /* END-LIBOPTS-MESSAGES */ 534181834Sroberto 535280849Scy /* USAGE-TEXT: */ 536280849Scy#line 873 "../usage.c" 537280849Scy puts(_("\t\t\t\t- an alternate for '%s'\n")); 538280849Scy#line 1148 "../usage.c" 539280849Scy puts(_("Version, usage and configuration options:")); 540280849Scy#line 924 "../usage.c" 541280849Scy puts(_("\t\t\t\t- default option for unnamed options\n")); 542280849Scy#line 837 "../usage.c" 543280849Scy puts(_("\t\t\t\t- disabled as '--%s'\n")); 544280849Scy#line 1117 "../usage.c" 545280849Scy puts(_(" --- %-14s %s\n")); 546280849Scy#line 1115 "../usage.c" 547280849Scy puts(_("This option has been disabled")); 548280849Scy#line 864 "../usage.c" 549280849Scy puts(_("\t\t\t\t- enabled by default\n")); 550280849Scy#line 40 "../alias.c" 551280849Scy puts(_("%s error: only ")); 552280849Scy#line 1194 "../usage.c" 553280849Scy puts(_(" - examining environment variables named %s_*\n")); 554280849Scy#line 168 "../file.c" 555280849Scy puts(_("\t\t\t\t- file must not pre-exist\n")); 556280849Scy#line 172 "../file.c" 557280849Scy puts(_("\t\t\t\t- file must pre-exist\n")); 558280849Scy#line 380 "../usage.c" 559280849Scy puts(_("Options are specified by doubled hyphens and their name or by a single\n" 560280849Scy "hyphen and the flag character.\n")); 561285169Scy#line 921 "../makeshell.c" 562280849Scy puts(_("\n" 563280849Scy "= = = = = = = =\n\n" 564280849Scy "This incarnation of genshell will produce\n" 565280849Scy "a shell script to parse the options for %s:\n\n")); 566280849Scy#line 166 "../enum.c" 567280849Scy puts(_(" or an integer mask with any of the lower %d bits set\n")); 568280849Scy#line 897 "../usage.c" 569280849Scy puts(_("\t\t\t\t- is a set membership option\n")); 570280849Scy#line 918 "../usage.c" 571280849Scy puts(_("\t\t\t\t- must appear between %d and %d times\n")); 572280849Scy#line 382 "../usage.c" 573280849Scy puts(_("Options are specified by single or double hyphens and their name.\n")); 574280849Scy#line 904 "../usage.c" 575280849Scy puts(_("\t\t\t\t- may appear multiple times\n")); 576280849Scy#line 891 "../usage.c" 577280849Scy puts(_("\t\t\t\t- may not be preset\n")); 578280849Scy#line 1309 "../usage.c" 579280849Scy puts(_(" Arg Option-Name Description\n")); 580280849Scy#line 1245 "../usage.c" 581280849Scy puts(_(" Flg Arg Option-Name Description\n")); 582280849Scy#line 1303 "../usage.c" 583280849Scy puts(_(" Flg Arg Option-Name Description\n")); 584280849Scy#line 1304 "../usage.c" 585280849Scy puts(_(" %3s %s")); 586280849Scy#line 1310 "../usage.c" 587280849Scy puts(_(" %3s %s")); 588280849Scy#line 387 "../usage.c" 589280849Scy puts(_("The '-#<number>' option may omit the hash char\n")); 590280849Scy#line 383 "../usage.c" 591280849Scy puts(_("All arguments are named options.\n")); 592280849Scy#line 971 "../usage.c" 593280849Scy puts(_(" - reading file %s")); 594280849Scy#line 409 "../usage.c" 595280849Scy puts(_("\n" 596280849Scy "Please send bug reports to: <%s>\n")); 597280849Scy#line 100 "../version.c" 598280849Scy puts(_("\n" 599280849Scy "Please send bug reports to: <%s>\n")); 600280849Scy#line 129 "../version.c" 601280849Scy puts(_("\n" 602280849Scy "Please send bug reports to: <%s>\n")); 603280849Scy#line 903 "../usage.c" 604280849Scy puts(_("\t\t\t\t- may NOT appear - preset only\n")); 605280849Scy#line 944 "../usage.c" 606280849Scy puts(_("\n" 607280849Scy "The following option preset mechanisms are supported:\n")); 608280849Scy#line 1192 "../usage.c" 609280849Scy puts(_("\n" 610280849Scy "The following option preset mechanisms are supported:\n")); 611280849Scy#line 682 "../usage.c" 612280849Scy puts(_("prohibits these options:\n")); 613280849Scy#line 677 "../usage.c" 614280849Scy puts(_("prohibits the option '%s'\n")); 615280849Scy#line 81 "../numeric.c" 616280849Scy puts(_("%s%ld to %ld")); 617280849Scy#line 79 "../numeric.c" 618280849Scy puts(_("%sgreater than or equal to %ld")); 619280849Scy#line 75 "../numeric.c" 620280849Scy puts(_("%s%ld exactly")); 621280849Scy#line 68 "../numeric.c" 622280849Scy puts(_("%sit must lie in one of the ranges:\n")); 623280849Scy#line 68 "../numeric.c" 624280849Scy puts(_("%sit must be in the range:\n")); 625280849Scy#line 88 "../numeric.c" 626280849Scy puts(_(", or\n")); 627280849Scy#line 66 "../numeric.c" 628280849Scy puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n")); 629280849Scy#line 77 "../numeric.c" 630280849Scy puts(_("%sless than or equal to %ld")); 631280849Scy#line 390 "../usage.c" 632280849Scy puts(_("Operands and options may be intermixed. They will be reordered.\n")); 633280849Scy#line 652 "../usage.c" 634280849Scy puts(_("requires the option '%s'\n")); 635280849Scy#line 655 "../usage.c" 636280849Scy puts(_("requires these options:\n")); 637280849Scy#line 1321 "../usage.c" 638280849Scy puts(_(" Arg Option-Name Req? Description\n")); 639280849Scy#line 1315 "../usage.c" 640280849Scy puts(_(" Flg Arg Option-Name Req? Description\n")); 641280849Scy#line 167 "../enum.c" 642280849Scy puts(_("or you may use a numeric representation. Preceding these with a '!'\n" 643280849Scy "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" 644280849Scy "will set them all. Multiple entries may be passed as an option\n" 645280849Scy "argument list.\n")); 646280849Scy#line 910 "../usage.c" 647280849Scy puts(_("\t\t\t\t- may appear up to %d times\n")); 648280849Scy#line 77 "../enum.c" 649280849Scy puts(_("The valid \"%s\" option keywords are:\n")); 650280849Scy#line 1152 "../usage.c" 651280849Scy puts(_("The next option supports vendor supported extra options:")); 652280849Scy#line 773 "../usage.c" 653280849Scy puts(_("These additional options are:")); 654280849Scy /* END-USAGE-TEXT */ 655280849Scy} 656280849Scy#endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */ 657181834Sroberto#endif /* AUTOOPTS_USAGE_TXT_H_GUARD */ 658