mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Add app name in upgrade confirmation
This commit is contained in:
parent
815da3146f
commit
3bd40e2a4e
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@
|
||||||
app.get('#/upgrade/apps/:app', function (c) {
|
app.get('#/upgrade/apps/:app', function (c) {
|
||||||
c.confirm(
|
c.confirm(
|
||||||
y18n.t('tools'),
|
y18n.t('tools'),
|
||||||
y18n.t('confirm_update_specific_app'),
|
y18n.t('confirm_update_specific_app', [c.params['app']]),
|
||||||
function(){
|
function(){
|
||||||
c.api('/upgrade/apps?app='+c.params['app'].toLowerCase(),
|
c.api('/upgrade/apps?app='+c.params['app'].toLowerCase(),
|
||||||
function(data) {
|
function(data) {
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
"confirm_uninstall": "Are you sure you want to uninstall %s ?",
|
"confirm_uninstall": "Are you sure you want to uninstall %s ?",
|
||||||
"confirm_update_apps": "Are you sure you want to update all applications?",
|
"confirm_update_apps": "Are you sure you want to update all applications?",
|
||||||
"confirm_update_packages": "Are you sure you want to update all packages?",
|
"confirm_update_packages": "Are you sure you want to update all packages?",
|
||||||
"confirm_update_specific_app": "Are you sure you want to update this application ?",
|
"confirm_update_specific_app": "Are you sure you want to update %s?",
|
||||||
"confirm_upnp_enable": "Are you sure you want to enable UPnP?",
|
"confirm_upnp_enable": "Are you sure you want to enable UPnP?",
|
||||||
"confirm_upnp_disable": "Are you sure you want to disable UPnP?",
|
"confirm_upnp_disable": "Are you sure you want to disable UPnP?",
|
||||||
"connection": "Connection",
|
"connection": "Connection",
|
||||||
|
|
Loading…
Reference in a new issue