]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | // -*- Coding: utf-8; -*- [all uconv resource files] |
f3c0d7a5 A |
2 | // Copyright (C) 2016 and later: Unicode, Inc. and others. |
3 | // License & terms of use: http://www.unicode.org/copyright.html | |
4 | // | |
374ca955 | 5 | // Copyright (c) 2000-2004 IBM, Inc. and Others. |
b75a7d8f A |
6 | // |
7 | // Root translation file for uconv messages. | |
8 | // So you want to translate this file??? Great! | |
9 | // 1. copy it to a new name [ex: se.txt] | |
10 | // | |
11 | // 2. You might wish to comment out ALL lines, and then uncomment them | |
12 | // as you add translations. That way, you don't inadvertently mark | |
13 | // an untranslated English (or whatever) string as already | |
14 | // translated. The base translation might change! | |
15 | // | |
16 | // 3. These files are in UTF-8 format (even though root uses only | |
17 | // ASCII) | |
18 | // | |
19 | // 4. Make note of the location of {0}, {1}, etc.. they are taken from | |
20 | // arguments to u_wmsg() in order.. | |
21 | // | |
22 | // 5. Add se.txt to RESSRC= in resfiles.mk and to the project file on | |
23 | // the Windows side. | |
24 | // | |
25 | // 6. Send it in to srl@jtcsv.com or ask on the ICU mailing list! thanks! | |
26 | ||
27 | root | |
28 | { | |
29 | // uconv errors | |
30 | ||
31 | lcUsageWord { "usage" } | |
32 | ucUsageWord { "Usage" } | |
374ca955 A |
33 | usage { |
34 | "{0}: {1} " | |
35 | "[ -h, -?, --help ] [ -V, --version ] [ -s, --silent ] [ -v, --verbose ] " | |
36 | "[ -l, --list | --list-code code | --default-code | -L, --list-transliterators ] " | |
37 | "[ --canon ] [ -x transliteration ] " | |
38 | "[ --to-callback callback | -c ] [ --from-callback callback | -i ] [ --callback callback ] " | |
39 | "[ --fallback | --no-fallback ] " | |
40 | "[ -b, --block-size size ] " | |
41 | "[ -f, --from-code code ] [ -t, --to-code code ] " | |
42 | "[ --add-signature ] [ --remove-signature ] " | |
43 | "[ -o, --output file ] " | |
44 | "[ file ... ]\n" } | |
b75a7d8f A |
45 | |
46 | help { "Options: -h, --help print this message\n" | |
47 | " -V, --version print the program version\n" | |
48 | " -s, --silent suppress messages\n" | |
49 | " -v, --verbose display progress information\n" | |
374ca955 A |
50 | " -l, --list list all available encodings\n" |
51 | " --list-code code list only the given encoding\n" | |
52 | " --default-code list only the default encoding\n" | |
53 | " -L, --list-transliterators list all available transliterators\n" | |
b75a7d8f | 54 | " --canon print list in cnvrtrs.txt(5) format\n" |
374ca955 A |
55 | " -x transliteration run everything through transliteration\n" |
56 | " --to-callback callback use callback on destination encoding\n" | |
57 | " -c omit invalid characters from the output\n" | |
58 | " --from-callback callback use callback on original encoding\n" | |
59 | " -i ignore invalid sequences in the input\n" | |
b75a7d8f | 60 | " --callback callback use callback on both encodings\n" |
374ca955 A |
61 | " -b, --block-size size read size bytes blocks (default: 4096)\n" |
62 | " --fallback use fallback mapping\n" | |
63 | " --no-fallback do not use fallback mapping\n" | |
64 | " -f, --from-code code set the original encoding\n" | |
65 | " -t, --to-code code set the destination encoding\n" | |
66 | " --add-signature add a U+FEFF Unicode signature character (BOM)\n" | |
67 | " --remove-signature remove a U+FEFF Unicode signature character (BOM)\n" | |
b75a7d8f | 68 | " -o, --output file write output to file\n" |
374ca955 A |
69 | "\n" |
70 | "Callbacks:" | |
b75a7d8f A |
71 | } |
72 | ||
73 | cantGetNames { "Couldn''t get available converter names.\n" } // 0: err | |
74 | cantGetTag { "Couldn''t get standard tag name: {0}.\n" } // 0: err | |
75 | ||
76 | noSuchCodeset { "Couldn''t find encoding: {0}.\n" } // 0: name of the encoding | |
77 | noFromCodeset { "No original encoding set (use -f).\n" } | |
78 | noToCodeset { "No destination encoding set (use -t).\n" } | |
79 | ||
374ca955 | 80 | badBlockSize { "Bad block size: {0}.\n" } // 0: size of the block |
b75a7d8f A |
81 | |
82 | cantSetInBinMode { "Couldn't set standard input to binary mode." } | |
83 | cantSetOutBinMode { "Couldn't set standard output to binary mode." } | |
84 | ||
85 | cantOpenFromCodeset { "Couldn''t open converter for original encoding {0}: {1}.\n" } // 0:set, 1: err | |
86 | cantOpenToCodeset { "Couldn''t open converteur for destination encoding {0}: {1}.\n" } // 0: set, 1: err | |
87 | ||
88 | cantCreateTranslit { "Couldn''t create transliteration \"{0}\": {1}.\n" } // 0: set, 1: err | |
89 | cantCreateTranslitParseErr { "Couldn''t create transliteration \"{0}\": {1}, line {2}, offset {3}.\n" } // 0: set, 1: err, 2: line, 3: offset | |
90 | ||
91 | cantSetCallback { "Couldn''t set transcoding callback: {0}.\n" } // 0: err | |
92 | ||
93 | unknownCallback { "Unknown callback: {0}.\n" } // 0: callback name | |
94 | ||
95 | cantOpenInputF { "Couldn''t open input file {0}: {1}.\n" } // 0: file, 1: strerror [OS error string] | |
96 | cantCreateOutputF { "Couldn''t create output file {0}: {1}.\n" } // 0: file, 1: strerror [OS error string] | |
97 | ||
98 | cantWrite { "The converted text couldn't be written: {0}.\n" } // 0: OS error string | |
99 | cantRead { "Error reading from input file: {0}.\n" } // 0: OS error string | |
100 | ||
374ca955 A |
101 | problemCvtToU { "Conversion to Unicode from codepage failed at input byte position {0}. Bytes: {1} Error: {2}\n" } // 0: position, 1: bytes, 2: err |
102 | problemCvtFromU { "Conversion from Unicode to codepage failed at input byte position {0}. Unicode: {1} Error: {2}\n"} // 0: position, 1: Unicode, 2: err | |
103 | problemCvtFromUOut { "Conversion from Unicode to codepage failed at output byte position {0}. Unicode: {1} Error: {2}\n"} // 0: position, 1: Unicode, 2: err | |
b75a7d8f A |
104 | |
105 | // ICU errors - used by u_wmsg_errorName() | |
106 | ||
107 | U_USING_FALLBACK_ERROR { "Using fallback data" } | |
108 | U_USING_DEFAULT_ERROR { "Using default data" } | |
109 | U_ZERO_ERROR { "No error has occured" } | |
110 | U_ILLEGAL_ARGUMENT_ERROR { "Illegal argument" } | |
111 | U_MISSING_RESOURCE_ERROR { "A resource was missing" } | |
112 | U_INVALID_FORMAT_ERROR { "Invalid format" } | |
113 | U_FILE_ACCESS_ERROR { "Problem accessing that file/object" } | |
114 | U_INTERNAL_PROGRAM_ERROR { "Internal program error" } | |
115 | U_MESSAGE_PARSE_ERROR { "Parse error on message format" } | |
116 | U_MEMORY_ALLOCATION_ERROR { "Out of memory" } | |
117 | U_INDEX_OUTOFBOUNDS_ERROR { "An index was out-of-bounds" } | |
118 | U_PARSE_ERROR { "Parse error" } | |
119 | U_INVALID_CHAR_FOUND { "Invalid character found" } | |
120 | U_TRUNCATED_CHAR_FOUND { "Truncated character found" } | |
121 | U_ILLEGAL_CHAR_FOUND { "Illegal character found" } | |
122 | U_INVALID_TABLE_FORMAT { "Invalid table data format" } | |
123 | U_INVALID_TABLE_FILE { "Invalid table data file" } | |
124 | U_BUFFER_OVERFLOW_ERROR { "Buffer overflow" } | |
125 | U_UNSUPPORTED_ERROR { "A feature was unsupported" } | |
126 | U_RESOURCE_TYPE_MISMATCH { "Resource type mismatch" } | |
127 | U_ILLEGAL_ESCAPE_SEQUENCE { "Illegal escape sequence found" } | |
128 | U_UNSUPPORTED_ESCAPE_SEQUENCE {"Unsupported escape sequence found" } | |
129 | } | |
130 |