Browse Source

Pull request #2229: 无JIRA任务 国际化修改

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '8c80b4d4b5f78d3b4192fdaa4f2697681fe68dea':
  无JIRA任务 国际化修改
es6
windy 3 years ago
parent
commit
f364386459
  1. 3
      i18n/i18n.cn.js
  2. 4
      src/widget/multiselect/search/multiselect.search.insert.pane.js
  3. 4
      src/widget/singleselect/search/singleselect.search.pane.insert.js

3
i18n/i18n.cn.js

@ -166,7 +166,8 @@ BI.i18n = {
"BI-More_Than": "大于", "BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于", "BI-More_And_Equal": "大于等于",
"BI-Please_Enter_SQL": "请输入SQL", "BI-Please_Enter_SQL": "请输入SQL",
"BI-Basic_Click_To_Add_Text": "点按回车键添加\"{R1}\"", "BI-Basic_Click_To_Add_Text": "+点击新增\"{R1}\"",
"BI-Basic_Press_Enter_To_Add_Text": "点按回车键添加\"{R1}\"",
"BI-Basic_Please_Select": "请选择", "BI-Basic_Please_Select": "请选择",
"BI-Basic_Font_Color": "文字颜色", "BI-Basic_Font_Color": "文字颜色",
"BI-Basic_Background_Color": "背景色", "BI-Basic_Background_Color": "背景色",

4
src/widget/multiselect/search/multiselect.search.insert.pane.js

@ -29,7 +29,7 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, {
this.addNotMatchTip = BI.createWidget({ this.addNotMatchTip = BI.createWidget({
type: "bi.label", type: "bi.label",
text: BI.i18nText("BI-Basic_Click_To_Add_Text", ""), text: BI.i18nText("BI-Basic_Press_Enter_To_Add_Text", ""),
height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT,
cls: "bi-keyword-red-mark", cls: "bi-keyword-red-mark",
hgap: 5, hgap: 5,
@ -65,7 +65,7 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, {
}, },
setKeyword: function (keyword) { setKeyword: function (keyword) {
this.addNotMatchTip.setText(BI.i18nText("BI-Basic_Click_To_Add_Text", keyword)); this.addNotMatchTip.setText(BI.i18nText("BI-Basic_Press_Enter_To_Add_Text", keyword));
}, },
isAllSelected: function () { isAllSelected: function () {

4
src/widget/singleselect/search/singleselect.search.pane.insert.js

@ -29,7 +29,7 @@ BI.SingleSelectSearchInsertPane = BI.inherit(BI.Widget, {
this.addNotMatchTip = BI.createWidget({ this.addNotMatchTip = BI.createWidget({
type: "bi.label", type: "bi.label",
text: BI.i18nText("BI-Basic_Click_To_Add_Text", ""), text: BI.i18nText("BI-Basic_Press_Enter_To_Add_Text", ""),
height: this.constants.height, height: this.constants.height,
cls: "bi-keyword-red-mark", cls: "bi-keyword-red-mark",
hgap: 5, hgap: 5,
@ -66,7 +66,7 @@ BI.SingleSelectSearchInsertPane = BI.inherit(BI.Widget, {
}, },
setKeyword: function (keyword) { setKeyword: function (keyword) {
this.addNotMatchTip.setText(BI.i18nText("BI-Basic_Click_To_Add_Text", keyword)); this.addNotMatchTip.setText(BI.i18nText("BI-Basic_Press_Enter_To_Add_Text", keyword));
}, },
hasMatched: function () { hasMatched: function () {

Loading…
Cancel
Save