From a948be035a871c6cec100af9576b478522352114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Fri, 8 Apr 2016 22:44:31 +0200 Subject: [PATCH] [i18n] Rename app_requirements_failed err named variable --- locales/en.json | 2 +- src/yunohost/app.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/locales/en.json b/locales/en.json index 10c056d9b..06a91abf0 100644 --- a/locales/en.json +++ b/locales/en.json @@ -22,7 +22,7 @@ "custom_app_url_required" : "You must provide an URL to upgrade your custom app {app:s}", "app_requirements_checking" : "Checking required packages...", "app_requirements_unmeet" : "Requirements are not met, the package {pkgname} ({version}) must be {spec}", - "app_requirements_failed" : "Unable to meet requirements: {err}", + "app_requirements_failed" : "Unable to meet requirements: {error}", "app_upgraded" : "{app:s} successfully upgraded", "app_upgrade_failed" : "Unable to upgrade {app:s}", "app_id_invalid" : "Invalid app id", diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 1659aa793..032f7fb4a 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1401,7 +1401,8 @@ def _check_manifest_requirements(manifest): *requirements.keys(), strict=True, as_dict=True) except packages.PackageException as e: raise MoulinetteError(errno.EINVAL, - m18n.n('app_requirements_failed', err=str(e))) + m18n.n('app_requirements_failed', + error=str(e))) # Iterate over requirements for pkgname, spec in requirements.items():