From 59ff9d2dd9a7bdaa86309bee42a585aa36523d7b Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 27 Apr 2017 16:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/case.js | 14 +++++++------- bi/widget.js | 6 +++--- docs/case.js | 14 +++++++------- docs/widget.js | 6 +++--- src/case/editor/editor.state.js | 8 ++++---- src/case/editor/editor.state.simple.js | 6 +++--- src/widget/date/trigger.date.js | 2 +- src/widget/numericalinterval/numericalinterval.js | 4 ++-- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/bi/case.js b/bi/case.js index d5d9092aaf..083490c44c 100644 --- a/bi/case.js +++ b/bi/case.js @@ -6159,7 +6159,7 @@ BI.StateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6335,7 +6335,7 @@ BI.StateEditor = BI.inherit(BI.Single, { this.text.setTitle(""); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } @@ -6343,7 +6343,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isString(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } else { @@ -6355,7 +6355,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isArray(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else if (v.length === 1) { this.text.setText(v[0]); @@ -6439,7 +6439,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6611,7 +6611,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setText(BI.i18nText("BI-Already_Selected")); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } return; @@ -6621,7 +6621,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setTitle(v); this.text.element.removeClass("state-editor-infinite-text"); } else if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else { this.text.setText(BI.i18nText("BI-Already_Selected")); diff --git a/bi/widget.js b/bi/widget.js index 59c2723881..6a1ea1dcd8 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -4927,7 +4927,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge hgap: c.hgap, vgap: c.vgap, allowBlank: true, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), errorText: function () { if (self.editor.isEditing()) { return BI.i18nText("BI-Date_Trigger_Error_Text"); @@ -12260,7 +12260,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.smallEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.min, level: "warning", @@ -12297,7 +12297,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.bigEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.max, level: "warning", diff --git a/docs/case.js b/docs/case.js index d5d9092aaf..083490c44c 100644 --- a/docs/case.js +++ b/docs/case.js @@ -6159,7 +6159,7 @@ BI.StateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6335,7 +6335,7 @@ BI.StateEditor = BI.inherit(BI.Single, { this.text.setTitle(""); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } @@ -6343,7 +6343,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isString(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } else { @@ -6355,7 +6355,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isArray(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else if (v.length === 1) { this.text.setText(v[0]); @@ -6439,7 +6439,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6611,7 +6611,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setText(BI.i18nText("BI-Already_Selected")); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } return; @@ -6621,7 +6621,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setTitle(v); this.text.element.removeClass("state-editor-infinite-text"); } else if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else { this.text.setText(BI.i18nText("BI-Already_Selected")); diff --git a/docs/widget.js b/docs/widget.js index 59c2723881..6a1ea1dcd8 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -4927,7 +4927,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge hgap: c.hgap, vgap: c.vgap, allowBlank: true, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), errorText: function () { if (self.editor.isEditing()) { return BI.i18nText("BI-Date_Trigger_Error_Text"); @@ -12260,7 +12260,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.smallEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.min, level: "warning", @@ -12297,7 +12297,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.bigEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.max, level: "warning", diff --git a/src/case/editor/editor.state.js b/src/case/editor/editor.state.js index fefe2bb1c9..0f2581fadb 100644 --- a/src/case/editor/editor.state.js +++ b/src/case/editor/editor.state.js @@ -50,7 +50,7 @@ BI.StateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -226,7 +226,7 @@ BI.StateEditor = BI.inherit(BI.Single, { this.text.setTitle(""); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } @@ -234,7 +234,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isString(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } else { @@ -246,7 +246,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isArray(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else if (v.length === 1) { this.text.setText(v[0]); diff --git a/src/case/editor/editor.state.simple.js b/src/case/editor/editor.state.simple.js index 2996daa9e8..522f1c7406 100644 --- a/src/case/editor/editor.state.simple.js +++ b/src/case/editor/editor.state.simple.js @@ -50,7 +50,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -222,7 +222,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setText(BI.i18nText("BI-Already_Selected")); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } return; @@ -232,7 +232,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setTitle(v); this.text.element.removeClass("state-editor-infinite-text"); } else if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else { this.text.setText(BI.i18nText("BI-Already_Selected")); diff --git a/src/widget/date/trigger.date.js b/src/widget/date/trigger.date.js index 11123572d9..3a1aeb6870 100644 --- a/src/widget/date/trigger.date.js +++ b/src/widget/date/trigger.date.js @@ -36,7 +36,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, { hgap: c.hgap, vgap: c.vgap, allowBlank: true, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), errorText: function () { if (self.editor.isEditing()) { return BI.i18nText("BI-Date_Trigger_Error_Text"); diff --git a/src/widget/numericalinterval/numericalinterval.js b/src/widget/numericalinterval/numericalinterval.js index 4599e1753f..4b523db483 100644 --- a/src/widget/numericalinterval/numericalinterval.js +++ b/src/widget/numericalinterval/numericalinterval.js @@ -33,7 +33,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.smallEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.min, level: "warning", @@ -70,7 +70,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.bigEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.max, level: "warning",