diff options
author | 2018-07-14 10:33:24 +0800 | |
---|---|---|
committer | 2018-07-14 10:33:30 +0800 | |
commit | 38e3f07a034aa0e9579a1adcee251b94ef2784ae (patch) | |
tree | 73f0cc096646d1e99e52391d776dc3280764a839 /apiroute/apiroute-service/src/main/resources/iui-route/i18n | |
parent | 59f49523abbbc1097f1e7dd39bde9636fcdc6d9d (diff) |
Remove Chinese comments
Issue-ID: MSB-212
Change-Id: Ida8c388ca29fb73aa08d0e6d1e6140b0dbb5c315
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'apiroute/apiroute-service/src/main/resources/iui-route/i18n')
-rw-r--r-- | apiroute/apiroute-service/src/main/resources/iui-route/i18n/loadi18nApp_iui-route_view.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apiroute/apiroute-service/src/main/resources/iui-route/i18n/loadi18nApp_iui-route_view.js b/apiroute/apiroute-service/src/main/resources/iui-route/i18n/loadi18nApp_iui-route_view.js index f1b0277..a85a09a 100644 --- a/apiroute/apiroute-service/src/main/resources/iui-route/i18n/loadi18nApp_iui-route_view.js +++ b/apiroute/apiroute-service/src/main/resources/iui-route/i18n/loadi18nApp_iui-route_view.js @@ -17,16 +17,16 @@ function loadPropertiesSideMenu(lang, propertiesFileNamePrefix, propertiesFilePa jQuery.i18n.properties({ // language:lang, name:propertiesFileNamePrefix, - path:propertiesFilePath, // 资源文件路径 - mode:'map', // 用 Map 的方式使用资源文件中的值 - callback: function() {// 加载成功后设置显示内容 + path:propertiesFilePath, + mode:'map', + callback: function() { var i18nItems = $('[name_i18n=org_onap_msb_route_ui_i18n]'); for(var i=0;i<i18nItems.length;i++){ var $item = $(i18nItems.eq(i)); var itemId = $item.attr('id'); var itemTitle = $item.attr('title'); - /** id存在时元素内容需要国际化,title存在时元素title需要国际化 */ + if(typeof($item.attr("title")) == "string"){ $item.attr("title", ($.i18n.prop(itemTitle))); } |