From a16c4b6441649c51cef5de32d90be647ad58229b Mon Sep 17 00:00:00 2001 From: axolotle Date: Sat, 26 Nov 2022 13:50:24 +0100 Subject: [PATCH] AppInstall: add post_install notifs --- app/src/i18n/locales/en.json | 16 +++++++++++----- app/src/views/app/AppInstall.vue | 24 +++++++++++++++++++----- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index a01186a0..3519004f 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -57,12 +57,18 @@ "app": { "antifeatures": "Antifeatures:", "install": { - "before_install": { - "warning": "Things to know before installation", - "danger": "The installation of the application will most likely lead to issues", - "critical": "The application cannot be installed" - }, "license": "License: {license}", + "notifs": { + "post": { + "title": "Post-install notifications for '{name}'", + "alert": "It seems that the installation went well!\n Here is some notifications that the packager considers important to know.\nYou can read it again in the app info page." + }, + "pre": { + "warning": "Things to know before installation", + "danger": "The installation of the application will most likely lead to issues", + "critical": "The application cannot be installed" + } + }, "problems": { "arch": "This app can only be installed on specific architectures ({required}) but your server architecture is {current}.", "broken": "This application is broken according to YunoHost's automatic tests and it is likely to break your system! You should probably NOT install it unless you know what you are doing.", diff --git a/app/src/views/app/AppInstall.vue b/app/src/views/app/AppInstall.vue index 985facc7..9c60ef64 100644 --- a/app/src/views/app/AppInstall.vue +++ b/app/src/views/app/AppInstall.vue @@ -3,7 +3,7 @@