summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-06-07 12:11:11 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-07-09 16:19:51 +0200
commit4d2364dbe47f014bc508317f55ea19d08f4a771a (patch)
treeedadfe8ec4ebc520f41efa9ce810a7e6ccbcf285 /modules
parentce34e99400aa376bb9a9ced9b7b5d5fe330cdb43 (diff)
luci-base: update connectivity change help text and button text
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js8
1 files 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 <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') ])
])
]);
});