From 4d2364dbe47f014bc508317f55ea19d08f4a771a Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 7 Jun 2024 12:11:11 +0200 Subject: luci-base: update connectivity change help text and button text Signed-off-by: Florian Eckert --- modules/luci-base/htdocs/luci-static/resources/ui.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index ec94507cd8..2ee5fbe704 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -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 connecting to the new IP 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 connecting to the new IP 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') ]) ]) ]); }); -- cgit v1.2.3