1 /* Licensed to the Apache Software Foundation (ASF) under one or more
  2  * contributor license agreements.  See the NOTICE file distributed with
  3  * this work for additional information regarding copyright ownership.
  4  * The ASF licenses this file to you under the Apache License, Version 2.0
  5  * (the "License"); you may not use this file except in compliance with
  6  * the License.  You may obtain a copy of the License at
  7  *
  8  *      http://www.apache.org/licenses/LICENSE-2.0
  9  *
 10  * Unless required by applicable law or agreed to in writing, software
 11  * distributed under the License is distributed on an "AS IS" BASIS,
 12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  * See the License for the specific language governing permissions and
 14  * limitations under the License.
 15  */
 16 if (_MF_CLS) {
 17     /**
 18      * System messages Simplified Chinese version
 19      *
 20      * @class
 21      * @name Messages_zh_CN
 22      * @extends myfaces._impl.i18n.Messages
 23      * @memberOf myfaces._impl.i18n
 24      */
 25 _MF_CLS && _MF_CLS(_PFX_I18N+"Messages_zh_CN", myfaces._impl.i18n.Messages,
 26     /** @lends myfaces._impl.i18n.Messages_zh_CN.prototype */
 27     {
 28 
 29         MSG_TEST:               "测试信息",
 30 
 31         /*Messages*/
 32         /** @constant */
 33         MSG_DEV_MODE:           "请注意,此信息只在项目发展阶段,及没有注册错误监听器而发放。",
 34         /** @constant */
 35         MSG_AFFECTED_CLASS:     "受影响类别:",
 36         /** @constant */
 37         MSG_AFFECTED_METHOD:    "受影响方法:",
 38         /** @constant */
 39         MSG_ERROR_NAME:         "错误名称:",
 40         /** @constant */
 41         MSG_ERROR_MESSAGE:      "错误信息:",
 42         /** @constant */
 43         MSG_SERVER_ERROR_NAME:  "伺服器错误名称:",
 44         /** @constant */
 45         MSG_ERROR_DESC:         "错误说明:",
 46         /** @constant */
 47         MSG_ERROR_NO:           "错误号码:",
 48         /** @constant */
 49         MSG_ERROR_LINENO:       "错误行号:",
 50 
 51         /*Errors and messages*/
 52         /** @constant */
 53         ERR_FORM:               "不能判定源表单,要么没有连接元件到表单,要么有多个相同标识符或名称的表单,AJAX处理停止运作",
 54         /** @constant */
 55         ERR_VIEWSTATE:          "jsf.viewState:参数值不是表单类型!",
 56         /** @constant */
 57         ERR_TRANSPORT:          "不存在{0}传输类型",
 58         /** @constant */
 59         ERR_EVT_PASS:           "必须放弃事件(可能事件物件为空或未定义)",
 60         /** @constant */
 61         ERR_CONSTRUCT:          "构建事件数据时部分回应不能取得,原因是:{0}",
 62         /** @constant */
 63         ERR_MALFORMEDXML:       "无法解析伺服器的回应,伺服器返回的回应不是XML!",
 64         /** @constant */
 65         ERR_SOURCE_FUNC:        "来源不能是一个函数(可能来源和事件没有定义或设定为空)",
 66         /** @constant */
 67         ERR_EV_OR_UNKNOWN:      "事件物件或不明必须作为第二个参数传递",
 68         /** @constant */
 69         ERR_SOURCE_NOSTR:       "来源不能是字串",
 70         /** @constant */
 71         ERR_SOURCE_DEF_NULL:    "来源必须定义或为空",
 72 
 73         //_Lang.js
 74         /** @constant */
 75         ERR_MUST_STRING:        "{0}:{1} 名称空间必须是字串类型",
 76         /** @constant */
 77         ERR_REF_OR_ID:          "{0}:{1} 必须提供参考节点或标识符",
 78         /** @constant */
 79         ERR_PARAM_GENERIC:      "{0}:{1} 参数必须是 {2} 类型",
 80         /** @constant */
 81         ERR_PARAM_STR:          "{0}:{1} 参数必须是字串类型",
 82         /** @constant */
 83         ERR_PARAM_STR_RE:       "{0}:{1} 参数必须是字串类型或正规表达式",
 84         /** @constant */
 85         ERR_PARAM_MIXMAPS:      "{0}:必须提供来源及目标映射",
 86         /** @constant */
 87         ERR_MUST_BE_PROVIDED:   "{0}:必须提供 {1} 及 {2}",
 88         /** @constant */
 89         ERR_MUST_BE_PROVIDED1:  "{0}:必须设定 {1}",
 90 
 91         /** @constant */
 92         ERR_REPLACE_EL:         "调用replaceElements函数时evalNodes变量不是阵列类型",
 93 
 94         /** @constant */
 95         ERR_EMPTY_RESPONSE:     "{0}:回应不能为空的!",
 96         /** @constant */
 97         ERR_ITEM_ID_NOTFOUND:   "{0}:找不到有 {1} 标识符的项目",
 98         /** @constant */
 99         ERR_PPR_IDREQ:          "{0}:局部页面渲染嵌入错误,标识符必须存在",
100         /** @constant */
101         ERR_PPR_INSERTBEFID:    "{0}:局部页面渲染嵌入错误,前或后标识符必须存在",
102         /** @constant */
103         ERR_PPR_INSERTBEFID_1:  "{0}:局部页面渲染嵌入错误,前节点的标识符 {1} 不在文件内",
104         /** @constant */
105         ERR_PPR_INSERTBEFID_2:  "{0}:局部页面渲染嵌入错误,后节点的标识符 {1} 不在文件内",
106 
107         /** @constant */
108         ERR_PPR_DELID:          "{0}:删除错误,标识符不在XML标记中",
109         /** @constant */
110         ERR_PPR_UNKNOWNCID:     "{0}:不明的HTML组件标识符:{1}",
111 
112         /** @constant */
113         ERR_NO_VIEWROOTATTR:    "{0}:不支援改变ViewRoot属性",
114         /** @constant */
115         ERR_NO_HEADATTR:        "{0}:不支援改变Head的属性",
116         /** @constant */
117         ERR_RED_URL:            "{0}:没有重导向网址",
118 
119         /** @constant */
120         ERR_REQ_FAILED_UNKNOWN: "请求失败,状态不明",
121 
122         /** @constant */
123         ERR_REQU_FAILED: "请求失败,状态是 {0} 和原因是 {1}",
124 
125         /** @constant */
126         UNKNOWN: "不明"
127     });
128 }
129