[enh] Add app name in upgrade confirmation

This commit is contained in:
ljf 2017-08-28 18:50:42 +02:00
parent 815da3146f
commit 3bd40e2a4e
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@
app.get('#/upgrade/apps/:app', function (c) {
c.confirm(
y18n.t('tools'),
y18n.t('confirm_update_specific_app'),
y18n.t('confirm_update_specific_app', [c.params['app']]),
function(){
c.api('/upgrade/apps?app='+c.params['app'].toLowerCase(),
function(data) {

View file

@ -76,7 +76,7 @@
"confirm_uninstall": "Are you sure you want to uninstall %s ?",
"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_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_disable": "Are you sure you want to disable UPnP?",
"connection": "Connection",