mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
luci-base: update connectivity change help text and button text
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -4730,9 +4730,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
|
|||||||
|
|
||||||
UI.prototype.changes.displayStatus('warning', [
|
UI.prototype.changes.displayStatus('warning', [
|
||||||
E('h4', _('Connectivity change')),
|
E('h4', _('Connectivity change')),
|
||||||
E('p', _('"%h" interface changes could inhibit access to this device.').format(affected)),
|
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('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('div', { 'class': 'right' }, [
|
||||||
E('div', {
|
E('div', {
|
||||||
'class': 'btn cbi-button',
|
'class': 'btn cbi-button',
|
||||||
@@ -4741,11 +4739,11 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
|
|||||||
E('div', {
|
E('div', {
|
||||||
'class': 'btn cbi-button-action important',
|
'class': 'btn cbi-button-action important',
|
||||||
'click': resolveFn.bind(null, true)
|
'click': resolveFn.bind(null, true)
|
||||||
}, [ _('Apply, reverting if GUI remains unreachable') ]), ' ',
|
}, [ _('Apply, reverting in case of connectivity loss') ]), ' ',
|
||||||
E('div', {
|
E('div', {
|
||||||
'class': 'btn cbi-button-negative important',
|
'class': 'btn cbi-button-negative important',
|
||||||
'click': resolveFn.bind(null, false)
|
'click': resolveFn.bind(null, false)
|
||||||
}, [ _('Apply, committing now') ])
|
}, [ _('Apply unchecked') ])
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user