From 597ca00a0572a0bc4b796d44edd5d97b274fb274 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 28 Jun 2021 11:38:11 +0200 Subject: [PATCH] Remove language --- manifest.json | 14 -------------- scripts/_common.sh | 1 - scripts/install | 2 -- scripts/upgrade | 1 - 4 files changed, 18 deletions(-) diff --git a/manifest.json b/manifest.json index 5b1ea50..fb6db1e 100644 --- a/manifest.json +++ b/manifest.json @@ -56,21 +56,7 @@ { "name": "password", "type": "password", - "help": { - "en": "Use the help field to add an information for the admin about this question.", - "fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question." - }, "example": "Choose a password" - }, - { - "name": "language", - "type": "string", - "ask": { - "en": "Choose the application language", - "fr": "Choisissez la langue de l'application" - }, - "choices": ["fr", "en"], - "default": "fr" } ] } diff --git a/scripts/_common.sh b/scripts/_common.sh index ee37716..cfe3028 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -20,7 +20,6 @@ extra_php_dependencies="php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-fpm # FUTURE OFFICIAL HELPERS #================================================= - # Send an email to inform the administrator # # usage: ynh_send_readme_to_admin app_message [recipients] diff --git a/scripts/install b/scripts/install index 2bad032..395554a 100644 --- a/scripts/install +++ b/scripts/install @@ -23,7 +23,6 @@ domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC -language=$YNH_APP_ARG_LANGUAGE password=$YNH_APP_ARG_PASSWORD email=$(ynh_user_get_info --username=$admin --key=mail) @@ -48,7 +47,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=admin --value=$admin -ynh_app_setting_set --app=$app --key=language --value=$language #================================================= # STANDARD MODIFICATIONS diff --git a/scripts/upgrade b/scripts/upgrade index 8abb58f..11c9833 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) admin=$(ynh_app_setting_get --app=$app --key=admin) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -language=$(ynh_app_setting_get --app=$app --key=language) db_name=$(ynh_app_setting_get --app=$app --key=db_name) #=================================================