diff options
Diffstat (limited to 'nsoc-iui/src/main/resources/webroot/nsoc/js/component/loadi18n_nsoc.js')
-rw-r--r-- | nsoc-iui/src/main/resources/webroot/nsoc/js/component/loadi18n_nsoc.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/nsoc-iui/src/main/resources/webroot/nsoc/js/component/loadi18n_nsoc.js b/nsoc-iui/src/main/resources/webroot/nsoc/js/component/loadi18n_nsoc.js deleted file mode 100644 index c809aa26..00000000 --- a/nsoc-iui/src/main/resources/webroot/nsoc/js/component/loadi18n_nsoc.js +++ /dev/null @@ -1,23 +0,0 @@ -function loadPropertiesSideMenu(lang, fileNamePrefix, filePath){
- jQuery.i18n.properties({
- language:lang,
- name:fileNamePrefix,
- path:filePath,
- mode:'map',
- callback: function() {
- var i18nItems = $("[name_i18n=com_zte_nfv_nsoc_i18n]");
- for(var i=0;i<i18nItems.length;i++) {
- var $item = $(i18nItems.eq(i));
- var itemId = $item.attr("id");
- var itemTitle = $item.attr("title");
- if(typeof(itemTitle) != "undefined") {
- $item.attr("title", $.i18n.prop(itemId));
- } else {
- $item.text($.i18n.prop(itemId));
- }
- }
- }
- });
-}
-var lang = getLanguage();
-loadPropertiesSideMenu(lang, 'nfv-nso-iui-i18n', 'i18n/');
\ No newline at end of file |