mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-03-13 22:12:41 +03:00
luci: updater: Rename button and title
This commit is contained in:
@@ -378,9 +378,9 @@ return view.extend({
|
|||||||
btn_diag.onclick = ui.createHandlerFn(this, () => { diagnost.openDiagnostDialog(this.pkg_arch) });
|
btn_diag.onclick = ui.createHandlerFn(this, () => { diagnost.openDiagnostDialog(this.pkg_arch) });
|
||||||
layout_append('Diagnostic tools', null, [ btn_diag ] );
|
layout_append('Diagnostic tools', null, [ btn_diag ] );
|
||||||
|
|
||||||
let btn_update = create_btn('btn_update', btn_style_action, _('Update'));
|
let btn_update = create_btn('btn_update', btn_style_action, _('Upgrade…'));
|
||||||
btn_update.onclick = ui.createHandlerFn(this, () => { updater.openUpdateDialog(this.pkg_arch) });
|
btn_update.onclick = ui.createHandlerFn(this, () => { updater.openUpdateDialog(this.pkg_arch) });
|
||||||
layout_append(_('Update package'), null, [ btn_update ] );
|
layout_append(_('Upgrading the package'), null, [ btn_update ] );
|
||||||
|
|
||||||
let elems = {
|
let elems = {
|
||||||
"status": status_string,
|
"status": status_string,
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ return baseclass.extend({
|
|||||||
|
|
||||||
this.setStage(0);
|
this.setStage(0);
|
||||||
|
|
||||||
ui.showModal(_('Check for updates and install'), [
|
ui.showModal(_('Check for upgrades and installation'), [
|
||||||
E('div', { 'class': 'cbi-section' }, [
|
E('div', { 'class': 'cbi-section' }, [
|
||||||
exclude_prereleases,
|
exclude_prereleases,
|
||||||
E('br'), E('br'),
|
E('br'), E('br'),
|
||||||
|
|||||||
Reference in New Issue
Block a user