From 4e2a92bb1ddaff7be0b9e9186db933239f797c73 Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 15 Nov 2022 13:58:03 +0100 Subject: [PATCH] [fix] add missing license info and userdoc upstream link --- app/src/i18n/locales/en.json | 6 ++++-- app/src/views/app/AppInstall.vue | 9 ++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index 43c49f1d..ef1a60de 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -62,6 +62,7 @@ "danger": "The installation of the application will most likely lead to issues", "critical": "The application cannot be installed" }, + "license": "License: {license}", "problems": { "arch": "It is incompatible with your system architecture", "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.", @@ -96,11 +97,12 @@ "title": "YunoHost integration" }, "links": { - "admindoc": "Official documentation", - "code": "Upstream code repository", + "admindoc": "Official Admin documentation", + "code": "Official code repository", "forum": "Topics about this app on YunoHost's forum", "package": "YunoHost package repository", "title": "Links", + "userdoc": "Official User documentation", "website": "Website" }, "potential_alternative_to": "Potential alternative to:" diff --git a/app/src/views/app/AppInstall.vue b/app/src/views/app/AppInstall.vue index 1b85d948..60bacc7f 100644 --- a/app/src/views/app/AppInstall.vue +++ b/app/src/views/app/AppInstall.vue @@ -16,7 +16,10 @@ aria-hidden="true" class="d-block mb-3" fluid /> -

{{ $t('app.install.version', { version: app.version }) }}

+

+ {{ $t('app.install.version', { version: app.version }) }}
+ {{ $t('app.install.license', { license: app.license }) }} +

([key, _app.upstream[key]])), + ...['website', 'admindoc', 'userdoc', 'code'].map((key) => ([key, _app.upstream[key]])), ['package', _app.remote.url], ['forum', `https://forum.yunohost.org/tag/${id}`] ].filter(([key, val]) => !!val),