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():