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