From 860b11a13cd81b877f820e4580bc48fb06d78958 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 8 May 2022 21:05:38 +0200 Subject: [PATCH] Remove language --- manifest.json | 14 ++------------ scripts/install | 2 -- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/manifest.json b/manifest.json index fe0d674..7b171a6 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "tinyfilemanager", "packaging_format": 1, "description": { - "en": "Explain in *a few (10~15) words* the purpose of the app or what it actually does (it is meant to give a rough idea to users browsing a catalog of 100+ apps)", - "fr": "Expliquez en *quelques* (10~15) mots l'utilité de l'app ou ce qu'elle fait (l'objectif est de donner une idée grossière pour des utilisateurs qui naviguent dans un catalogue de 100+ apps)" + "en": "Web based File Manager", + "fr": "Gestionnaire de fichiers basé sur le Web" }, "version": "2.4.7~ynh1", "url": "https://tinyfilemanager.github.io/", @@ -46,16 +46,6 @@ "type": "boolean", "default": true }, - { - "name": "language", - "type": "string", - "ask": { - "en": "Choose the application language", - "fr": "Choisissez la langue de l'application" - }, - "choices": ["fr", "en"], - "default": "fr" - }, { "name": "admin", "type": "user" diff --git a/scripts/install b/scripts/install index f6e4100..c8cfbd5 100755 --- a/scripts/install +++ b/scripts/install @@ -27,7 +27,6 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC -language=$YNH_APP_ARG_LANGUAGE admin=$YNH_APP_ARG_ADMIN password=$YNH_APP_ARG_PASSWORD timezone="$(cat /etc/timezone)" @@ -53,7 +52,6 @@ ynh_script_progression --message="Storing installation settings..." --time --wei 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=language --value=$language ynh_app_setting_set --app=$app --key=admin --value=$admin ynh_app_setting_set --app=$app --key=password --value=$password