luci-base: update connectivity change help text and button text
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 7 Jun 2024 10:11:11 +0000 (12:11 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 9 Jul 2024 14:19:51 +0000 (16:19 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-base/htdocs/luci-static/resources/ui.js

index ec94507cd8a6c89f59099f98e8c570ae20a8000c..2ee5fbe704e5568152f55902f138bbf19dca595b 100644 (file)
@@ -4730,9 +4730,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
 
                                        UI.prototype.changes.displayStatus('warning', [
                                                E('h4', _('Connectivity change')),
-                                               E('p', _('"%h" interface changes could inhibit access to this device.').format(affected)),
-                                               E('p', _('Any IP change requires <strong>connecting to the new IP</strong> within %d seconds to retain the changes.').format(L.env.apply_rollback)),
-                                               E('p', _('Choose how to apply changes:')),
+                                               E('p', _('Changes have been made to the existing connection via "%h". This could inhibit access to this device. Any IP change requires <strong>connecting to the new IP</strong> within %d seconds to retain the changes.').format(affected, L.env.apply_rollback)),
                                                E('div', { 'class': 'right' }, [
                                                        E('div', {
                                                                'class': 'btn cbi-button',
@@ -4741,11 +4739,11 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
                                                        E('div', {
                                                                'class': 'btn cbi-button-action important',
                                                                'click': resolveFn.bind(null, true)
-                                                       }, [ _('Apply, reverting if GUI remains unreachable') ]), ' ',
+                                                       }, [ _('Apply, reverting in case of connectivity loss') ]), ' ',
                                                        E('div', {
                                                                'class': 'btn cbi-button-negative important',
                                                                'click': resolveFn.bind(null, false)
-                                                       }, [ _('Apply, committing now') ])
+                                                       }, [ _('Apply unchecked') ])
                                                ])
                                        ]);
                                });