luci-base: change button-text from Dismiss to Close in UCI changes overview 5024/head
authorSven Roederer <devel-sven@geroedel.de>
Fri, 30 Apr 2021 23:12:02 +0000 (01:12 +0200)
committerSven Roederer <devel-sven@geroedel.de>
Mon, 3 May 2021 22:09:11 +0000 (00:09 +0200)
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>
modules/luci-base/htdocs/luci-static/resources/ui.js

index 3a991be9ac019ec538e561eb46c7aaad6327dec3..5a0e6d297b748b992792fcb4493bcb9e732bdb97 100644 (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)