intl/icu/source/extra/uconv/resources/root.txt

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/extra/uconv/resources/root.txt	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,127 @@
     1.4 +// -*- Coding: utf-8; -*-  [all uconv resource files]
     1.5 +// Copyright (c) 2000-2004 IBM, Inc. and Others.
     1.6 +//
     1.7 +// Root translation file for uconv messages.
     1.8 +// So you want to translate this file??? Great!
     1.9 +// 1. copy it to a new name [ex: se.txt]
    1.10 +//
    1.11 +// 2. You might wish to comment out ALL lines, and then uncomment them
    1.12 +//    as you add translations. That way, you don't inadvertently mark
    1.13 +//    an untranslated English (or whatever) string as already
    1.14 +//    translated. The base translation might change!
    1.15 +// 
    1.16 +// 3. These files are in UTF-8 format (even though root uses only
    1.17 +//    ASCII)
    1.18 +//
    1.19 +// 4. Make note of the location of {0}, {1}, etc.. they are taken from
    1.20 +//    arguments to u_wmsg() in order..
    1.21 +//
    1.22 +// 5. Add se.txt to RESSRC= in resfiles.mk and to the project file on 
    1.23 +//    the Windows side.
    1.24 +//
    1.25 +// 6. Send it in to srl@jtcsv.com or ask on the ICU mailing list! thanks!
    1.26 +
    1.27 +root
    1.28 +{
    1.29 +  // uconv errors
    1.30 +
    1.31 +  lcUsageWord { "usage" }
    1.32 +  ucUsageWord { "Usage" }
    1.33 +  usage {
    1.34 +    "{0}: {1} "
    1.35 +    "[ -h, -?, --help ] [ -V, --version ] [ -s, --silent ] [ -v, --verbose ] "
    1.36 +    "[ -l, --list | --list-code code | --default-code | -L, --list-transliterators ] "
    1.37 +    "[ --canon ] [ -x transliteration ] "
    1.38 +    "[ --to-callback callback | -c ] [ --from-callback callback | -i ] [ --callback callback ] "
    1.39 +    "[ --fallback | --no-fallback ] "
    1.40 +    "[ -b, --block-size size ] "
    1.41 +    "[ -f, --from-code code ] [ -t, --to-code code ] "
    1.42 +    "[ --add-signature ] [ --remove-signature ] "
    1.43 +    "[ -o, --output file ] "
    1.44 +    "[ file ... ]\n" }
    1.45 +
    1.46 +  help {  "Options:  -h, --help                    print this message\n"
    1.47 +          "          -V, --version                 print the program version\n"
    1.48 +          "          -s, --silent                  suppress messages\n"
    1.49 +          "          -v, --verbose                 display progress information\n"
    1.50 +          "          -l, --list                    list all available encodings\n"
    1.51 +          "          --list-code code              list only the given encoding\n"
    1.52 +          "          --default-code                list only the default encoding\n"
    1.53 +          "          -L, --list-transliterators    list all available transliterators\n"
    1.54 +          "          --canon                       print list in cnvrtrs.txt(5) format\n"
    1.55 +          "          -x transliteration            run everything through transliteration\n" 
    1.56 +          "          --to-callback callback        use callback on destination encoding\n"
    1.57 +          "          -c                            omit invalid characters from the output\n"
    1.58 +          "          --from-callback callback      use callback on original encoding\n"
    1.59 +          "          -i                            ignore invalid sequences in the input\n"
    1.60 +          "          --callback callback           use callback on both encodings\n"
    1.61 +          "          -b, --block-size size         read size bytes blocks (default: 4096)\n"
    1.62 +          "          --fallback                    use fallback mapping\n"
    1.63 +          "          --no-fallback                 do not use fallback mapping\n"
    1.64 +          "          -f, --from-code code          set the original encoding\n"
    1.65 +          "          -t, --to-code code            set the destination encoding\n" 
    1.66 +          "          --add-signature               add a U+FEFF Unicode signature character (BOM)\n"
    1.67 +          "          --remove-signature            remove a U+FEFF Unicode signature character (BOM)\n"
    1.68 +          "          -o, --output file             write output to file\n"
    1.69 +          "\n"
    1.70 +          "Callbacks:"
    1.71 +  }
    1.72 +
    1.73 +  cantGetNames   { "Couldn''t get available converter names.\n" } // 0: err
    1.74 +  cantGetTag   { "Couldn''t get standard tag name: {0}.\n" } // 0: err
    1.75 +  
    1.76 +  noSuchCodeset  { "Couldn''t find encoding: {0}.\n" } // 0: name of the encoding
    1.77 +  noFromCodeset  { "No original encoding set (use -f).\n" }
    1.78 +  noToCodeset    {  "No destination encoding set (use -t).\n" }
    1.79 +
    1.80 +  badBlockSize  { "Bad block size: {0}.\n" } // 0: size of the block
    1.81 +
    1.82 +  cantSetInBinMode { "Couldn't set standard input to binary mode." }
    1.83 +  cantSetOutBinMode { "Couldn't set standard output to binary mode." }
    1.84 +
    1.85 +  cantOpenFromCodeset { "Couldn''t open converter for original encoding {0}: {1}.\n" } // 0:set, 1: err
    1.86 +  cantOpenToCodeset { "Couldn''t open converteur for destination encoding {0}: {1}.\n" } // 0: set, 1: err
    1.87 +
    1.88 +  cantCreateTranslit { "Couldn''t create transliteration \"{0}\": {1}.\n" } // 0: set, 1: err
    1.89 +  cantCreateTranslitParseErr { "Couldn''t create transliteration \"{0}\": {1}, line {2}, offset {3}.\n" } // 0: set, 1: err, 2: line, 3: offset
    1.90 +
    1.91 +  cantSetCallback { "Couldn''t set transcoding callback: {0}.\n" } // 0: err
    1.92 +
    1.93 +  unknownCallback { "Unknown callback: {0}.\n" } // 0: callback name
    1.94 +
    1.95 +  cantOpenInputF  { "Couldn''t open input file {0}: {1}.\n" } // 0: file, 1: strerror [OS error string]
    1.96 +  cantCreateOutputF  { "Couldn''t create output file {0}: {1}.\n" } // 0: file, 1: strerror [OS error string]
    1.97 +
    1.98 +  cantWrite       { "The converted text couldn't be written: {0}.\n" } // 0: OS error string
    1.99 +  cantRead        { "Error reading from input file: {0}.\n" } // 0: OS error string
   1.100 +
   1.101 +  problemCvtToU   { "Conversion to Unicode from codepage failed at input byte position {0}. Bytes: {1} Error: {2}\n" } // 0: position, 1: bytes, 2: err
   1.102 +  problemCvtFromU { "Conversion from Unicode to codepage failed at input byte position {0}. Unicode: {1} Error: {2}\n"} // 0: position, 1: Unicode, 2: err
   1.103 +  problemCvtFromUOut { "Conversion from Unicode to codepage failed at output byte position {0}. Unicode: {1} Error: {2}\n"} // 0: position, 1: Unicode, 2: err
   1.104 +
   1.105 +// ICU errors - used by u_wmsg_errorName()
   1.106 +
   1.107 +  U_USING_FALLBACK_ERROR       { "Using fallback data" }
   1.108 +  U_USING_DEFAULT_ERROR        { "Using default data" }
   1.109 +  U_ZERO_ERROR                 { "No error has occured" }
   1.110 +  U_ILLEGAL_ARGUMENT_ERROR     { "Illegal argument" }
   1.111 +  U_MISSING_RESOURCE_ERROR     { "A resource was missing" }
   1.112 +  U_INVALID_FORMAT_ERROR       { "Invalid format" }
   1.113 +  U_FILE_ACCESS_ERROR          { "Problem accessing that file/object" }
   1.114 +  U_INTERNAL_PROGRAM_ERROR     { "Internal program error" }
   1.115 +  U_MESSAGE_PARSE_ERROR        { "Parse error on message format" }
   1.116 +  U_MEMORY_ALLOCATION_ERROR    { "Out of memory" }
   1.117 +  U_INDEX_OUTOFBOUNDS_ERROR    { "An index was out-of-bounds" }
   1.118 +  U_PARSE_ERROR                { "Parse error" }
   1.119 +  U_INVALID_CHAR_FOUND         { "Invalid character found" }
   1.120 +  U_TRUNCATED_CHAR_FOUND       { "Truncated character found" }
   1.121 +  U_ILLEGAL_CHAR_FOUND         { "Illegal character found" }
   1.122 +  U_INVALID_TABLE_FORMAT       { "Invalid table data format" }
   1.123 +  U_INVALID_TABLE_FILE         { "Invalid table data file" }
   1.124 +  U_BUFFER_OVERFLOW_ERROR      { "Buffer overflow" }
   1.125 +  U_UNSUPPORTED_ERROR          { "A feature was unsupported" }
   1.126 +  U_RESOURCE_TYPE_MISMATCH     { "Resource type mismatch" }
   1.127 +  U_ILLEGAL_ESCAPE_SEQUENCE    { "Illegal escape sequence found" }
   1.128 +  U_UNSUPPORTED_ESCAPE_SEQUENCE {"Unsupported escape sequence found" }
   1.129 +}
   1.130 +

mercurial