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