[fix] previous string was expecting an app name but we don't have any

This commit is contained in:
Laurent Peuch 2017-08-28 18:00:23 +02:00
parent 32d3a9940b
commit fea6d3568f
2 changed files with 2 additions and 1 deletions

View file

@ -35,6 +35,7 @@
"app_unknown": "Unknown app",
"app_unsupported_remote_type": "Unsupported remote type used for the app",
"app_upgrade_failed": "Unable to upgrade {app:s}",
"app_upgrade_some_app_failed": "Unable to upgrade some applications",
"app_upgraded": "{app:s} has been upgraded",
"appslist_corrupted_json": "Could not load the application lists. It looks like {filename:s} is corrupted.",
"appslist_could_not_migrate": "Could not migrate app list {appslist:s} ! Unable to parse the url... The old cron job has been kept in {bkp_file:s}.",

View file

@ -511,7 +511,7 @@ def tools_upgrade(auth, ignore_apps=False, ignore_packages=False):
except Exception as e:
failure = True
logger.warning('unable to upgrade apps: %s' % str(e))
logger.error(m18n.n('app_upgrade_failed'))
logger.error(m18n.n('app_upgrade_some_app_failed'))
if not failure:
logger.success(m18n.n('system_upgraded'))