File: locale.c

package info (click to toggle)
recode 3.4.1-11
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,560 kB
  • ctags: 622
  • sloc: ansic: 10,572; perl: 339; makefile: 317; lisp: 243; sh: 173; lex: 165; awk: 127; sed: 10
file content (143 lines) | stat: -rw-r--r-- 6,313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* Automatically generated by code-to-tbl from recode.cod.  */

#if HAVE_CONFIG_H
# include <config.h>
#endif

#include <libintl.h>

const struct _msg_ent _msg_tbl[] =
{
  {"reversible", 1},
  {"one to one", 2},
  {"many to one", 3},
  {"one to many", 4},
  {"many to many", 5},
  {"MAX_SINGLE_STEPS is too small", 6},
  {"Codes %3d and %3d both recode to %3d", 7},
  {"No character recodes to %3d", 8},
  {"Cannot invert given one-to-one table", 9},
  {"Following diagnostics for `%s' to `%s'", 10},
  {"Pair no. %d: { %3d, %3d } conflicts with { %3d, %3d }", 11},
  {"Cannot complete table from set of known pairs", 12},
  {"/* Conversion table from `%s' charset to `%s' charset.\n", 13},
  {"   Generated mechanically by GNU %s %s.\n", 14},
  {"   The recoding should be reversible.\n", 15},
  {"   The recoding might not be reversible.\n", 16},
  {"   Programming is needed to handle multichar input.\n", 17},
  {"   Each input char transforms into an output string.\n", 18},
  {"   Each input char transforms into an output string,\n", 19},
  {"   programming is needed to handle multichar input.\n", 20},
  {"No table to print", 21},
  {"UNACHIEVABLE recoding!\n", 22},
  {"Mere copy for the trivial recoding\n", 23},
  {"MAX_SEQUENCE is too small", 24},
  {"You may not explicitely recode from RFC 1345", 25},
  {"Simplified to: ", 26},
  {"Child process wait status is 0x%0.2x", 27},
  {"Recoding %s...", 28},
  {"Internal error - strategy undecided", 29},
  {" done\n", 30},
  {"  UNACHIEVABLE\n", 31},
  {"ONE to SAME", 32},
  {"steps: %d", 33},
  {", %d saved by merging", 34},
  {"Cannot auto check the ignored charset", 35},
  {"Cannot auto check on %s", 36},
  {"Try `%s %s' for more information.\n", 37},
  {"\
\n\
Usage: %s [OPTION]... [CHARSET]\n", 38},
  {"\
Mandatory or optional arguments to long options are mandatory or optional\n\
for short options too.\n\
\n\
  -C, --copyright       display Copyright and copying conditions\n\
  -a, --auto-check      report about some or all recoding paths, then exit\n\
  -l, --list[=FORMAT]   list one or all known charsets\n\
  -k, --known=PAIRS     restrict charsets according to known PAIRS list\n\
      --help            display this help and exit\n\
      --version         output version information and exit\n\
\n\
FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n\
abbreviated to one of `dohf'), it defaults to just the canonical name.\n\
With -k, possible before charsets are listed for the given after CHARSET,\n\
both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n\
and BEFs and AFTs being codes.  All codes are given as decimal numbers.\n", 39},
  {"\
Option -l with no FORMAT nor CHARSET list all charsets, also see the Texinfo\n\
documentation.  My preferred charsets are (each user has preferences):\n\
\n\
  ascii-bs   ASCII (7-bit), using backspace to apply diacritics\n\
  ibmpc      IBM-PC 8-bit characters, with proper newlines\n\
  latex      LaTeX coding of foreign and diacriticized characters\n\
  latin1     ISO Latin-1 8-bit extension of ASCII\n\
  texte      Easy French convention for transmitting email messages\n", 40},
  {"\
\n\
Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n", 41},
  {"\
\n\
  -c, --colons            use colons instead of double quotes for diaeresis\n\
  -d, --diacritics        limit conversion to diacritics or alike for LaTeX\n\
  -f, --force             force recodings even if they are not reversible\n\
                          (BEWARE: in this version, -f is always selected)\n\
  -g, --graphics          approximate IBMPC rulers by ASCII graphics\n\
  -h, --header[=NAME]     write C code with table NAME on stdout, then exit\n\
  -i, --sequence=files    use intermediate files for sequencing passes\n", 42},
  {"\
  -o, --sequence=popen    use popen machinery for sequencing passes\n", 43},
  {"\
  -o, --sequence=popen    same as -i (on this system)\n", 44},
  {"\
  -p, --sequence=pipe     use pipe machinery for sequencing passes\n", 45},
  {"\
  -p, --sequence=pipe     same as -o (on this system)\n", 46},
  {"\
  -q, --quiet, --silent   inhibit messages about irreversible recodings\n\
  -s, --strict            use strict mappings, even loose characters\n\
  -t, --touch             touch the recoded files after replacement\n\
  -v, --verbose           explain sequence of steps and report progress\n\
  -x, --ignore=CHARSET    ignore CHARSET while choosing a recoding path\n\
\n\
If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n\
Each FILE is recoded over itself, destroying the original.  If no\n\
FILE is specified, then act as a filter and recode stdin to stdout.\n", 47},
  {"\
BEFORE and AFTER both default to `%s' when needed.\n", 48},
  {"Ambiguous sequence `%s'", 49},
  {"Unknown sequence `%s'", 50},
  {"\
This program is free software; you can redistribute it and/or modify\n\
it under the terms of the GNU General Public License as published by\n\
the Free Software Foundation; either version 2, or (at your option)\n\
any later version.\n\
\n\
This program is distributed in the hope that it will be useful,\n\
but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
GNU General Public License for more details.\n\
\n\
You should have received a copy of the GNU General Public License\n\
along with this program; if not, write to the Free Software\n\
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n", 51},
  {"Ambiguous format `%s'", 52},
  {"Unknown format `%s'", 53},
  {"Currently, -s is ignored when -g is selected", 54},
  {"No way to recode from %s to %s", 55},
  {"Recoding is trivial, not worth a table", 56},
  {"Recoding is too complex for a mere table", 57},
  {"%s: Recoding is not reversible", 58},
  {"Recoding is not reversible", 59},
  {"MAX_CHARSETS is too small", 60},
  {"Charset %s already exists and is not %s", 61},
  {"Hash stats: %d names using %d buckets out of %d\n", 62},
  {"Ambiguous charset `%s'", 63},
  {"Unknown charset `%s'", 64},
  {"Cannot list `%s', no 10646 names available for this charset", 65},
  {"Sorry, no 10646 names available for `%s'", 66},
  {"dec  oct hex    ch   %s\n", 67}
};
int _msg_tbl_length = 67;

const char *_msg_catalog_file_name = "recode.msg";