1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

Remove language

This commit is contained in:
ericgaspar 2020-09-26 12:17:55 +02:00
parent 5ae284c162
commit 3f080c1ac2
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 6 additions and 17 deletions

View file

@ -392,4 +392,4 @@ catch_workers_output = yes
;php_admin_value[memory_limit] = 32M
php_admin_value[open_basedir] = none
php_admin_value[date.timezone] = "__YHTZ__"
php_admin_value[date.timezone] = "__TIMEZONE__"

View file

@ -3,8 +3,8 @@
"id": "movim",
"packaging_format": 1,
"description": {
"en": "Responsive web-based cross-platform XMPP client",
"fr": "Client XMPP multiplateforme"
"en": "Web-based cross-platform XMPP client",
"fr": "Client XMPP multiplateforme basé sur le Web"
},
"version": "0.18rc14~ynh1",
"url": "https://movim.eu",
@ -70,17 +70,7 @@
"fr": "Est-ce une application publique ?"
},
"default": true
},
{
"name": "language",
"type": "string",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices" : ["de", "en", "es", "fr", "it", "nl", "pt"],
"default" : "fr"
}
}
]
}
}

View file

@ -25,7 +25,6 @@ path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD
language=$YNH_APP_ARG_LANGUAGE
timezone=$(cat /etc/timezone)
app=$YNH_APP_INSTANCE_NAME
@ -119,7 +118,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
# Create a dedicated PHP-FPM config
ynh_replace_string --match_string="__YHTZ__" --replace_string="$timezone" --target_file=../conf/php-fpm.conf
ynh_replace_string --match_string="__TIMEZONE__" --replace_string="$timezone" --target_file=../conf/php-fpm.conf
ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependencies"
phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)

View file

@ -130,7 +130,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_replace_string --match_string="__YHTZ__" --replace_string="$timezone" --target_file=../conf/php-fpm.conf
ynh_replace_string --match_string="__TIMEZONE__" --replace_string="$timezone" --target_file=../conf/php-fpm.conf
ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependencies"
phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)