summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-06-06 02:47:56 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-06-06 02:56:28 +0200
commita6f8361a145d820c0820b44b9ac238b813623043 (patch)
treef8200bfeac3044b7d813a4d6408abaeb94ebcb9f /modules/luci-base/htdocs/luci-static/resources
parentfd9166c62006dbe091e62d7ced5f4f2549bebb38 (diff)
luci-base: clarify apply-settings strings
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 2533f45cec..90ff86b75a 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -4732,8 +4732,9 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
UI.prototype.changes.displayStatus('warning', [
E('h4', _('Connectivity change')),
- E('p', _('The network access to this device could be interrupted by changing settings of the "%h" interface.').format(affected)),
- E('p', _('If the IP address used to access LuCI changes, a <strong>manual reconnect to the new IP</strong> is required within %d seconds to confirm the settings, otherwise modifications will be reverted.').format(L.env.apply_rollback)),
+ 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('div', { 'class': 'right' }, [
E('button', {
'class': 'btn',
@@ -4742,11 +4743,11 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
E('button', {
'class': 'btn cbi-button-action important',
'click': resolveFn.bind(null, true)
- }, [ _('Apply with revert after connectivity loss') ]), ' ',
+ }, [ _('Apply, reverting if GUI remains unreachable') ]), ' ',
E('button', {
'class': 'btn cbi-button-negative important',
'click': resolveFn.bind(null, false)
- }, [ _('Apply and keep settings') ])
+ }, [ _('Apply, committing now') ])
])
]);
});