日志趋势图提示信息国际化

(cherry picked from commit ae4cca4dfe)
This commit is contained in:
dongxiaoyan
2019-02-18 10:06:12 +00:00
committed by 董晓燕
parent d1f64348f4
commit 8685886b88
4 changed files with 10 additions and 5 deletions

View File

@@ -406,7 +406,10 @@ function showActionTransChart(xData,series){
return prev + curr;
});
}
//配置趋势图需特殊提示所以从公共js文件中拿出无数据提示方法到本文件中
var log_data=$.validator.messages.log_no_data;
(function(d) {
"object" === typeof module && module.exports ? module.exports = d: d(Highcharts)
})(function(d) { (function(c) {
@@ -416,8 +419,7 @@ function showActionTransChart(xData,series){
g = c.extend,
h = c.each;
g(f.lang, {
noData: "No data display within a specified time range"
//noData: "There is no data this hour."
noData: log_data
});
f.noData = {
position: {

View File

@@ -89,6 +89,7 @@
arbitrary:"Arbitrarily",
log_trend:"Log Trend",
info:"Prompt",
protect_warn:"Policy with relax precondition may consume too much resources.Use with cautions!"
protect_warn:"Policy with relax precondition may consume too much resources.Use with cautions!",
log_no_data:"This hour no data"
});
}(jQuery));

View File

@@ -89,6 +89,7 @@
arbitrary:"Любой",
log_trend:"Журнал Тенденция",
info:"Инфо",
protect_warn:"Policy with relax precondition may consume too much resources.Use with cautions!"
protect_warn:"Policy with relax precondition may consume too much resources.Use with cautions!",
log_no_data:"Нет данных за этот час"
});
}(jQuery));

View File

@@ -89,6 +89,7 @@
arbitrary:"任意",
log_trend:"日志趋势",
info:"提示",
protect_warn:"该策略执行条件过于宽泛,会消耗较多的计算资源。慎用!"
protect_warn:"该策略执行条件过于宽泛,会消耗较多的计算资源。慎用!",
log_no_data:"本小时无数据"
});
}(jQuery));