From 1a7f88a8760d21ebefef0ed7002e5d3fe88064ac Mon Sep 17 00:00:00 2001 From: scith Date: Fri, 20 Jan 2017 14:05:32 +0100 Subject: [PATCH] Add a discover widget Add a small widget linking to the YunoHost website for people who do not know YunoHost --- index.php | 10 ++++++++-- locales/en.json | 5 ++++- locales/fr.json | 5 ++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 54a211c..452dd39 100644 --- a/index.php +++ b/index.php @@ -84,10 +84,10 @@ if(isset($_POST['server']) AND !empty($_POST['server']) AND $app_status == 'offi

- + Yunohost

-
+
+ diff --git a/locales/en.json b/locales/en.json index 9686f0a..4662315 100644 --- a/locales/en.json +++ b/locales/en.json @@ -8,5 +8,8 @@ "app_notfound": "This application is neither officially nor community maintained.", "working": "working", "inprogress": "in progress", - "notworking": "not working" + "notworking": "not working", + "noserver": "No YunoHost server yet?", + "yunohost": "YunoHost is a server operating system aiming to make self-hosting accessible to everyone.", + "discover": "Discover YunoHost" } diff --git a/locales/fr.json b/locales/fr.json index e401992..5177b30 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -8,5 +8,8 @@ "app_notfound": "Cette application n'est maintenue ni officiellemment, ni par la communauté.", "working": "fonctionnel", "inprogress": "non fonctionnel", - "notworking": "en cours de développement" + "notworking": "en cours de développement", + "noserver": "Pas encore de serveur YunoHost ?", + "yunohost": "YunoHost est un outil qui vous permet d’installer et d’utiliser facilement votre propre serveur.", + "discover": "Découvrez YunoHost" }