Browse Source

无JIRA任务 国际化key更换

es6
windy 3 years ago
parent
commit
9642835ad1
  1. 4
      i18n/i18n.cn.js
  2. 4
      src/case/button/switch.js

4
i18n/i18n.cn.js

@ -199,6 +199,6 @@ BI.i18n = {
"BI-Basic_Search_And_Patch_Paste": "搜索,支持批量粘贴、粘贴值通过换行识别",
"BI-Basic_Recommend_Color": "推荐色",
"BI-Basic_Too_Much_Value_Get_Two_Thousand": "粘贴的值过多,只能识别出前2000个值",
"BI-Basic_Open": "开",
"BI-Basic_Close": "关",
"BI-Basic_Simple_Open": "开",
"BI-Basic_Simple_Close": "关",
};

4
src/case/button/switch.js

@ -39,7 +39,7 @@ BI.Switch = BI.inherit(BI.BasicButton, {
left: this.options.selected ? 28 : 4
}, {
type: "bi.label",
text: BI.i18nText("BI-Basic_Open"),
text: BI.i18nText("BI-Basic_Simple_Open"),
cls: "content-tip",
left: 8,
top: tgap - 2,
@ -49,7 +49,7 @@ BI.Switch = BI.inherit(BI.BasicButton, {
}
}, {
type: "bi.label",
text: BI.i18nText("BI-Basic_Close"),
text: BI.i18nText("BI-Basic_Simple_Close"),
cls: "content-tip",
right: 8,
top: tgap - 2,

Loading…
Cancel
Save