diff options
author | j180240 <jiaxiangli@huawei.com> | 2016-09-13 15:37:48 +0800 |
---|---|---|
committer | j180240 <jiaxiangli@huawei.com> | 2016-09-13 15:37:48 +0800 |
commit | 9230369a383b8bdd4b51940c69000a4fbc4aa6b1 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /roc-iui/src/main/resources/webroot/roc-vim/i18n | |
parent | d0cd8bdedcb2809d51ff960af8e8a39aed732fe9 (diff) |
clear the old code.
Change-Id: I6e3116979251f69e728f2a20006421948e1c4b35
Signed-off-by: j180240 <jiaxiangli@huawei.com>
Diffstat (limited to 'roc-iui/src/main/resources/webroot/roc-vim/i18n')
3 files changed, 0 insertions, 222 deletions
diff --git a/roc-iui/src/main/resources/webroot/roc-vim/i18n/loadi18nApp.js b/roc-iui/src/main/resources/webroot/roc-vim/i18n/loadi18nApp.js deleted file mode 100644 index 8b59025f..00000000 --- a/roc-iui/src/main/resources/webroot/roc-vim/i18n/loadi18nApp.js +++ /dev/null @@ -1,43 +0,0 @@ -/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
- *
- * 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.
- */
-function loadPropertiesSideMenu(lang, propertiesFileNamePrefix, propertiesFilePath){
- jQuery.i18n.properties({
- language:lang,
- name:propertiesFileNamePrefix,
- path:propertiesFilePath, // 资源文件路径
- mode:'map', // 用 Map 的方式使用资源文件中的值
- callback: function() {// 加载成功后设置显示内容
- var i18nItems = $('[name_i18n=com_zte_conductor_ui_i18n]');
- for(var i=0;i<i18nItems.length;i++){
- var $item = $(i18nItems.eq(i));
- var itemId = $item.attr('id_i18n');
- var itemTitle = $item.attr('title');
- /** id存在时元素内容需要国际化,title存在时元素title需要国际化 */
- if(typeof($item.attr("title")) == "string"){
- $item.attr("title", ($.i18n.prop(itemTitle)));
- }
- if(undefined != itemId && typeof($item.attr("placeholder"))=="undefined"){
- $item.text($.i18n.prop(itemId));
- }else if(undefined != itemId && typeof($item.attr("placeholder"))!="undefined"){
- $item.attr("placeholder", $.i18n.prop(itemId));
- }
- }
- }
- });
-}
-var lang = getLanguage();
-loadPropertiesSideMenu(lang, 'roc-vim-iui-i18n', 'i18n/');
-
diff --git a/roc-iui/src/main/resources/webroot/roc-vim/i18n/roc-vim-iui-i18n-en-US.properties b/roc-iui/src/main/resources/webroot/roc-vim/i18n/roc-vim-iui-i18n-en-US.properties deleted file mode 100644 index 8a9afd16..00000000 --- a/roc-iui/src/main/resources/webroot/roc-vim/i18n/roc-vim-iui-i18n-en-US.properties +++ /dev/null @@ -1,89 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# 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.
-#
-
-############## vimView.html i18n ##############
-com_zte_ums_eco_roc_vim_checking_status=Checking vim status...
-com_zte_ums_eco_roc_vim_name=Display name
-com_zte_ums_eco_roc_vim_auth_url=Auth URL
-com_zte_ums_eco_roc_vim_username=Username
-com_zte_ums_eco_roc_vim_password=Password
-com_zte_ums_eco_roc_vim_tenant=Tenant
-com_zte_ums_eco_roc_vim_vendor=Vendor
-com_zte_ums_eco_roc_vim_type=Type
-com_zte_ums_eco_roc_vim_cancel=Cancel
-com_zte_ums_eco_roc_vim_save=Save
-com_zte_ums_eco_roc_vim_status_update_time=Status update time:
-com_zte_ums_eco_roc_vim_register=Register
-com_zte_ums_eco_roc_vim_normal=Normal
-com_zte_ums_eco_roc_vim_abnormal=Abnormal
-com_zte_ums_eco_roc_vim_display_type=Type:
-com_zte_ums_eco_roc_vim_total=Total
-com_zte_ums_eco_roc_vim_metric=vims
-com_zte_ums_eco_roc_vim_register_info=Register
-com_zte_ums_eco_roc_vim_modify_info=Modify
-
-############## js ######################
-com_zte_ums_eco_roc_vim_auth_url_require_message=please input auth url
-com_zte_ums_eco_roc_vim_auth_url_alarm_message=example: http://xx.xx.xx.xx:5000/v2.0
-com_zte_ums_eco_roc_vim_name_alarm_message=please input vim name
-com_zte_ums_eco_roc_vim_username_alarm_message=please input username
-com_zte_ums_eco_roc_vim_password_alarm_message=please input password
-com_zte_ums_eco_roc_vim_tenant_alarm_message=please input tenant
-
-com_zte_ums_eco_roc_vim_getting_info=getting info...
-com_zte_ums_eco_roc_vim_dealing_info=dealing
-com_zte_ums_eco_roc_vim_confirm_delete_vim_record=Do you want to delete this instance?
-com_zte_ums_eco_roc_vim_vdu_isExists=This VIM's VUDs are used, you can't remove it.
-com_zte_ums_eco_roc_vim_growl_msg_query_vdu_failed=query VDU failed
-
-com_zte_ums_eco_roc_vim_growl_msg_title=vim info
-com_zte_ums_eco_roc_vim_growl_msg_remove_success=delete success
-com_zte_ums_eco_roc_vim_growl_msg_remove_failed=delete failed
-com_zte_ums_eco_roc_vim_growl_msg_remove_server_success=delete server success:
-com_zte_ums_eco_roc_vim_growl_msg_remove_server_failed=delete server falied:
-com_zte_ums_eco_roc_vim_growl_msg_query_failed=query faile
-
-com_zte_ums_eco_roc_vim_growl_msg_save_success=save success
-com_zte_ums_eco_roc_vim_growl_msg_save_failed=save failed
-com_zte_ums_eco_roc_vim_growl_msg_add_server_success=add server success, access port:
-com_zte_ums_eco_roc_vim_growl_msg_add_server_failed=add server falied:
-
-
-############## vimChart.html i18n ##############
-
-com_zte_ums_eco_roc_vim_resource_use=-resource using status
-com_zte_ums_eco_roc_vim_resource_vim_use=virtual machine manager resource using status
-com_zte_ums_eco_roc_vim_resource_tenant_use=-tenant quota using status
-
-com_zte_ums_eco_roc_vim_resource_chart_used=used:
-com_zte_ums_eco_roc_vim_resource_chart_total=total:
-com_zte_ums_eco_roc_vim_resource_chart_return=return
-com_zte_ums_eco_roc_vim_resource_chart_save_picture=save picture as
-com_zte_ums_eco_roc_vim_resource_chart_click_save=click save
-
-com_zte_ums_eco_roc_vim_resource_vim_cpu=CPU
-com_zte_ums_eco_roc_vim_resource_vim_memory=Memory
-com_zte_ums_eco_roc_vim_resource_vim_disk=Disk
-
-com_zte_ums_eco_roc_vim_resource_tenant_cpu=CPU
-com_zte_ums_eco_roc_vim_resource_tenant_memoryMb=Memory
-com_zte_ums_eco_roc_vim_resource_tenant_instances=Instances
-com_zte_ums_eco_roc_vim_resource_tenant_floatingIps=FloatingIps
-com_zte_ums_eco_roc_vim_resource_tenant_securityGroups=securityGroup
-com_zte_ums_eco_roc_vim_resource_tenant_volumeStorage=volumeStorage
-com_zte_ums_eco_roc_vim_resource_tenant_volumes=Volumes
-
-com_zte_ums_eco_roc_vim_title_notice=Notice:
diff --git a/roc-iui/src/main/resources/webroot/roc-vim/i18n/roc-vim-iui-i18n-zh-CN.properties b/roc-iui/src/main/resources/webroot/roc-vim/i18n/roc-vim-iui-i18n-zh-CN.properties deleted file mode 100644 index ff3639bd..00000000 --- a/roc-iui/src/main/resources/webroot/roc-vim/i18n/roc-vim-iui-i18n-zh-CN.properties +++ /dev/null @@ -1,90 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# 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.
-#
-
-############## vimView.html i18n ##############
-com_zte_ums_eco_roc_vim_checking_status=vim连接状态检查中...
-com_zte_ums_eco_roc_vim_name=名称
-com_zte_ums_eco_roc_vim_auth_url=接入URL
-com_zte_ums_eco_roc_vim_username=用户名
-com_zte_ums_eco_roc_vim_password=密码
-com_zte_ums_eco_roc_vim_tenant=租户
-com_zte_ums_eco_roc_vim_vendor=厂商
-com_zte_ums_eco_roc_vim_type=类型
-com_zte_ums_eco_roc_vim_cancel=取消
-com_zte_ums_eco_roc_vim_save=保存
-com_zte_ums_eco_roc_vim_status_update_time=状态更新时间:
-com_zte_ums_eco_roc_vim_register=注册VIM
-com_zte_ums_eco_roc_vim_normal=正常
-com_zte_ums_eco_roc_vim_abnormal=报警
-com_zte_ums_eco_roc_vim_display_type=类型:
-com_zte_ums_eco_roc_vim_total=共
-com_zte_ums_eco_roc_vim_metric=个vim
-com_zte_ums_eco_roc_vim_register_info=注册vim信息
-com_zte_ums_eco_roc_vim_modify_info=修改vim信息
-
-############## js ######################
-com_zte_ums_eco_roc_vim_auth_url_require_message=请输入url
-com_zte_ums_eco_roc_vim_auth_url_alarm_message=url格式有误(参考:http://xx.xx.xx.xx:5000/v2.0)
-com_zte_ums_eco_roc_vim_name_alarm_message=请输入名称
-com_zte_ums_eco_roc_vim_username_alarm_message=请输入用户名
-com_zte_ums_eco_roc_vim_password_alarm_message=请输入密码
-com_zte_ums_eco_roc_vim_tenant_alarm_message=请输入租户
-
-com_zte_ums_eco_roc_vim_getting_info=获取中...
-com_zte_ums_eco_roc_vim_dealing_info=处理中...
-
-com_zte_ums_eco_roc_vim_confirm_delete_vim_record=确定删除所选vim信息?
-com_zte_ums_eco_roc_vim_vdu_isExists=业务编排仍在使用此VIM上的VDU,不能删除它
-com_zte_ums_eco_roc_vim_growl_msg_query_vdu_failed=查询VDU失败
-
-
-com_zte_ums_eco_roc_vim_growl_msg_title=vim信息
-com_zte_ums_eco_roc_vim_growl_msg_remove_success=删除成功
-com_zte_ums_eco_roc_vim_growl_msg_remove_failed=删除失败
-com_zte_ums_eco_roc_vim_growl_msg_save_success=保存成功
-com_zte_ums_eco_roc_vim_growl_msg_save_failed=保存失败
-com_zte_ums_eco_roc_vim_growl_msg_remove_server_success=删除Server成功:
-com_zte_ums_eco_roc_vim_growl_msg_remove_server_failed=删除Server失败:
-com_zte_ums_eco_roc_vim_growl_msg_query_failed=查询失败
-com_zte_ums_eco_roc_vim_growl_msg_add_server_success=增加Server成功,端口号:
-com_zte_ums_eco_roc_vim_growl_msg_add_server_failed=增加Server失败:
-
-
-############## vimChart.html i18n ##############
-
-com_zte_ums_eco_roc_vim_resource_use=-资源使用情况
-com_zte_ums_eco_roc_vim_resource_vim_use=虚拟机管理器资源使用情况
-com_zte_ums_eco_roc_vim_resource_tenant_use=-租户配额使用情况
-
-com_zte_ums_eco_roc_vim_resource_chart_used=已用:
-com_zte_ums_eco_roc_vim_resource_chart_total=总共:
-com_zte_ums_eco_roc_vim_resource_chart_return=返回
-com_zte_ums_eco_roc_vim_resource_chart_save_picture=保存为图片
-com_zte_ums_eco_roc_vim_resource_chart_click_save=点击保存
-
-com_zte_ums_eco_roc_vim_resource_vim_cpu=虚拟内核
-com_zte_ums_eco_roc_vim_resource_vim_memory=内存
-com_zte_ums_eco_roc_vim_resource_vim_disk=磁盘
-
-com_zte_ums_eco_roc_vim_resource_tenant_cpu=虚拟内核
-com_zte_ums_eco_roc_vim_resource_tenant_memoryMb=内存
-com_zte_ums_eco_roc_vim_resource_tenant_instances=实例
-com_zte_ums_eco_roc_vim_resource_tenant_floatingIps=浮动IP
-com_zte_ums_eco_roc_vim_resource_tenant_securityGroups=安全组
-com_zte_ums_eco_roc_vim_resource_tenant_volumeStorage=卷存储
-com_zte_ums_eco_roc_vim_resource_tenant_volumes=云硬盘
-
-com_zte_ums_eco_roc_vim_title_notice=提示:
\ No newline at end of file |