[fix] AppInstall requirements error messages

This commit is contained in:
axolotle 2022-11-15 18:28:06 +01:00
parent f40c266f3a
commit 153787a6a1
2 changed files with 8 additions and 8 deletions

View file

@ -64,7 +64,7 @@
}, },
"license": "License: {license}", "license": "License: {license}",
"problems": { "problems": {
"arch": "It is incompatible with your system architecture", "arch": "This app can only be installed on specific architectures ({required}) but your server architecture is {current}.",
"broken": "This application is broken according to YunoHost's automatic tests and it is likely to break your system! You should probably NOT install it unless you know what you are doing.", "broken": "This application is broken according to YunoHost's automatic tests and it is likely to break your system! You should probably NOT install it unless you know what you are doing.",
"thirdparty": "This application is not part of the official YunoHost catalog, installing 3rd party applications may compromise the integrity and security of your system. You should probably NOT install it unless you know what you are doing.", "thirdparty": "This application is not part of the official YunoHost catalog, installing 3rd party applications may compromise the integrity and security of your system. You should probably NOT install it unless you know what you are doing.",
"ignore": "I understand that this installation may break my system but i still want to try.", "ignore": "I understand that this installation may break my system but i still want to try.",
@ -72,7 +72,7 @@
"install": "It is already installed and can't be installed more than once.", "install": "It is already installed and can't be installed more than once.",
"lowquality": "This application may work but is not well-integrated in YunoHost. Some features such as single sign-on and backup/restore might not be available, or it does not respect the good practices.", "lowquality": "This application may work but is not well-integrated in YunoHost. Some features such as single sign-on and backup/restore might not be available, or it does not respect the good practices.",
"ram": "This application requires {required} of RAM to install/upgrade but only {current} is available right now. Even if this app could run, its installation process requires a large amount of RAM so your server may freeze and fail miserably.", "ram": "This application requires {required} of RAM to install/upgrade but only {current} is available right now. Even if this app could run, its installation process requires a large amount of RAM so your server may freeze and fail miserably.",
"version": "It is not compatible with your current YunoHost version, consider first upgrading YunoHost." "version": "This application requires YunoHost >= {required} but your current installed version is {current}, consider first upgrading YunoHost."
}, },
"try_demo": "Try the demo", "try_demo": "Try the demo",
"version": "Current version: {version}" "version": "Current version: {version}"

View file

@ -90,14 +90,14 @@
> >
<h2>{{ $t('app.install.before_install.critical') }}</h2> <h2>{{ $t('app.install.before_install.critical') }}</h2>
<p v-if="!app.requirements.arch"> <p v-if="!app.requirements.arch.pass">
{{ $t('app.install.problems.arch') }} {{ $t('app.install.problems.arch', app.requirements.arch.values) }}
</p> </p>
<p v-else-if="!app.requirements.install"> <p v-if="!app.requirements.install.pass">
{{ $t('app.install.problems.install') }} {{ $t('app.install.problems.install', app.requirements.install.values) }}
</p> </p>
<p v-else-if="!app.requirements.version"> <p v-if="!app.requirements.version.pass">
{{ $t('app.install.problems.version') }} {{ $t('app.install.problems.version', app.requirements.version.values) }}
</p> </p>
</yuno-alert> </yuno-alert>