From 9121917b3bafe1701dc1e5704ce2c7fa0ae39c68 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 16 Jan 2022 13:00:44 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/layer/layer.popover.js | 2 +- src/case/combo/bubblecombo/popup.bubble.js | 4 ++-- src/case/layer/layer.multipopup.js | 2 +- src/widget/multiselect/multiselect.popup.view.js | 4 ++-- src/widget/multiselect/multiselect.popup.view.nobar.js | 4 ++-- src/widget/multitree/multi.tree.popup.js | 4 ++-- .../multitextvalue.popup.view.search.js | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/base/layer/layer.popover.js b/src/base/layer/layer.popover.js index 2ac5012d5..cc18fa06e 100644 --- a/src/base/layer/layer.popover.js +++ b/src/base/layer/layer.popover.js @@ -233,7 +233,7 @@ BI.shortcut("bi.popover", BI.Popover); BI.BarPopover = BI.inherit(BI.Popover, { _defaultConfig: function () { return BI.extend(BI.BarPopover.superclass._defaultConfig.apply(this, arguments), { - btns: [BI.i18nText("BI-Basic_Sure"), BI.i18nText("BI-Basic_Cancel")] + btns: [BI.i18nText("BI-Basic_OK"), BI.i18nText("BI-Basic_Cancel")] }); }, diff --git a/src/case/combo/bubblecombo/popup.bubble.js b/src/case/combo/bubblecombo/popup.bubble.js index 68804bc5b..f0a79f116 100644 --- a/src/case/combo/bubblecombo/popup.bubble.js +++ b/src/case/combo/bubblecombo/popup.bubble.js @@ -33,7 +33,7 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, { text: BI.i18nText("BI-Basic_Cancel"), ghost: true }, { - text: BI.i18nText(BI.i18nText("BI-Basic_Sure")), + text: BI.i18nText(BI.i18nText("BI-Basic_OK")), value: true }] }); @@ -112,7 +112,7 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, { }, { value: true, stopPropagation: true, - text: BI.i18nText("BI-Basic_Sure") + text: BI.i18nText("BI-Basic_OK") }] }; }, diff --git a/src/case/layer/layer.multipopup.js b/src/case/layer/layer.multipopup.js index 3979c6927..5b69dabe3 100644 --- a/src/case/layer/layer.multipopup.js +++ b/src/case/layer/layer.multipopup.js @@ -10,7 +10,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, { var conf = BI.MultiPopupView.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { _baseCls: (conf._baseCls || "") + " bi-multi-list-view", - buttons: [BI.i18nText("BI-Basic_Sure")] + buttons: [BI.i18nText("BI-Basic_OK")] }); }, diff --git a/src/widget/multiselect/multiselect.popup.view.js b/src/widget/multiselect/multiselect.popup.view.js index 9c6bac7f0..53e6209c4 100644 --- a/src/widget/multiselect/multiselect.popup.view.js +++ b/src/widget/multiselect/multiselect.popup.view.js @@ -38,7 +38,7 @@ BI.MultiSelectPopupView = BI.inherit(BI.Widget, { minWidth: opts.minWidth, maxHeight: opts.maxHeight, element: this, - buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")], + buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")], el: this.loader, value: opts.value }); @@ -92,4 +92,4 @@ BI.MultiSelectPopupView.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiSelectPopupView.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -BI.shortcut("bi.multi_select_popup_view", BI.MultiSelectPopupView); \ No newline at end of file +BI.shortcut("bi.multi_select_popup_view", BI.MultiSelectPopupView); diff --git a/src/widget/multiselect/multiselect.popup.view.nobar.js b/src/widget/multiselect/multiselect.popup.view.nobar.js index f5ba1cebd..26325a94e 100644 --- a/src/widget/multiselect/multiselect.popup.view.nobar.js +++ b/src/widget/multiselect/multiselect.popup.view.nobar.js @@ -38,7 +38,7 @@ BI.MultiSelectNoBarPopupView = BI.inherit(BI.Widget, { minWidth: opts.minWidth, maxHeight: opts.maxHeight, element: this, - buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")], + buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")], el: this.loader, value: opts.value }); @@ -88,4 +88,4 @@ BI.MultiSelectNoBarPopupView.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiSelectNoBarPopupView.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -BI.shortcut("bi.multi_select_no_bar_popup_view", BI.MultiSelectNoBarPopupView); \ No newline at end of file +BI.shortcut("bi.multi_select_no_bar_popup_view", BI.MultiSelectNoBarPopupView); diff --git a/src/widget/multitree/multi.tree.popup.js b/src/widget/multitree/multi.tree.popup.js index 14c7165d8..3032e34cf 100644 --- a/src/widget/multitree/multi.tree.popup.js +++ b/src/widget/multitree/multi.tree.popup.js @@ -42,7 +42,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { maxWidth: opts.maxWidth, minWidth: opts.minWidth, maxHeight: opts.maxHeight, - buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")], + buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")], el: this.tree }); @@ -99,4 +99,4 @@ BI.MultiTreePopup.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; BI.MultiTreePopup.EVENT_AFTERINIT = "EVENT_AFTERINIT"; -BI.shortcut("bi.multi_tree_popup_view", BI.MultiTreePopup); \ No newline at end of file +BI.shortcut("bi.multi_tree_popup_view", BI.MultiTreePopup); diff --git a/src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js b/src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js index c8df9e1a4..f1e6d7231 100644 --- a/src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js +++ b/src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js @@ -31,7 +31,7 @@ BI.SearchMultiSelectPopupView = BI.inherit(BI.Widget, { minWidth: opts.minWidth, maxHeight: opts.maxHeight, element: this, - buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_Sure")], + buttons: [BI.i18nText("BI-Basic_Clears"), BI.i18nText("BI-Basic_OK")], el: this.loader, value: opts.value }); @@ -85,4 +85,4 @@ BI.SearchMultiSelectPopupView.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.SearchMultiSelectPopupView.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -BI.shortcut("bi.search_multi_select_popup_view", BI.SearchMultiSelectPopupView); \ No newline at end of file +BI.shortcut("bi.search_multi_select_popup_view", BI.SearchMultiSelectPopupView);