mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[i18n] Rename app_requirements_failed err named variable
This commit is contained in:
parent
0339d8160d
commit
a948be035a
2 changed files with 3 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue