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 <devel-sven@geroedel.de>
(cherry picked from commit b56912d9fcf6acb0ba3008de3df15188318376f2)
This commit is contained in:
Sven Roederer 2021-05-01 01:12:02 +02:00 committed by Florian Eckert
parent 9dc93d5d2f
commit 1a59584167

View file

@ -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)