mirror of
https://github.com/YunoHost-Apps/streams_ynh.git
synced 2024-09-03 20:26:20 +02:00
Translation of the PHP-FPM config panel
This commit is contained in:
parent
7c8a99e3ec
commit
c9eae80440
2 changed files with 22 additions and 7 deletions
|
@ -5,26 +5,41 @@ name = "Streams configuration"
|
|||
|
||||
[main.php_fpm_config]
|
||||
name = "PHP-FPM configuration"
|
||||
name.fr = "Configuration de PHP-FPM"
|
||||
|
||||
[main.php_fpm_config.fpm_footprint]
|
||||
ask = "Memory footprint"
|
||||
ask.fr = "Empreinte mémoire"
|
||||
type = "select"
|
||||
choices.low = "Low, <= 20Mb per pool"
|
||||
choices.medium = "Medium, between 20Mb and 40Mb per pool"
|
||||
choices.low = "Basse, <= 20Mb par pool"
|
||||
choices.medium = "Medium, between 20Mb and 40Mb par pool"
|
||||
choices.medium.fr = "Moyenne, entre 20Mb et 40Mb par pool"
|
||||
choices.high = "High, > 40Mb per pool"
|
||||
choices.high.fr = "Haute, > 40Mb par pool"
|
||||
choices.specific = "Use specific value"
|
||||
default = "low"
|
||||
choices.specific = "Utiliser une valeur précise"
|
||||
default = "medium"
|
||||
|
||||
[main.php_fpm_config.fpm_free_footprint]
|
||||
visible = "fpm_footprint == 'specific'"
|
||||
ask = "Memory footprint of the service?"
|
||||
ask.fr = "Empreinte mémoire du service?"
|
||||
type = "number"
|
||||
default = "0"
|
||||
help = "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values."
|
||||
help.fr = "Champ libre pour spécifier exactement l'empreinte mémoire en Mb si vous ne souhaitez pas utiliser l'une des trois valeurs précédentes."
|
||||
|
||||
[main.php_fpm_config.fpm_usage]
|
||||
ask = "Expected usage"
|
||||
ask.fr = "Utilisation prévue"
|
||||
type = "select"
|
||||
choices = ["low", "medium", "high"]
|
||||
default = "low"
|
||||
help = "low: Personal usage, behind the SSO. No RAM footprint when not used, but the impact on the processor can be high if many users are using the service.<br>medium: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.<br>high: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding."
|
||||
choices.low = "Low"
|
||||
choices.low = "Minime"
|
||||
choices.medium = "Medium"
|
||||
choices.medium.fr = "Moyenne"
|
||||
choices.high = "High"
|
||||
choices.high.fr = "Intensive"
|
||||
default = "medium"
|
||||
help = "<strong>Low</strong>: Personal usage, behind the SSO. No RAM footprint when not used, but the impact on the processor can be high if many users are using the service.<br><strong>Medium</strong>: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.<br><strong>High</strong>: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding."
|
||||
help.fr = "<strong>Faible</strong> : Utilisation personnelle, derrière le SSO. Pas d'empreinte RAM en cas de non-utilisation, mais l'impact sur le processeur peut être élevé si de nombreux utilisateurs utilisent le service.<br><strong>Moyenne</strong> : Faible utilisation, peu d'utilisateurs et/ou service pas nécessairement accessible au public. Faible empreinte RAM, empreinte moyenne sur le processeur en cas d'utilisation.<br><strong>Intensive</strong> : Utilisation soutenue, site web fréquemment visité. L'empreinte RAM est élevée, mais l'utilisation du processeur est moindre et le service répond rapidement."
|
||||
|
|
|
@ -16,9 +16,9 @@ source /usr/share/yunohost/helpers
|
|||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
upload="256M"
|
||||
random_string="$(ynh_string_random --length=48)"
|
||||
fpm_footprint="low"
|
||||
fpm_footprint="medium"
|
||||
fpm_free_footprint=0
|
||||
fpm_usage="low"
|
||||
fpm_usage="medium"
|
||||
|
||||
#=================================================
|
||||
# STORE SETTINGS FROM MANIFEST
|
||||
|
|
Loading…
Add table
Reference in a new issue