From 92360e17ee1eec38f2303495e054f76c04d53b2d Mon Sep 17 00:00:00 2001 From: Young Date: Wed, 9 May 2018 12:39:10 +0800 Subject: [PATCH] =?UTF-8?q?BI-20297=20=E5=B0=86fineui=E7=9A=84=E6=BB=91?= =?UTF-8?q?=E5=9D=97=E6=8E=A7=E4=BB=B6=E5=9B=BD=E9=99=85=E5=8C=96=E5=A4=84?= =?UTF-8?q?=E7=90=86=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/version.js | 3 ++- src/widget/singleslider/singleslider.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/demo/version.js b/demo/version.js index f3a196808..ea3899e24 100644 --- a/demo/version.js +++ b/demo/version.js @@ -159,5 +159,6 @@ BI.i18n = { "BI-Microsoft_YaHei": "微软雅黑", "BI-Apple_Light": "苹方-light", "BI-Font_Family": "字体", - "BI-Basic_Please_Input_Content": "请输入内容" + "BI-Basic_Please_Input_Content": "请输入内容", + "BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值" }; \ No newline at end of file diff --git a/src/widget/singleslider/singleslider.js b/src/widget/singleslider/singleslider.js index 46c6cd920..1d684cc07 100644 --- a/src/widget/singleslider/singleslider.js +++ b/src/widget/singleslider/singleslider.js @@ -315,7 +315,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, { if (!isNaN(this.min) && !isNaN(this.max)) { this._setVisible(true); this.enable = true; - this.label.setErrorText(BI.i18nText("BI-Please_Enter") + this.min + "-" + this.max + BI.i18nText("BI-Basic_De") + BI.i18nText("BI-Basic_Number")); + this.label.setErrorText(BI.i18nText("BI-Basic_Please_Enter_Number_Between", this.min, this.max)); if (BI.isNumeric(this.value) || BI.isNotEmptyString(this.value)) { this.label.setValue(this.value); this._setAllPosition(this._getPercentByValue(this.value));