Home | History | Annotate | Download | only in utils
      1 /*
      2  * Licensed to the Apache Software Foundation (ASF) under one
      3  * or more contributor license agreements. See the NOTICE file
      4  * distributed with this work for additional information
      5  * regarding copyright ownership. The ASF licenses this file
      6  * to you under the Apache License, Version 2.0 (the  "License");
      7  * you may not use this file except in compliance with the License.
      8  * You may obtain a copy of the License at
      9  *
     10  *     http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS,
     14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15  * See the License for the specific language governing permissions and
     16  * limitations under the License.
     17  */
     18 /*
     19  * $Id: SerializerMessages_sk.java,v 1.7 2005/03/07 20:34:36 minchau Exp $
     20  */
     21 
     22 package org.apache.xml.serializer.utils;
     23 
     24 import java.util.ListResourceBundle;
     25 import java.util.Locale;
     26 import java.util.MissingResourceException;
     27 import java.util.ResourceBundle;
     28 
     29 /**
     30  * An instance of this class is a ListResourceBundle that
     31  * has the required getContents() method that returns
     32  * an array of message-key/message associations.
     33  * <p>
     34  * The message keys are defined in {@link MsgKey}. The
     35  * messages that those keys map to are defined here.
     36  * <p>
     37  * The messages in the English version are intended to be
     38  * translated.
     39  *
     40  * This class is not a public API, it is only public because it is
     41  * used in org.apache.xml.serializer.
     42  *
     43  * @xsl.usage internal
     44  */
     45 public class SerializerMessages_sk extends ListResourceBundle {
     46 
     47     /*
     48      * This file contains error and warning messages related to
     49      * Serializer Error Handling.
     50      *
     51      *  General notes to translators:
     52 
     53      *  1) A stylesheet is a description of how to transform an input XML document
     54      *     into a resultant XML document (or HTML document or text).  The
     55      *     stylesheet itself is described in the form of an XML document.
     56 
     57      *
     58      *  2) An element is a mark-up tag in an XML document; an attribute is a
     59      *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
     60      *     "elem" is an element name, "attr" and "attr2" are attribute names with
     61      *     the values "val" and "val2", respectively.
     62      *
     63      *  3) A namespace declaration is a special attribute that is used to associate
     64      *     a prefix with a URI (the namespace).  The meanings of element names and
     65      *     attribute names that use that prefix are defined with respect to that
     66      *     namespace.
     67      *
     68      *
     69      */
     70 
     71     /** The lookup table for error messages.   */
     72     public Object[][] getContents() {
     73         Object[][] contents = new Object[][] {
     74             {   MsgKey.BAD_MSGKEY,
     75                 "K\u013e\u00fa\u010d spr\u00e1vy ''{0}'' sa nenach\u00e1dza v triede spr\u00e1v ''{1}''" },
     76 
     77             {   MsgKey.BAD_MSGFORMAT,
     78                 "Zlyhal form\u00e1t spr\u00e1vy ''{0}'' v triede spr\u00e1v ''{1}''." },
     79 
     80             {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
     81                 "Trieda serializ\u00e1tora ''{0}'' neimplementuje org.xml.sax.ContentHandler." },
     82 
     83             {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
     84                     "Prostriedok [ {0} ] nemohol by\u0165 n\u00e1jden\u00fd.\n {1}" },
     85 
     86             {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
     87                     "Prostriedok [ {0} ] sa nedal na\u010d\u00edta\u0165: {1} \n {2} \t {3}" },
     88 
     89             {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
     90                     "Ve\u013ekos\u0165 vyrovn\u00e1vacej pam\u00e4te <=0" },
     91 
     92             {   MsgKey.ER_INVALID_UTF16_SURROGATE,
     93                     "Bolo zisten\u00e9 neplatn\u00e9 nahradenie UTF-16: {0} ?" },
     94 
     95             {   MsgKey.ER_OIERROR,
     96                 "chyba IO" },
     97 
     98             {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
     99                 "Nie je mo\u017en\u00e9 prida\u0165 atrib\u00fat {0} po uzloch potomka alebo pred vytvoren\u00edm elementu.  Atrib\u00fat bude ignorovan\u00fd." },
    100 
    101             /*
    102              * Note to translators:  The stylesheet contained a reference to a
    103              * namespace prefix that was undefined.  The value of the substitution
    104              * text is the name of the prefix.
    105              */
    106             {   MsgKey.ER_NAMESPACE_PREFIX,
    107                 "N\u00e1zvov\u00fd priestor pre predponu ''{0}'' nebol deklarovan\u00fd." },
    108 
    109             /*
    110              * Note to translators:  This message is reported if the stylesheet
    111              * being processed attempted to construct an XML document with an
    112              * attribute in a place other than on an element.  The substitution text
    113              * specifies the name of the attribute.
    114              */
    115             {   MsgKey.ER_STRAY_ATTRIBUTE,
    116                 "Atrib\u00fat ''{0}'' je mimo prvku." },
    117 
    118             /*
    119              * Note to translators:  As with the preceding message, a namespace
    120              * declaration has the form of an attribute and is only permitted to
    121              * appear on an element.  The substitution text {0} is the namespace
    122              * prefix and {1} is the URI that was being used in the erroneous
    123              * namespace declaration.
    124              */
    125             {   MsgKey.ER_STRAY_NAMESPACE,
    126                 "Deklar\u00e1cia n\u00e1zvov\u00e9ho priestoru ''{0}''=''{1}'' je mimo prvku." },
    127 
    128             {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
    129                 "Nebolo mo\u017en\u00e9 zavies\u0165 ''{0}'' (skontrolujte CLASSPATH), teraz sa pou\u017e\u00edvaj\u00fa iba \u0161tandardn\u00e9 nastavenia" },
    130 
    131             {   MsgKey.ER_ILLEGAL_CHARACTER,
    132                 "Pokus o v\u00fdstup znaku integr\u00e1lnej hodnoty {0}, ktor\u00e1 nie je reprezentovan\u00e1 v zadanom v\u00fdstupnom k\u00f3dovan\u00ed {1}." },
    133 
    134             {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
    135                 "Nebolo mo\u017en\u00e9 zavies\u0165 s\u00fabor vlastnost\u00ed ''{0}'' pre v\u00fdstupn\u00fa met\u00f3du ''{1}'' (skontrolujte CLASSPATH)" },
    136 
    137             {   MsgKey.ER_INVALID_PORT,
    138                 "Neplatn\u00e9 \u010d\u00edslo portu" },
    139 
    140             {   MsgKey.ER_PORT_WHEN_HOST_NULL,
    141                 "Nem\u00f4\u017ee by\u0165 stanoven\u00fd port, ak je hostite\u013e nulov\u00fd" },
    142 
    143             {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
    144                 "Hostite\u013e nie je spr\u00e1vne form\u00e1tovan\u00e1 adresa" },
    145 
    146             {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
    147                 "Nezhodn\u00e1 sch\u00e9ma." },
    148 
    149             {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
    150                 "Nie je mo\u017en\u00e9 stanovi\u0165 sch\u00e9mu z nulov\u00e9ho re\u0165azca" },
    151 
    152             {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
    153                 "Cesta obsahuje neplatn\u00fa \u00fanikov\u00fa sekvenciu" },
    154 
    155             {   MsgKey.ER_PATH_INVALID_CHAR,
    156                 "Cesta obsahuje neplatn\u00fd znak: {0}" },
    157 
    158             {   MsgKey.ER_FRAG_INVALID_CHAR,
    159                 "Fragment obsahuje neplatn\u00fd znak" },
    160 
    161             {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
    162                 "Ak je cesta nulov\u00e1, nem\u00f4\u017ee by\u0165 stanoven\u00fd fragment" },
    163 
    164             {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
    165                 "Fragment m\u00f4\u017ee by\u0165 stanoven\u00fd len pre v\u0161eobecn\u00e9 URI" },
    166 
    167             {   MsgKey.ER_NO_SCHEME_IN_URI,
    168                 "V URI nebola n\u00e1jden\u00e1 \u017eiadna sch\u00e9ma" },
    169 
    170             {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
    171                 "Nie je mo\u017en\u00e9 inicializova\u0165 URI s pr\u00e1zdnymi parametrami" },
    172 
    173             {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
    174                 "Fragment nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste, ani vo fragmente" },
    175 
    176             {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
    177                 "Re\u0165azec dotazu nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste a re\u0165azci dotazu" },
    178 
    179             {   MsgKey.ER_NO_PORT_IF_NO_HOST,
    180                 "Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebol zadan\u00fd port" },
    181 
    182             {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
    183                 "Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebolo zadan\u00e9 userinfo" },
    184             {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
    185                 "Varovanie:  Verzia v\u00fdstupn\u00e9ho dokumentu mus\u00ed by\u0165 povinne ''{0}''.  T\u00e1to verzia XML nie je podporovan\u00e1.  Verzia v\u00fdstupn\u00e9ho dokumentu bude ''1.0''." },
    186 
    187             {   MsgKey.ER_SCHEME_REQUIRED,
    188                 "Je po\u017eadovan\u00e1 sch\u00e9ma!" },
    189 
    190             /*
    191              * Note to translators:  The words 'Properties' and
    192              * 'SerializerFactory' in this message are Java class names
    193              * and should not be translated.
    194              */
    195             {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
    196                 "Objekt Properties, ktor\u00fd pre\u0161iel do SerializerFactory, nem\u00e1 vlastnos\u0165 ''{0}''." },
    197 
    198             {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
    199                 "Varovanie:  Java runtime nepodporuje k\u00f3dovanie ''{0}''." },
    200 
    201              {MsgKey.ER_FEATURE_NOT_FOUND,
    202              "Parameter ''{0}'' nebol rozpoznan\u00fd."},
    203 
    204              {MsgKey.ER_FEATURE_NOT_SUPPORTED,
    205              "Parameter ''{0}'' bol rozpoznan\u00fd, ale vy\u017eadovan\u00e1 hodnota sa ned\u00e1 nastavi\u0165."},
    206 
    207              {MsgKey.ER_STRING_TOO_LONG,
    208              "V\u00fdsledn\u00fd re\u0165azec je pr\u00edli\u0161 dlh\u00fd a nezmest\u00ed sa do DOMString: ''{0}''."},
    209 
    210              {MsgKey.ER_TYPE_MISMATCH_ERR,
    211              "Typ hodnoty pre tento n\u00e1zov parametra je nekompatibiln\u00fd s o\u010dak\u00e1van\u00fdm typom hodnoty."},
    212 
    213              {MsgKey.ER_NO_OUTPUT_SPECIFIED,
    214              "Cie\u013e v\u00fdstupu pre zap\u00edsanie \u00fadajov bol null."},
    215 
    216              {MsgKey.ER_UNSUPPORTED_ENCODING,
    217              "Bolo zaznamenan\u00e9 nepodporovan\u00e9 k\u00f3dovanie."},
    218 
    219              {MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
    220              "Uzol nebolo mo\u017en\u00e9 serializova\u0165."},
    221 
    222              {MsgKey.ER_CDATA_SECTIONS_SPLIT,
    223              "\u010cas\u0165 CDATA obsahuje jeden alebo viacer\u00e9 ozna\u010dova\u010de konca ']]>'."},
    224 
    225              {MsgKey.ER_WARNING_WF_NOT_CHECKED,
    226                  "Nebolo mo\u017en\u00e9 vytvori\u0165 in\u0161tanciu kontrol\u00f3ra Well-Formedness.  Parameter well-formed bol nastaven\u00fd na hodnotu true, ale kontrola well-formedness sa ned\u00e1 vykona\u0165."
    227              },
    228 
    229              {MsgKey.ER_WF_INVALID_CHARACTER,
    230                  "Uzol ''{0}'' obsahuje neplatn\u00e9 znaky XML."
    231              },
    232 
    233              { MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
    234                  "V koment\u00e1ri bol n\u00e1jden\u00fd neplatn\u00fd znak XML (Unicode: 0x{0})."
    235              },
    236 
    237              { MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
    238                  "Pri spracovan\u00ed d\u00e1t in\u0161trukci\u00ed sa na\u0161iel neplatn\u00fd znak XML (Unicode: 0x{0})."
    239              },
    240 
    241              { MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
    242                  "V obsahu CDATASection sa na\u0161iel neplatn\u00fd znak XML (Unicode: 0x{0})."
    243              },
    244 
    245              { MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
    246                  "V obsahu znakov\u00fdch d\u00e1t uzla sa na\u0161iel neplatn\u00fd znak XML (Unicode: 0x{0})."
    247              },
    248 
    249              { MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
    250                  "V uzle {0} s n\u00e1zvom ''{1}'' sa na\u0161iel neplatn\u00fd znak XML."
    251              },
    252 
    253              { MsgKey.ER_WF_DASH_IN_COMMENT,
    254                  "Re\u0165azec \"--\" nie je povolen\u00fd v r\u00e1mci koment\u00e1rov."
    255              },
    256 
    257              {MsgKey.ER_WF_LT_IN_ATTVAL,
    258                  "Hodnota atrib\u00fatu \"{1}\", ktor\u00e1 je priraden\u00e1 k prvku typu \"{0}\", nesmie obsahova\u0165 znak ''<''."
    259              },
    260 
    261              {MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
    262                  "Neanalyzovan\u00fd odkaz na entitu \"&{0};\" nie je povolen\u00fd."
    263              },
    264 
    265              {MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
    266                  "Odkaz na extern\u00fa entitu \"&{0};\" nie je povolen\u00fd v hodnote atrib\u00fatu."
    267              },
    268 
    269              {MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
    270                  "Predpona \"{0}\" nem\u00f4\u017ee by\u0165 naviazan\u00e1 na n\u00e1zvov\u00fd priestor \"{1}\"."
    271              },
    272 
    273              {MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
    274                  "Lok\u00e1lny n\u00e1zov prvku \"{0}\" je null."
    275              },
    276 
    277              {MsgKey.ER_NULL_LOCAL_ATTR_NAME,
    278                  "Lok\u00e1lny n\u00e1zov atrib\u00fatu \"{0}\" je null."
    279              },
    280 
    281              { MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
    282                  "N\u00e1hradn\u00fd text pre uzol entity \"{0}\" obsahuje uzol prvku \"{1}\" s nenaviazanou predponou \"{2}\"."
    283              },
    284 
    285              { MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
    286                  "N\u00e1hradn\u00fd text uzla entity \"{0}\" obsahuje uzol atrib\u00fatu \"{1}\" s nenaviazanou predponou \"{2}\"."
    287              },
    288 
    289         };
    290 
    291         return contents;
    292     }
    293 }
    294