From 37690e1d995c19a32bfbe149ceb8446897865001 Mon Sep 17 00:00:00 2001 From: HePeng Date: Mon, 30 Mar 2020 14:38:36 +0800 Subject: Add NFVO GUI internationalization File NFVO lacks a internationalization Chinese attribute file,completes it. Issue-ID: AAI-2847 Change-Id: Ic97ecb3b0029f50591e677391fa0fc194e98917e Signed-off-by: HePeng --- .../nfvo/i18n/nfv-nso-iui-i18n-zh-CN.properties | 57 ++++++++++++++++++++++ .../main/webapp/extsys/nfvo/js/loadi18n_nsoc.js | 3 +- 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 portal/src/main/webapp/extsys/nfvo/i18n/nfv-nso-iui-i18n-zh-CN.properties diff --git a/portal/src/main/webapp/extsys/nfvo/i18n/nfv-nso-iui-i18n-zh-CN.properties b/portal/src/main/webapp/extsys/nfvo/i18n/nfv-nso-iui-i18n-zh-CN.properties new file mode 100644 index 0000000..1db4872 --- /dev/null +++ b/portal/src/main/webapp/extsys/nfvo/i18n/nfv-nso-iui-i18n-zh-CN.properties @@ -0,0 +1,57 @@ +# +# Copyright (C) 2019 ZTE. All Rights Reserved +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +//nfvo +nfv-nfvo-iui-title=NFVO管理 +nfv-nfvo-iui-message-title=NFVO信息 +nfv-nfvo-iui-message-query-fail=查询NFVO失败。 +nfv-nfvo-iui-message-save-success=保存成功。 +nfv-nfvo-iui-message-save-fail=保存失败。 +nfv-nfvo-iui-message-nfvo-already-exists=NFVO已存在。 +nfv-nfvo-iui-message-update-success=更新成功 +nfv-nfvo-iui-message-update-fail=更新失败 +nfv-nfvo-iui-message-delete-confirm=确定删除所选NFVO信息? +nfv-nfvo-iui-message-delete-success=NFVO信息删除成功。 +nfv-nfvo-iui-message-delete-fail=NFVO信息删除失败。 + +nfv-nfvo-iui-text-update=修改NFVO信息 +nfv-nfvo-iui-text-register=注册NFVO信息 +nfv-nfvo-iui-text-name=名称 +nfv-nfvo-iui-text-type=类型 +nfv-nfvo-iui-text-version=版本 +nfv-nfvo-iui-text-certificateUrl=认证URL +nfv-nfvo-iui-text-vendor=厂商 +nfv-nfvo-iui-text-userName=接入用户 +nfv-nfvo-iui-text-password=接入密码 +nfv-nfvo-iui-text_description=描述 +nfv-nfvo-iui-text-cancelBtn=取消 +nfv-nfvo-iui-text-saveBtn=保存 +nfv-nfvo-iui-text-registerBtn=注册 +nfv-nfvo-iui-text-status-normal=正常 +nfv-nfvo-iui-text-status-fail=报警 +nfv-nfvo-iui-text-total=共 +nfv-nfvo-iui-text-total-nfvo= NFVO + +nfv-nfvo-iui-validate-name=请输入名称 +nfv-nfvo-iui-validate-type=请输入NFVO类型 +nfv-nfvo-iui-validate-version=请输入版本 +nfv-nfvo-iui-validate-vendor=请输入厂商 +nfv-nfvo-iui-validate-nfvo=请选择NFVO +nfv-nfvo-iui-validate-url-required=请输入URL +nfv-nfvo-iui-validate-url=请输入正确的URL +nfv-nfvo-iui-text-url-tip=例如:http://10.0.0.1 + + diff --git a/portal/src/main/webapp/extsys/nfvo/js/loadi18n_nsoc.js b/portal/src/main/webapp/extsys/nfvo/js/loadi18n_nsoc.js index 22cd768..0d5c241 100644 --- a/portal/src/main/webapp/extsys/nfvo/js/loadi18n_nsoc.js +++ b/portal/src/main/webapp/extsys/nfvo/js/loadi18n_nsoc.js @@ -19,6 +19,7 @@ function loadPropertiesSideMenu(lang, fileNamePrefix, filePath) { name: fileNamePrefix, path: filePath, mode: 'map', + encoding: 'UTF-8', callback: function () { var i18nItems = $("[name_i18n=com_vz_nfv_nsoc_i18n]"); for (var i = 0; i < i18nItems.length; i++) { @@ -34,4 +35,4 @@ function loadPropertiesSideMenu(lang, fileNamePrefix, filePath) { } }); } -loadPropertiesSideMenu('en-US', 'nfv-nso-iui-i18n', 'i18n/'); \ No newline at end of file +loadPropertiesSideMenu('en-US', 'nfv-nso-iui-i18n', 'i18n/'); -- cgit 1.2.3-korg