From 1efb23e26db31077ef3202ec7dfb7d6b3230c59e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 16 Apr 2021 00:49:13 +0200 Subject: [PATCH] Simplify custom app install with new /apps/manifest route --- app/src/i18n/locales/en.json | 4 ++-- app/src/i18n/locales/fr.json | 3 ++- app/src/views/app/AppCatalog.vue | 3 +-- app/src/views/app/AppInstall.vue | 22 +++------------------- 4 files changed, 8 insertions(+), 24 deletions(-) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index e7c4a57a..87e4e595 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -54,6 +54,7 @@ "app_info_change_url_disabled_tooltip": "This feature hasn't been implemented in this app yet", "app_info_uninstall_desc": "Remove this application.", "app_install_custom_no_manifest": "No manifest.json file", + "app_install_parameters": "Install settings", "app_manage_label_and_tiles": "Manage label and tiles", "app_make_default": "Make default", "app_no_actions": "This application doesn't have any actions", @@ -115,7 +116,6 @@ "connection": "Connection", "created_at": "Created at", "custom_app_install": "Install custom app", - "custom_app_url_only_github": "Currently only from GitHub", "day_validity": " Expired | 1 day | {count} days", "dead": "Inactive", "delete": "Delete", @@ -266,7 +266,7 @@ "migrations_no_done": "No previous migrations", "migrations_disclaimer_check_message": "I read and understood this disclaimer", "migrations_disclaimer_not_checked": "This migration require you to acknowledge its disclaimer before running it.", - "multi_instance": "Multi instance", + "multi_instance": "Can be installed several times", "myserver": "myserver", "next": "Next", "no": "No", diff --git a/app/src/i18n/locales/fr.json b/app/src/i18n/locales/fr.json index 1616b6ce..a206645e 100644 --- a/app/src/i18n/locales/fr.json +++ b/app/src/i18n/locales/fr.json @@ -7,6 +7,7 @@ "app_info_default_desc": "Redirige la racine du domaine vers cette application ({domain}).", "app_info_uninstall_desc": "Supprimer cette application.", "app_install_custom_no_manifest": "Aucun fichier manifest.json", + "app_install_parameters": "Paramètres d'installation", "app_make_default": "Définir par défaut", "app_state_inprogress": "ne fonctionne pas encore", "app_state_notworking": "Non fonctionnelle", @@ -89,7 +90,7 @@ "manage_apps": "Gérer les applications", "manage_domains": "Gérer les domaines", "manage_users": "Gérer les utilisateurs", - "multi_instance": "Instance multiple", + "multi_instance": "Peut être installée plusieurs fois", "myserver": "monserveur", "next": "Suivant", "no": "Non", diff --git a/app/src/views/app/AppCatalog.vue b/app/src/views/app/AppCatalog.vue index 2f495942..2daf3381 100644 --- a/app/src/views/app/AppCatalog.vue +++ b/app/src/views/app/AppCatalog.vue @@ -193,10 +193,9 @@ export default { customInstall: { field: { label: this.$i18n.t('url'), - description: this.$i18n.t('custom_app_url_only_github'), props: { id: 'custom-install', - placeholder: 'https://github.com/USER/REPOSITORY' + placeholder: 'https://some.git.forge.tld/USER/REPOSITORY' } }, url: '' diff --git a/app/src/views/app/AppInstall.vue b/app/src/views/app/AppInstall.vue index e6c9c42c..1ca2c357 100644 --- a/app/src/views/app/AppInstall.vue +++ b/app/src/views/app/AppInstall.vue @@ -2,7 +2,7 @@