diff --git a/src/js/yunohost/controllers/tools.js b/src/js/yunohost/controllers/tools.js index b6bf64c3..9b4219cb 100644 --- a/src/js/yunohost/controllers/tools.js +++ b/src/js/yunohost/controllers/tools.js @@ -74,7 +74,7 @@ else { c.confirm( y18n.t('tools'), - y18n.t('confirm_update_type', [y18n.t('system_'+c.params['type']).toLowerCase()]), + y18n.t('confirm_update_' + c.params['type'].toLowerCase()), function(){ endurl = ''; if (c.params['type'] == 'packages') {endurl = 'ignore_apps';} diff --git a/src/locales/en.json b/src/locales/en.json index 8eb3626e..1235872e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -70,6 +70,8 @@ "confirm_service_action": "Are you sure you want to %s %s ?", "confirm_uninstall": "Are you sure you want to uninstall %s ?", "confirm_update_type": "Are you sure you want update every %s ?", + "confirm_update_apps": "Are you sure you want update every applications ?", + "confirm_update_packages": "Are you sure you want update every packages ?", "confirm_upnp_action": "Are you sure you want to %s UPnP ?", "connection": "Connection", "copy": "Copy",