From: Sven Roederer Date: Fri, 30 Apr 2021 23:12:02 +0000 (+0200) Subject: luci-base: change button-text from Dismiss to Close in UCI changes overview X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ddf6357cdae574b5e88213fa6af0a96f695e4283;p=project%2Fluci.git luci-base: change button-text from Dismiss to Close in UCI changes overview Change the left button of the UCI Apply-changes overview to the more correct function close. This also avoids confusion between Dismiss and Revert, which translate to the same in german. Signed-off-by: Sven Roederer --- diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 3a991be9ac..5a0e6d297b 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4063,7 +4063,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { E('button', { 'class': 'btn', 'click': UI.prototype.hideModal - }, [ _('Dismiss') ]), ' ', + }, [ _('Close') ]), ' ', E('button', { 'class': 'cbi-button cbi-button-positive important', 'click': L.bind(this.apply, this, true)