001: /*
002: * Copyright 1999-2004 The Apache Software Foundation.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: /*
017: * $Id: SerializerMessages_zh_CN.java,v 1.2 2004/12/16 19:19:57 minchau Exp $
018: */
019:
020: package org.apache.xml.serializer.utils;
021:
022: import java.util.ListResourceBundle;
023:
024: public class SerializerMessages_zh_CN extends ListResourceBundle {
025: public Object[][] getContents() {
026: Object[][] contents = new Object[][] {
027: // BAD_MSGKEY needs translation
028: // BAD_MSGFORMAT needs translation
029: {
030: MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
031: "\u4e32\u884c\u5668\u7c7b\u201c{0}\u201d\u4e0d\u5b9e\u73b0 org.xml.sax.ContentHandler." },
032:
033: { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
034: "\u627e\u4e0d\u5230\u8d44\u6e90 [ {0} ]\u3002\n {1}" },
035:
036: { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
037: "\u8d44\u6e90 [ {0} ] \u65e0\u6cd5\u88c5\u5165\uff1a{1} \n {2} \n {3}" },
038:
039: { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
040: "\u7f13\u51b2\u533a\u5927\u5c0f <=0" },
041:
042: { MsgKey.ER_INVALID_UTF16_SURROGATE,
043: "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u66ff\u4ee3\u8005\uff1a{0}\uff1f" },
044:
045: { MsgKey.ER_OIERROR, "IO \u9519\u8bef" },
046:
047: {
048: MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
049: "\u5728\u751f\u6210\u5b50\u8282\u70b9\u4e4b\u540e\u6216\u5728\u751f\u6210\u5143\u7d20\u4e4b\u524d\u65e0\u6cd5\u6dfb\u52a0\u5c5e\u6027 {0}\u3002\u5c06\u5ffd\u7565\u5c5e\u6027\u3002" },
050:
051: {
052: MsgKey.ER_NAMESPACE_PREFIX,
053: "\u6ca1\u6709\u8bf4\u660e\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\u201c{0}\u201d\u3002" },
054:
055: // ER_STRAY_ATTRIBUTE needs translation
056: {
057: MsgKey.ER_STRAY_NAMESPACE,
058: "\u540d\u79f0\u7a7a\u95f4\u8bf4\u660e\u201c{0}\u201d=\u201c{1}\u201d\u5728\u5143\u7d20\u5916\u3002" },
059:
060: {
061: MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
062: "\u65e0\u6cd5\u88c5\u5165\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09\uff0c\u73b0\u5728\u53ea\u4f7f\u7528\u7f3a\u7701\u503c" },
063:
064: // ER_ILLEGAL_CHARACTER needs translation
065: {
066: MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
067: "\u65e0\u6cd5\u4e3a\u8f93\u51fa\u65b9\u6cd5\u201c{1}\u201d\u88c5\u8f7d\u5c5e\u6027\u6587\u4ef6\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09" },
068:
069: { MsgKey.ER_INVALID_PORT,
070: "\u65e0\u6548\u7684\u7aef\u53e3\u53f7" },
071:
072: { MsgKey.ER_PORT_WHEN_HOST_NULL,
073: "\u4e3b\u673a\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7aef\u53e3" },
074:
075: { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
076: "\u4e3b\u673a\u4e0d\u662f\u683c\u5f0f\u826f\u597d\u7684\u5730\u5740" },
077:
078: { MsgKey.ER_SCHEME_NOT_CONFORMANT,
079: "\u6a21\u5f0f\u4e0d\u4e00\u81f4\u3002" },
080:
081: { MsgKey.ER_SCHEME_FROM_NULL_STRING,
082: "\u65e0\u6cd5\u4ece\u7a7a\u5b57\u7b26\u4e32\u8bbe\u7f6e\u6a21\u5f0f" },
083:
084: { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
085: "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u8f6c\u4e49\u5e8f\u5217" },
086:
087: { MsgKey.ER_PATH_INVALID_CHAR,
088: "\u8def\u5f84\u5305\u542b\u975e\u6cd5\u5b57\u7b26\uff1a{0}" },
089:
090: { MsgKey.ER_FRAG_INVALID_CHAR,
091: "\u7247\u6bb5\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26" },
092:
093: { MsgKey.ER_FRAG_WHEN_PATH_NULL,
094: "\u8def\u5f84\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7247\u6bb5" },
095:
096: { MsgKey.ER_FRAG_FOR_GENERIC_URI,
097: "\u53ea\u80fd\u4e3a\u4e00\u822c URI \u8bbe\u7f6e\u7247\u6bb5" },
098:
099: { MsgKey.ER_NO_SCHEME_IN_URI,
100: "\u5728 URI \u4e2d\u627e\u4e0d\u5230\u6a21\u5f0f\uff1a{0}" },
101:
102: { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
103: "\u65e0\u6cd5\u4ee5\u7a7a\u53c2\u6570\u521d\u59cb\u5316 URI" },
104:
105: {
106: MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
107: "\u8def\u5f84\u548c\u7247\u6bb5\u4e2d\u90fd\u65e0\u6cd5\u6307\u5b9a\u7247\u6bb5" },
108:
109: {
110: MsgKey.ER_NO_QUERY_STRING_IN_PATH,
111: "\u8def\u5f84\u548c\u67e5\u8be2\u5b57\u7b26\u4e32\u4e2d\u4e0d\u80fd\u6307\u5b9a\u67e5\u8be2\u5b57\u7b26\u4e32" },
112:
113: {
114: MsgKey.ER_NO_PORT_IF_NO_HOST,
115: "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3" },
116:
117: {
118: MsgKey.ER_NO_USERINFO_IF_NO_HOST,
119: "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a Userinfo" },
120:
121: { MsgKey.ER_SCHEME_REQUIRED,
122: "\u6a21\u5f0f\u662f\u5fc5\u9700\u7684\uff01" }
123:
124: };
125: return contents;
126: }
127: }
|