1290001Sglebius/* -*- buffer-read-only: t -*- vi: set ro: 2181834Sroberto * 3290001Sglebius * DO NOT EDIT THIS FILE (usage-txt.h) 4290001Sglebius * 5290001Sglebius * It has been AutoGen-ed 6290001Sglebius * From the definitions usage-txt.def 7290001Sglebius * and the template file usage-txt.tpl 8290001Sglebius * 9290001Sglebius * This file is part of AutoOpts, a companion to AutoGen. 10290001Sglebius * AutoOpts is free software. 11290001Sglebius * AutoOpts is Copyright (C) 1992-2015 by Bruce Korb - all rights reserved 12290001Sglebius * 13290001Sglebius * AutoOpts is available under any one of two licenses. The license 14290001Sglebius * in use must be one of these two and the choice is under the control 15290001Sglebius * of the user of the license. 16290001Sglebius * 17290001Sglebius * The GNU Lesser General Public License, version 3 or later 18290001Sglebius * See the files "COPYING.lgplv3" and "COPYING.gplv3" 19290001Sglebius * 20290001Sglebius * The Modified Berkeley Software Distribution License 21290001Sglebius * See the file "COPYING.mbsd" 22290001Sglebius * 23290001Sglebius * These files have the following sha256 sums: 24290001Sglebius * 25290001Sglebius * 8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95 COPYING.gplv3 26290001Sglebius * 4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b COPYING.lgplv3 27290001Sglebius * 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.mbsd 28290001Sglebius */ 29290001Sglebius/** @file usage-txt.h 30290001Sglebius * 31181834Sroberto * This file handles all the bookkeeping required for tracking all the little 32290001Sglebius * 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 39290001Sglebius#define AUTOOPTS_USAGE_TXT_H_GUARD 1 40181834Sroberto 41181834Sroberto/* 42290001Sglebius * One structure to hold all the pointers to all the translatable strings. 43181834Sroberto */ 44181834Srobertotypedef struct { 45290001Sglebius int field_ct; 46290001Sglebius char * utpz_GnuBoolArg; 47290001Sglebius char * utpz_GnuKeyArg; 48290001Sglebius char * utpz_GnuNumArg; 49290001Sglebius char * utpz_GnuStrArg; 50290001Sglebius char const * apz_str[104]; 51181834Sroberto} usage_text_t; 52181834Sroberto 53181834Sroberto/* 54290001Sglebius * Declare the global structure with all the pointers to translatable 55290001Sglebius * strings and the text array containing untranslatable strings. 56181834Sroberto */ 57290001Sglebiusextern usage_text_t option_xlateable_txt; 58290001Sglebiusextern char const option_lib_text[4285]; 59181834Sroberto 60290001Sglebius#if defined(AUTOOPTS_INTERNAL) 61181834Sroberto/* 62290001Sglebius * Provide a mapping from a short name to either the text directly 63290001Sglebius * (for untranslatable strings), or to pointers to the text, rendering 64290001Sglebius * them translatable. 65181834Sroberto */ 66290001Sglebius#define zalloc_fail (option_xlateable_txt.apz_str[ 0]) 67290001Sglebius#define zno_opt_arg (option_xlateable_txt.apz_str[ 1]) 68290001Sglebius#define ztoo_new (option_xlateable_txt.apz_str[ 2]) 69290001Sglebius#define zwrong_ver (option_xlateable_txt.apz_str[ 3]) 70290001Sglebius#define zrealloc_fail (option_xlateable_txt.apz_str[ 4]) 71290001Sglebius#define ztoo_old (option_xlateable_txt.apz_str[ 5]) 72290001Sglebius#define zao_ver_fmt (option_xlateable_txt.apz_str[ 6]) 73290001Sglebius#define zao_bug_msg (option_xlateable_txt.apz_str[ 7]) 74290001Sglebius#define zno_reset (option_xlateable_txt.apz_str[ 8]) 75290001Sglebius#define zmissing_help_msg (option_xlateable_txt.apz_str[ 9]) 76290001Sglebius#define zbad_data_msg (option_xlateable_txt.apz_str[ 10]) 77290001Sglebius#define zbad_arg_type_msg (option_xlateable_txt.apz_str[ 11]) 78290001Sglebius#define zbad_default_msg (option_xlateable_txt.apz_str[ 12]) 79290001Sglebius#define zbad_alias_id (option_xlateable_txt.apz_str[ 13]) 80290001Sglebius#define zambiguous_key (option_xlateable_txt.apz_str[ 14]) 81290001Sglebius#define zambig_list_msg (option_xlateable_txt.apz_str[ 15]) 82290001Sglebius#define zambig_opt_fmt (option_xlateable_txt.apz_str[ 16]) 83290001Sglebius#define zargs_must (option_xlateable_txt.apz_str[ 17]) 84290001Sglebius#define zat_most (option_xlateable_txt.apz_str[ 18]) 85290001Sglebius#define zfserr_fmt (option_xlateable_txt.apz_str[ 19]) 86290001Sglebius#define zinter_proc_pipe (option_xlateable_txt.apz_str[ 20]) 87290001Sglebius#define zBadVerArg (option_xlateable_txt.apz_str[ 21]) 88290001Sglebius#define zconflict_fmt (option_xlateable_txt.apz_str[ 22]) 89290001Sglebius#define zDisabledErr (option_xlateable_txt.apz_str[ 23]) 90290001Sglebius#define zequiv (option_xlateable_txt.apz_str[ 24]) 91290001Sglebius#define zGnuBoolArg (option_xlateable_txt.utpz_GnuBoolArg) 92290001Sglebius#define zGnuKeyArg (option_xlateable_txt.utpz_GnuKeyArg) 93290001Sglebius#define zGnuNumArg (option_xlateable_txt.utpz_GnuNumArg) 94290001Sglebius#define zGnuStrArg (option_xlateable_txt.utpz_GnuStrArg) 95290001Sglebius#define zIllOptChr (option_xlateable_txt.apz_str[ 25]) 96290001Sglebius#define zIllOptStr (option_xlateable_txt.apz_str[ 26]) 97290001Sglebius#define zIllVendOptStr (option_xlateable_txt.apz_str[ 27]) 98290001Sglebius#define zIntRange (option_xlateable_txt.apz_str[ 28]) 99290001Sglebius#define zbad_od (option_xlateable_txt.apz_str[ 29]) 100290001Sglebius#define zInvalOptName (option_xlateable_txt.apz_str[ 30]) 101290001Sglebius#define zMisArg (option_xlateable_txt.apz_str[ 31]) 102290001Sglebius#define zmultiway_bug (option_xlateable_txt.apz_str[ 32]) 103290001Sglebius#define zneed_one (option_xlateable_txt.apz_str[ 33]) 104290001Sglebius#define zNoArg (option_xlateable_txt.apz_str[ 34]) 105290001Sglebius#define zNoArgs (option_xlateable_txt.apz_str[ 35]) 106290001Sglebius#define zNoCreat (option_xlateable_txt.apz_str[ 36]) 107290001Sglebius#define zNoKey (option_xlateable_txt.apz_str[ 37]) 108290001Sglebius#define zreset_arg (option_xlateable_txt.apz_str[ 38]) 109290001Sglebius#define zNoStat (option_xlateable_txt.apz_str[ 39]) 110290001Sglebius#define zNoState (option_xlateable_txt.apz_str[ 40]) 111290001Sglebius#define zNotCmdOpt (option_xlateable_txt.apz_str[ 41]) 112290001Sglebius#define zNotDate (option_xlateable_txt.apz_str[ 42]) 113290001Sglebius#define zNotDef (option_xlateable_txt.apz_str[ 43]) 114290001Sglebius#define zNotDuration (option_xlateable_txt.apz_str[ 44]) 115290001Sglebius#define zneed_more (option_xlateable_txt.apz_str[ 45]) 116290001Sglebius#define zNotNumber (option_xlateable_txt.apz_str[ 46]) 117290001Sglebius#define znum_too_large (option_xlateable_txt.apz_str[ 47]) 118290001Sglebius#define zoffer_usage_fmt (option_xlateable_txt.apz_str[ 48]) 119290001Sglebius#define zonly_one (option_xlateable_txt.apz_str[ 49]) 120290001Sglebius#define zstdout_name (option_xlateable_txt.apz_str[ 50]) 121290001Sglebius#define zstderr_name (option_xlateable_txt.apz_str[ 51]) 122290001Sglebius#define zwriting (option_xlateable_txt.apz_str[ 52]) 123290001Sglebius#define zRangeErr (option_xlateable_txt.apz_str[ 53]) 124290001Sglebius#define zneed_fmt (option_xlateable_txt.apz_str[ 54]) 125290001Sglebius#define zsave_warn (option_xlateable_txt.apz_str[ 55]) 126290001Sglebius#define zalt_opt (option_xlateable_txt.apz_str[ 56]) 127290001Sglebius#define zAuto (option_xlateable_txt.apz_str[ 57]) 128290001Sglebius#define zDefaultOpt (option_xlateable_txt.apz_str[ 58]) 129290001Sglebius#define zDis (option_xlateable_txt.apz_str[ 59]) 130290001Sglebius#define zDisabledOpt (option_xlateable_txt.apz_str[ 60]) 131290001Sglebius#define zDisabledWhy (option_xlateable_txt.apz_str[ 61]) 132290001Sglebius#define zEnab (option_xlateable_txt.apz_str[ 62]) 133290001Sglebius#define ztoo_often_fmt (option_xlateable_txt.apz_str[ 63]) 134290001Sglebius#define zExamineFmt (option_xlateable_txt.apz_str[ 64]) 135290001Sglebius#define zFileCannotExist (option_xlateable_txt.apz_str[ 65]) 136290001Sglebius#define zFileMustExist (option_xlateable_txt.apz_str[ 66]) 137290001Sglebius#define zFlagOkay (option_xlateable_txt.apz_str[ 67]) 138290001Sglebius#define zGenshell (option_xlateable_txt.apz_str[ 68]) 139290001Sglebius#define zLowerBits (option_xlateable_txt.apz_str[ 69]) 140290001Sglebius#define zMembers (option_xlateable_txt.apz_str[ 70]) 141290001Sglebius#define zMust (option_xlateable_txt.apz_str[ 71]) 142290001Sglebius#define zNoFlags (option_xlateable_txt.apz_str[ 72]) 143290001Sglebius#define zNoLim (option_xlateable_txt.apz_str[ 73]) 144290001Sglebius#define zNoPreset (option_xlateable_txt.apz_str[ 74]) 145290001Sglebius#define zNoRq_NoShrtTtl (option_xlateable_txt.apz_str[ 75]) 146290001Sglebius#define zNoRq_ShrtTtl (option_xlateable_txt.apz_str[ 76]) 147290001Sglebius#define zNrmOptFmt (option_xlateable_txt.apz_str[ 77]) 148290001Sglebius#define zNumberOpt (option_xlateable_txt.apz_str[ 78]) 149290001Sglebius#define zOptsOnly (option_xlateable_txt.apz_str[ 79]) 150290001Sglebius#define zPathFmt (option_xlateable_txt.apz_str[ 80]) 151290001Sglebius#define zPlsSendBugs (option_xlateable_txt.apz_str[ 81]) 152290001Sglebius#define zPreset (option_xlateable_txt.apz_str[ 82]) 153290001Sglebius#define zPresetIntro (option_xlateable_txt.apz_str[ 83]) 154290001Sglebius#define zProhib (option_xlateable_txt.apz_str[ 84]) 155290001Sglebius#define zProhibOne (option_xlateable_txt.apz_str[ 85]) 156290001Sglebius#define zRange (option_xlateable_txt.apz_str[ 86]) 157290001Sglebius#define zRangeAbove (option_xlateable_txt.apz_str[ 87]) 158290001Sglebius#define zRangeExact (option_xlateable_txt.apz_str[ 88]) 159290001Sglebius#define zRangeLie (option_xlateable_txt.apz_str[ 89]) 160290001Sglebius#define zRangeOnly (option_xlateable_txt.apz_str[ 90]) 161290001Sglebius#define zRangeOr (option_xlateable_txt.apz_str[ 91]) 162290001Sglebius#define zRangeScaled (option_xlateable_txt.apz_str[ 92]) 163290001Sglebius#define zRangeUpto (option_xlateable_txt.apz_str[ 93]) 164290001Sglebius#define zReorder (option_xlateable_txt.apz_str[ 94]) 165290001Sglebius#define zReqOne (option_xlateable_txt.apz_str[ 95]) 166290001Sglebius#define zReqThese (option_xlateable_txt.apz_str[ 96]) 167290001Sglebius#define zReq_NoShrtTtl (option_xlateable_txt.apz_str[ 97]) 168290001Sglebius#define zReq_ShrtTtl (option_xlateable_txt.apz_str[ 98]) 169290001Sglebius#define zSetMemberSettings (option_xlateable_txt.apz_str[ 99]) 170290001Sglebius#define zUpTo (option_xlateable_txt.apz_str[100]) 171290001Sglebius#define zValidKeys (option_xlateable_txt.apz_str[101]) 172290001Sglebius#define zVendIntro (option_xlateable_txt.apz_str[102]) 173290001Sglebius#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 */ 180290001Sglebiusstatic char eng_zGnuBoolArg[] = "=T/F"; 181290001Sglebiusstatic char eng_zGnuKeyArg[] = "=KWd"; 182290001Sglebiusstatic char eng_zGnuNumArg[] = "=num"; 183290001Sglebiusstatic char eng_zGnuStrArg[] = "=str"; 184290001Sglebiuschar const option_lib_text[4285] = 185290001Sglebius/* 0 */ "allocation of %d bytes failed\n\0" 186290001Sglebius/* 31 */ "AutoOpts function called without option descriptor\n\0" 187290001Sglebius/* 83 */ "\tThis exceeds the compiled library version: \0" 188290001Sglebius/* 129 */ "Automated Options Processing Error!\n" 189290001Sglebius "\t%s called AutoOpts function with structure version %d:%d:%d.\n\0" 190290001Sglebius/* 228 */ "realloc of %d bytes at 0x%p failed\n\0" 191290001Sglebius/* 264 */ "\tThis is less than the minimum library version: \0" 192290001Sglebius/* 314 */ "Automated Options version %s\n" 193290001Sglebius "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n\0" 194290001Sglebius/* 405 */ "(AutoOpts bug): %s.\n\0" 195290001Sglebius/* 427 */ "optionResetOpt() called, but reset-option not configured\0" 196290001Sglebius/* 484 */ "could not locate the 'help' option\0" 197290001Sglebius/* 519 */ "optionProcess() was called with invalid data\0" 198290001Sglebius/* 564 */ "invalid argument type specified\0" 199290001Sglebius/* 596 */ "defaulted to option with optional arg\0" 200290001Sglebius/* 634 */ "aliasing option is out of range.\0" 201290001Sglebius/* 667 */ "%s error: the keyword '%s' is ambiguous for %s\n\0" 202290001Sglebius/* 716 */ " The following options match:\n\0" 203290001Sglebius/* 748 */ "%s: ambiguous option name: %s (matches %d options)\n\0" 204290001Sglebius/* 800 */ "%s: Command line arguments required\n\0" 205290001Sglebius/* 837 */ "%d %s%s options allowed\n\0" 206290001Sglebius/* 862 */ "%s error %d (%s) calling %s for '%s'\n\0" 207290001Sglebius/* 900 */ "interprocess pipe\0" 208290001Sglebius/* 918 */ "error: version option argument '%c' invalid. Use:\n" 209290001Sglebius "\t'v' - version only\n" 210290001Sglebius "\t'c' - version and copyright\n" 211290001Sglebius "\t'n' - version and full copyright notice\n\0" 212290001Sglebius/* 1060 */ "%s error: the '%s' and '%s' options conflict\n\0" 213290001Sglebius/* 1107 */ "%s: The '%s' option has been disabled.\0" 214290001Sglebius/* 1146 */ "-equivalence\0" 215290001Sglebius/* 1159 */ "%s: illegal option -- %c\n\0" 216290001Sglebius/* 1185 */ "%s: illegal option -- %s\n\0" 217290001Sglebius/* 1211 */ "%s: unknown vendor extension option -- %s\n\0" 218290001Sglebius/* 1254 */ " or an integer from %d through %d\n\0" 219290001Sglebius/* 1290 */ "%s error: invalid option descriptor for %s\n\0" 220290001Sglebius/* 1335 */ "%s: invalid option name: %s\n\0" 221290001Sglebius/* 1364 */ "%s: The '%s' option requires an argument.\n\0" 222290001Sglebius/* 1407 */ "(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" 223290001Sglebius "\t'%s' and '%s'.\0" 224290001Sglebius/* 1490 */ "%s error: The %s option is required\n\0" 225290001Sglebius/* 1528 */ "%s: The '%s' option cannot have an argument.\n\0" 226290001Sglebius/* 1574 */ "%s: Command line arguments are not allowed.\n\0" 227290001Sglebius/* 1619 */ "error %d (%s) creating %s\n\0" 228290001Sglebius/* 1646 */ "%s error: '%s' does not match any %s keywords.\n\0" 229290001Sglebius/* 1695 */ "%s error: The '%s' option requires an argument.\n\0" 230290001Sglebius/* 1744 */ "error %d (%s) stat-ing %s\n\0" 231290001Sglebius/* 1771 */ "%s error: no saved option state\n\0" 232290001Sglebius/* 1804 */ "'%s' is not a command line option.\n\0" 233290001Sglebius/* 1840 */ "%s error: '%s' is not a recognizable date/time.\n\0" 234290001Sglebius/* 1890 */ "'%s' not defined\n\0" 235290001Sglebius/* 1908 */ "%s error: '%s' is not a recognizable time duration.\n\0" 236290001Sglebius/* 1962 */ "%s error: The %s option must appear %d times.\n\0" 237290001Sglebius/* 2010 */ "%s error: '%s' is not a recognizable number.\n\0" 238290001Sglebius/* 2057 */ "%s error: %s exceeds %s keyword count\n\0" 239290001Sglebius/* 2097 */ "Try '%s %s' for more information.\n\0" 240290001Sglebius/* 2132 */ "one %s%s option allowed\n\0" 241290001Sglebius/* 2157 */ "standard output\0" 242290001Sglebius/* 2173 */ "standard error\0" 243290001Sglebius/* 2188 */ "write\0" 244290001Sglebius/* 2194 */ "%s error: %s option value %ld is out of range.\n\0" 245290001Sglebius/* 2243 */ "%s error: %s option requires the %s option\n\0" 246290001Sglebius/* 2288 */ "%s warning: cannot save options - %s not regular file\n\0" 247290001Sglebius/* 2344 */ "\t\t\t\t- an alternate for '%s'\n\0" 248290001Sglebius/* 2373 */ "Version, usage and configuration options:\0" 249290001Sglebius/* 2415 */ "\t\t\t\t- default option for unnamed options\n\0" 250290001Sglebius/* 2457 */ "\t\t\t\t- disabled as '--%s'\n\0" 251290001Sglebius/* 2483 */ " --- %-14s %s\n\0" 252290001Sglebius/* 2498 */ "This option has been disabled\0" 253290001Sglebius/* 2528 */ "\t\t\t\t- enabled by default\n\0" 254290001Sglebius/* 2554 */ "%s error: only \0" 255290001Sglebius/* 2571 */ " - examining environment variables named %s_*\n\0" 256290001Sglebius/* 2618 */ "\t\t\t\t- file must not pre-exist\n\0" 257290001Sglebius/* 2649 */ "\t\t\t\t- file must pre-exist\n\0" 258290001Sglebius/* 2676 */ "Options are specified by doubled hyphens and their name or by a single\n" 259290001Sglebius "hyphen and the flag character.\n\0" 260290001Sglebius/* 2779 */ "\n" 261290001Sglebius "= = = = = = = =\n\n" 262290001Sglebius "This incarnation of genshell will produce\n" 263290001Sglebius "a shell script to parse the options for %s:\n\n\0" 264290001Sglebius/* 2885 */ " or an integer mask with any of the lower %d bits set\n\0" 265290001Sglebius/* 2941 */ "\t\t\t\t- is a set membership option\n\0" 266290001Sglebius/* 2975 */ "\t\t\t\t- must appear between %d and %d times\n\0" 267290001Sglebius/* 3018 */ "Options are specified by single or double hyphens and their name.\n\0" 268290001Sglebius/* 3085 */ "\t\t\t\t- may appear multiple times\n\0" 269290001Sglebius/* 3118 */ "\t\t\t\t- may not be preset\n\0" 270290001Sglebius/* 3143 */ " Arg Option-Name Description\n\0" 271290001Sglebius/* 3178 */ " Flg Arg Option-Name Description\n\0" 272290001Sglebius/* 3216 */ " %3s %s\0" 273290001Sglebius/* 3224 */ "The '-#<number>' option may omit the hash char\n\0" 274290001Sglebius/* 3272 */ "All arguments are named options.\n\0" 275290001Sglebius/* 3306 */ " - reading file %s\0" 276290001Sglebius/* 3325 */ "\n" 277290001Sglebius "Please send bug reports to: <%s>\n\0" 278290001Sglebius/* 3361 */ "\t\t\t\t- may NOT appear - preset only\n\0" 279290001Sglebius/* 3397 */ "\n" 280290001Sglebius "The following option preset mechanisms are supported:\n\0" 281290001Sglebius/* 3453 */ "prohibits these options:\n\0" 282290001Sglebius/* 3479 */ "prohibits the option '%s'\n\0" 283290001Sglebius/* 3506 */ "%s%ld to %ld\0" 284290001Sglebius/* 3519 */ "%sgreater than or equal to %ld\0" 285290001Sglebius/* 3550 */ "%s%ld exactly\0" 286290001Sglebius/* 3564 */ "%sit must lie in one of the ranges:\n\0" 287290001Sglebius/* 3601 */ "%sit must be in the range:\n\0" 288290001Sglebius/* 3629 */ ", or\n\0" 289290001Sglebius/* 3635 */ "%sis scalable with a suffix: k/K/m/M/g/G/t/T\n\0" 290290001Sglebius/* 3681 */ "%sless than or equal to %ld\0" 291290001Sglebius/* 3709 */ "Operands and options may be intermixed. They will be reordered.\n\0" 292290001Sglebius/* 3775 */ "requires the option '%s'\n\0" 293290001Sglebius/* 3801 */ "requires these options:\n\0" 294290001Sglebius/* 3826 */ " Arg Option-Name Req? Description\n\0" 295290001Sglebius/* 3866 */ " Flg Arg Option-Name Req? Description\n\0" 296290001Sglebius/* 3909 */ "or you may use a numeric representation. Preceding these with a '!'\n" 297290001Sglebius "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" 298290001Sglebius "will set them all. Multiple entries may be passed as an option\n" 299290001Sglebius "argument list.\n\0" 300290001Sglebius/* 4128 */ "\t\t\t\t- may appear up to %d times\n\0" 301290001Sglebius/* 4161 */ "The valid \"%s\" option keywords are:\n\0" 302290001Sglebius/* 4198 */ "The next option supports vendor supported extra options:\0" 303290001Sglebius/* 4255 */ "These additional options are:"; 304181834Sroberto 305290001Sglebius/* 306290001Sglebius * Now, define (and initialize) the structure that contains 307290001Sglebius * the pointers to all these strings. 308290001Sglebius * Aren't you glad you don't maintain this by hand? 309290001Sglebius */ 310290001Sglebiususage_text_t option_xlateable_txt = { 311290001Sglebius 108, 312290001Sglebius eng_zGnuBoolArg, eng_zGnuKeyArg, eng_zGnuNumArg, eng_zGnuStrArg, 313290001Sglebius { 314290001Sglebius option_lib_text + 0, option_lib_text + 31, option_lib_text + 83, 315290001Sglebius option_lib_text + 129, option_lib_text + 228, option_lib_text + 264, 316290001Sglebius option_lib_text + 314, option_lib_text + 405, option_lib_text + 427, 317290001Sglebius option_lib_text + 484, option_lib_text + 519, option_lib_text + 564, 318290001Sglebius option_lib_text + 596, option_lib_text + 634, option_lib_text + 667, 319290001Sglebius option_lib_text + 716, option_lib_text + 748, option_lib_text + 800, 320290001Sglebius option_lib_text + 837, option_lib_text + 862, option_lib_text + 900, 321290001Sglebius option_lib_text + 918, option_lib_text + 1060, option_lib_text + 1107, 322290001Sglebius option_lib_text + 1146, option_lib_text + 1159, option_lib_text + 1185, 323290001Sglebius option_lib_text + 1211, option_lib_text + 1254, option_lib_text + 1290, 324290001Sglebius option_lib_text + 1335, option_lib_text + 1364, option_lib_text + 1407, 325290001Sglebius option_lib_text + 1490, option_lib_text + 1528, option_lib_text + 1574, 326290001Sglebius option_lib_text + 1619, option_lib_text + 1646, option_lib_text + 1695, 327290001Sglebius option_lib_text + 1744, option_lib_text + 1771, option_lib_text + 1804, 328290001Sglebius option_lib_text + 1840, option_lib_text + 1890, option_lib_text + 1908, 329290001Sglebius option_lib_text + 1962, option_lib_text + 2010, option_lib_text + 2057, 330290001Sglebius option_lib_text + 2097, option_lib_text + 2132, option_lib_text + 2157, 331290001Sglebius option_lib_text + 2173, option_lib_text + 2188, option_lib_text + 2194, 332290001Sglebius option_lib_text + 2243, option_lib_text + 2288, option_lib_text + 2344, 333290001Sglebius option_lib_text + 2373, option_lib_text + 2415, option_lib_text + 2457, 334290001Sglebius option_lib_text + 2483, option_lib_text + 2498, option_lib_text + 2528, 335290001Sglebius option_lib_text + 2554, option_lib_text + 2571, option_lib_text + 2618, 336290001Sglebius option_lib_text + 2649, option_lib_text + 2676, option_lib_text + 2779, 337290001Sglebius option_lib_text + 2885, option_lib_text + 2941, option_lib_text + 2975, 338290001Sglebius option_lib_text + 3018, option_lib_text + 3085, option_lib_text + 3118, 339290001Sglebius option_lib_text + 3143, option_lib_text + 3178, option_lib_text + 3216, 340290001Sglebius option_lib_text + 3224, option_lib_text + 3272, option_lib_text + 3306, 341290001Sglebius option_lib_text + 3325, option_lib_text + 3361, option_lib_text + 3397, 342290001Sglebius option_lib_text + 3453, option_lib_text + 3479, option_lib_text + 3506, 343290001Sglebius option_lib_text + 3519, option_lib_text + 3550, option_lib_text + 3564, 344290001Sglebius option_lib_text + 3601, option_lib_text + 3629, option_lib_text + 3635, 345290001Sglebius option_lib_text + 3681, option_lib_text + 3709, option_lib_text + 3775, 346290001Sglebius option_lib_text + 3801, option_lib_text + 3826, option_lib_text + 3866, 347290001Sglebius option_lib_text + 3909, option_lib_text + 4128, option_lib_text + 4161, 348290001Sglebius option_lib_text + 4198, option_lib_text + 4255 349290001Sglebius } }; 350290001Sglebius#endif /* AUTOOPTS_INTERNAL */ 351181834Sroberto 352290001Sglebius#ifdef XGETTEXT_SCAN_DO_NOT_COMPILE 353290001Sglebiusdo not compile this section. 354290001Sglebius/* TRANSLATORS: The following dummy functions were crated solely so that 355290001Sglebius * xgettext can extract the correct strings. These strings are actually 356290001Sglebius * referenced where the preceding "#line" directive states, though you will 357290001Sglebius * not see the literal string there. The literal string is defined above in 358290001Sglebius * the @code{option_lib_text} table and referenced via a #define name that 359290001Sglebius * redirects into the @code{option_xlateable_txt} structure above. When 360290001Sglebius * translating is activated, the pointers in @code{option_xlateable_txt} are 361290001Sglebius * updated to point to translated strings. 362290001Sglebius */ 363290001Sglebiusstatic void dummy_func(void) { 364290001Sglebius /* LIBOPTS-MESSAGES: */ 365290001Sglebius#line 67 "../autoopts.c" 366290001Sglebius puts(_("allocation of %d bytes failed\n")); 367290001Sglebius#line 93 "../autoopts.c" 368290001Sglebius puts(_("allocation of %d bytes failed\n")); 369290001Sglebius#line 53 "../init.c" 370290001Sglebius puts(_("AutoOpts function called without option descriptor\n")); 371290001Sglebius#line 86 "../init.c" 372290001Sglebius puts(_("\tThis exceeds the compiled library version: ")); 373290001Sglebius#line 84 "../init.c" 374290001Sglebius puts(_("Automated Options Processing Error!\n" 375290001Sglebius "\t%s called AutoOpts function with structure version %d:%d:%d.\n")); 376290001Sglebius#line 80 "../autoopts.c" 377290001Sglebius puts(_("realloc of %d bytes at 0x%p failed\n")); 378290001Sglebius#line 88 "../init.c" 379290001Sglebius puts(_("\tThis is less than the minimum library version: ")); 380290001Sglebius#line 121 "../version.c" 381290001Sglebius puts(_("Automated Options version %s\n" 382290001Sglebius "\tCopyright (C) 1999-2014 by Bruce Korb - all rights reserved\n")); 383290001Sglebius#line 87 "../makeshell.c" 384290001Sglebius puts(_("(AutoOpts bug): %s.\n")); 385290001Sglebius#line 90 "../reset.c" 386290001Sglebius puts(_("optionResetOpt() called, but reset-option not configured")); 387290001Sglebius#line 292 "../usage.c" 388290001Sglebius puts(_("could not locate the 'help' option")); 389290001Sglebius#line 336 "../autoopts.c" 390290001Sglebius puts(_("optionProcess() was called with invalid data")); 391290001Sglebius#line 748 "../usage.c" 392290001Sglebius puts(_("invalid argument type specified")); 393290001Sglebius#line 598 "../find.c" 394290001Sglebius puts(_("defaulted to option with optional arg")); 395290001Sglebius#line 76 "../alias.c" 396290001Sglebius puts(_("aliasing option is out of range.")); 397290001Sglebius#line 234 "../enum.c" 398290001Sglebius puts(_("%s error: the keyword '%s' is ambiguous for %s\n")); 399290001Sglebius#line 108 "../find.c" 400290001Sglebius puts(_(" The following options match:\n")); 401290001Sglebius#line 293 "../find.c" 402290001Sglebius puts(_("%s: ambiguous option name: %s (matches %d options)\n")); 403290001Sglebius#line 161 "../check.c" 404290001Sglebius puts(_("%s: Command line arguments required\n")); 405290001Sglebius#line 43 "../alias.c" 406290001Sglebius puts(_("%d %s%s options allowed\n")); 407290001Sglebius#line 94 "../makeshell.c" 408290001Sglebius puts(_("%s error %d (%s) calling %s for '%s'\n")); 409290001Sglebius#line 306 "../makeshell.c" 410290001Sglebius puts(_("interprocess pipe")); 411290001Sglebius#line 168 "../version.c" 412290001Sglebius puts(_("error: version option argument '%c' invalid. Use:\n" 413290001Sglebius "\t'v' - version only\n" 414290001Sglebius "\t'c' - version and copyright\n" 415290001Sglebius "\t'n' - version and full copyright notice\n")); 416290001Sglebius#line 58 "../check.c" 417290001Sglebius puts(_("%s error: the '%s' and '%s' options conflict\n")); 418290001Sglebius#line 217 "../find.c" 419290001Sglebius puts(_("%s: The '%s' option has been disabled.")); 420290001Sglebius#line 430 "../find.c" 421290001Sglebius puts(_("%s: The '%s' option has been disabled.")); 422290001Sglebius#line 38 "../alias.c" 423290001Sglebius puts(_("-equivalence")); 424290001Sglebius#line 469 "../find.c" 425290001Sglebius puts(_("%s: illegal option -- %c\n")); 426290001Sglebius#line 110 "../reset.c" 427290001Sglebius puts(_("%s: illegal option -- %c\n")); 428290001Sglebius#line 271 "../find.c" 429290001Sglebius puts(_("%s: illegal option -- %s\n")); 430290001Sglebius#line 755 "../find.c" 431290001Sglebius puts(_("%s: illegal option -- %s\n")); 432290001Sglebius#line 118 "../reset.c" 433290001Sglebius puts(_("%s: illegal option -- %s\n")); 434290001Sglebius#line 335 "../find.c" 435290001Sglebius puts(_("%s: unknown vendor extension option -- %s\n")); 436290001Sglebius#line 159 "../enum.c" 437290001Sglebius puts(_(" or an integer from %d through %d\n")); 438290001Sglebius#line 169 "../enum.c" 439290001Sglebius puts(_(" or an integer from %d through %d\n")); 440290001Sglebius#line 747 "../usage.c" 441290001Sglebius puts(_("%s error: invalid option descriptor for %s\n")); 442290001Sglebius#line 1081 "../usage.c" 443290001Sglebius puts(_("%s error: invalid option descriptor for %s\n")); 444290001Sglebius#line 385 "../find.c" 445290001Sglebius puts(_("%s: invalid option name: %s\n")); 446290001Sglebius#line 527 "../find.c" 447290001Sglebius puts(_("%s: The '%s' option requires an argument.\n")); 448290001Sglebius#line 156 "../autoopts.c" 449290001Sglebius puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" 450290001Sglebius "\t'%s' and '%s'.")); 451290001Sglebius#line 94 "../check.c" 452290001Sglebius puts(_("%s error: The %s option is required\n")); 453290001Sglebius#line 632 "../find.c" 454290001Sglebius puts(_("%s: The '%s' option cannot have an argument.\n")); 455290001Sglebius#line 151 "../check.c" 456290001Sglebius puts(_("%s: Command line arguments are not allowed.\n")); 457290001Sglebius#line 535 "../save.c" 458290001Sglebius puts(_("error %d (%s) creating %s\n")); 459290001Sglebius#line 234 "../enum.c" 460290001Sglebius puts(_("%s error: '%s' does not match any %s keywords.\n")); 461290001Sglebius#line 93 "../reset.c" 462290001Sglebius puts(_("%s error: The '%s' option requires an argument.\n")); 463290001Sglebius#line 184 "../save.c" 464290001Sglebius puts(_("error %d (%s) stat-ing %s\n")); 465290001Sglebius#line 238 "../save.c" 466290001Sglebius puts(_("error %d (%s) stat-ing %s\n")); 467290001Sglebius#line 143 "../restore.c" 468290001Sglebius puts(_("%s error: no saved option state\n")); 469290001Sglebius#line 231 "../autoopts.c" 470290001Sglebius puts(_("'%s' is not a command line option.\n")); 471290001Sglebius#line 111 "../time.c" 472290001Sglebius puts(_("%s error: '%s' is not a recognizable date/time.\n")); 473290001Sglebius#line 132 "../save.c" 474290001Sglebius puts(_("'%s' not defined\n")); 475290001Sglebius#line 50 "../time.c" 476290001Sglebius puts(_("%s error: '%s' is not a recognizable time duration.\n")); 477290001Sglebius#line 92 "../check.c" 478290001Sglebius puts(_("%s error: The %s option must appear %d times.\n")); 479290001Sglebius#line 164 "../numeric.c" 480290001Sglebius puts(_("%s error: '%s' is not a recognizable number.\n")); 481290001Sglebius#line 200 "../enum.c" 482290001Sglebius puts(_("%s error: %s exceeds %s keyword count\n")); 483290001Sglebius#line 330 "../usage.c" 484290001Sglebius puts(_("Try '%s %s' for more information.\n")); 485290001Sglebius#line 45 "../alias.c" 486290001Sglebius puts(_("one %s%s option allowed\n")); 487290001Sglebius#line 208 "../makeshell.c" 488290001Sglebius puts(_("standard output")); 489290001Sglebius#line 943 "../makeshell.c" 490290001Sglebius puts(_("standard output")); 491290001Sglebius#line 274 "../usage.c" 492290001Sglebius puts(_("standard output")); 493290001Sglebius#line 415 "../usage.c" 494290001Sglebius puts(_("standard output")); 495290001Sglebius#line 625 "../usage.c" 496290001Sglebius puts(_("standard output")); 497290001Sglebius#line 175 "../version.c" 498290001Sglebius puts(_("standard output")); 499290001Sglebius#line 274 "../usage.c" 500290001Sglebius puts(_("standard error")); 501290001Sglebius#line 415 "../usage.c" 502290001Sglebius puts(_("standard error")); 503290001Sglebius#line 625 "../usage.c" 504290001Sglebius puts(_("standard error")); 505290001Sglebius#line 175 "../version.c" 506290001Sglebius puts(_("standard error")); 507290001Sglebius#line 208 "../makeshell.c" 508290001Sglebius puts(_("write")); 509290001Sglebius#line 943 "../makeshell.c" 510290001Sglebius puts(_("write")); 511290001Sglebius#line 273 "../usage.c" 512290001Sglebius puts(_("write")); 513290001Sglebius#line 414 "../usage.c" 514290001Sglebius puts(_("write")); 515290001Sglebius#line 624 "../usage.c" 516290001Sglebius puts(_("write")); 517290001Sglebius#line 174 "../version.c" 518290001Sglebius puts(_("write")); 519290001Sglebius#line 60 "../numeric.c" 520290001Sglebius puts(_("%s error: %s option value %ld is out of range.\n")); 521290001Sglebius#line 44 "../check.c" 522290001Sglebius puts(_("%s error: %s option requires the %s option\n")); 523290001Sglebius#line 131 "../save.c" 524290001Sglebius puts(_("%s warning: cannot save options - %s not regular file\n")); 525290001Sglebius#line 183 "../save.c" 526290001Sglebius puts(_("%s warning: cannot save options - %s not regular file\n")); 527290001Sglebius#line 237 "../save.c" 528290001Sglebius puts(_("%s warning: cannot save options - %s not regular file\n")); 529290001Sglebius#line 256 "../save.c" 530290001Sglebius puts(_("%s warning: cannot save options - %s not regular file\n")); 531290001Sglebius#line 534 "../save.c" 532290001Sglebius puts(_("%s warning: cannot save options - %s not regular file\n")); 533290001Sglebius /* END-LIBOPTS-MESSAGES */ 534181834Sroberto 535290001Sglebius /* USAGE-TEXT: */ 536290001Sglebius#line 873 "../usage.c" 537290001Sglebius puts(_("\t\t\t\t- an alternate for '%s'\n")); 538290001Sglebius#line 1148 "../usage.c" 539290001Sglebius puts(_("Version, usage and configuration options:")); 540290001Sglebius#line 924 "../usage.c" 541290001Sglebius puts(_("\t\t\t\t- default option for unnamed options\n")); 542290001Sglebius#line 837 "../usage.c" 543290001Sglebius puts(_("\t\t\t\t- disabled as '--%s'\n")); 544290001Sglebius#line 1117 "../usage.c" 545290001Sglebius puts(_(" --- %-14s %s\n")); 546290001Sglebius#line 1115 "../usage.c" 547290001Sglebius puts(_("This option has been disabled")); 548290001Sglebius#line 864 "../usage.c" 549290001Sglebius puts(_("\t\t\t\t- enabled by default\n")); 550290001Sglebius#line 40 "../alias.c" 551290001Sglebius puts(_("%s error: only ")); 552290001Sglebius#line 1194 "../usage.c" 553290001Sglebius puts(_(" - examining environment variables named %s_*\n")); 554290001Sglebius#line 168 "../file.c" 555290001Sglebius puts(_("\t\t\t\t- file must not pre-exist\n")); 556290001Sglebius#line 172 "../file.c" 557290001Sglebius puts(_("\t\t\t\t- file must pre-exist\n")); 558290001Sglebius#line 380 "../usage.c" 559290001Sglebius puts(_("Options are specified by doubled hyphens and their name or by a single\n" 560290001Sglebius "hyphen and the flag character.\n")); 561290001Sglebius#line 921 "../makeshell.c" 562290001Sglebius puts(_("\n" 563290001Sglebius "= = = = = = = =\n\n" 564290001Sglebius "This incarnation of genshell will produce\n" 565290001Sglebius "a shell script to parse the options for %s:\n\n")); 566290001Sglebius#line 166 "../enum.c" 567290001Sglebius puts(_(" or an integer mask with any of the lower %d bits set\n")); 568290001Sglebius#line 897 "../usage.c" 569290001Sglebius puts(_("\t\t\t\t- is a set membership option\n")); 570290001Sglebius#line 918 "../usage.c" 571290001Sglebius puts(_("\t\t\t\t- must appear between %d and %d times\n")); 572290001Sglebius#line 382 "../usage.c" 573290001Sglebius puts(_("Options are specified by single or double hyphens and their name.\n")); 574290001Sglebius#line 904 "../usage.c" 575290001Sglebius puts(_("\t\t\t\t- may appear multiple times\n")); 576290001Sglebius#line 891 "../usage.c" 577290001Sglebius puts(_("\t\t\t\t- may not be preset\n")); 578290001Sglebius#line 1309 "../usage.c" 579290001Sglebius puts(_(" Arg Option-Name Description\n")); 580290001Sglebius#line 1245 "../usage.c" 581290001Sglebius puts(_(" Flg Arg Option-Name Description\n")); 582290001Sglebius#line 1303 "../usage.c" 583290001Sglebius puts(_(" Flg Arg Option-Name Description\n")); 584290001Sglebius#line 1304 "../usage.c" 585290001Sglebius puts(_(" %3s %s")); 586290001Sglebius#line 1310 "../usage.c" 587290001Sglebius puts(_(" %3s %s")); 588290001Sglebius#line 387 "../usage.c" 589290001Sglebius puts(_("The '-#<number>' option may omit the hash char\n")); 590290001Sglebius#line 383 "../usage.c" 591290001Sglebius puts(_("All arguments are named options.\n")); 592290001Sglebius#line 971 "../usage.c" 593290001Sglebius puts(_(" - reading file %s")); 594290001Sglebius#line 409 "../usage.c" 595290001Sglebius puts(_("\n" 596290001Sglebius "Please send bug reports to: <%s>\n")); 597290001Sglebius#line 100 "../version.c" 598290001Sglebius puts(_("\n" 599290001Sglebius "Please send bug reports to: <%s>\n")); 600290001Sglebius#line 129 "../version.c" 601290001Sglebius puts(_("\n" 602290001Sglebius "Please send bug reports to: <%s>\n")); 603290001Sglebius#line 903 "../usage.c" 604290001Sglebius puts(_("\t\t\t\t- may NOT appear - preset only\n")); 605290001Sglebius#line 944 "../usage.c" 606290001Sglebius puts(_("\n" 607290001Sglebius "The following option preset mechanisms are supported:\n")); 608290001Sglebius#line 1192 "../usage.c" 609290001Sglebius puts(_("\n" 610290001Sglebius "The following option preset mechanisms are supported:\n")); 611290001Sglebius#line 682 "../usage.c" 612290001Sglebius puts(_("prohibits these options:\n")); 613290001Sglebius#line 677 "../usage.c" 614290001Sglebius puts(_("prohibits the option '%s'\n")); 615290001Sglebius#line 81 "../numeric.c" 616290001Sglebius puts(_("%s%ld to %ld")); 617290001Sglebius#line 79 "../numeric.c" 618290001Sglebius puts(_("%sgreater than or equal to %ld")); 619290001Sglebius#line 75 "../numeric.c" 620290001Sglebius puts(_("%s%ld exactly")); 621290001Sglebius#line 68 "../numeric.c" 622290001Sglebius puts(_("%sit must lie in one of the ranges:\n")); 623290001Sglebius#line 68 "../numeric.c" 624290001Sglebius puts(_("%sit must be in the range:\n")); 625290001Sglebius#line 88 "../numeric.c" 626290001Sglebius puts(_(", or\n")); 627290001Sglebius#line 66 "../numeric.c" 628290001Sglebius puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n")); 629290001Sglebius#line 77 "../numeric.c" 630290001Sglebius puts(_("%sless than or equal to %ld")); 631290001Sglebius#line 390 "../usage.c" 632290001Sglebius puts(_("Operands and options may be intermixed. They will be reordered.\n")); 633290001Sglebius#line 652 "../usage.c" 634290001Sglebius puts(_("requires the option '%s'\n")); 635290001Sglebius#line 655 "../usage.c" 636290001Sglebius puts(_("requires these options:\n")); 637290001Sglebius#line 1321 "../usage.c" 638290001Sglebius puts(_(" Arg Option-Name Req? Description\n")); 639290001Sglebius#line 1315 "../usage.c" 640290001Sglebius puts(_(" Flg Arg Option-Name Req? Description\n")); 641290001Sglebius#line 167 "../enum.c" 642290001Sglebius puts(_("or you may use a numeric representation. Preceding these with a '!'\n" 643290001Sglebius "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" 644290001Sglebius "will set them all. Multiple entries may be passed as an option\n" 645290001Sglebius "argument list.\n")); 646290001Sglebius#line 910 "../usage.c" 647290001Sglebius puts(_("\t\t\t\t- may appear up to %d times\n")); 648290001Sglebius#line 77 "../enum.c" 649290001Sglebius puts(_("The valid \"%s\" option keywords are:\n")); 650290001Sglebius#line 1152 "../usage.c" 651290001Sglebius puts(_("The next option supports vendor supported extra options:")); 652290001Sglebius#line 773 "../usage.c" 653290001Sglebius puts(_("These additional options are:")); 654290001Sglebius /* END-USAGE-TEXT */ 655290001Sglebius} 656290001Sglebius#endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */ 657181834Sroberto#endif /* AUTOOPTS_USAGE_TXT_H_GUARD */ 658