From 52fec6272f1a57c9dae09d7e4df55b1a90240e3e Mon Sep 17 00:00:00 2001 From: remittor Date: Sat, 21 Feb 2026 07:43:46 +0300 Subject: [PATCH] luci: updater: Rename button and title --- .../htdocs/luci-static/resources/view/zapret2/service.js | 4 ++-- .../htdocs/luci-static/resources/view/zapret2/updater.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js index 2da7c0a..3078aac 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/service.js @@ -378,9 +378,9 @@ return view.extend({ btn_diag.onclick = ui.createHandlerFn(this, () => { diagnost.openDiagnostDialog(this.pkg_arch) }); 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) }); - layout_append(_('Update package'), null, [ btn_update ] ); + layout_append(_('Upgrading the package'), null, [ btn_update ] ); let elems = { "status": status_string, diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js index 373aaae..f3bd6e0 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js @@ -192,7 +192,7 @@ return baseclass.extend({ this.setStage(0); - ui.showModal(_('Check for updates and install'), [ + ui.showModal(_('Check for upgrades and installation'), [ E('div', { 'class': 'cbi-section' }, [ exclude_prereleases, E('br'), E('br'),