From 69a8673fd6aa682f2bcc74d0fd5104d446756b57 Mon Sep 17 00:00:00 2001 From: Miraty Date: Thu, 18 May 2023 23:18:43 +0200 Subject: [PATCH] Add link to the "about" page --- DOCS/configuration.md | 4 ++++ config.ini | 1 + locales/fr/C/LC_MESSAGES/messages.po | 6 +++++- locales/messages.pot | 6 +++++- pg-view/index.php | 3 +++ 5 files changed, 18 insertions(+), 2 deletions(-) diff --git a/DOCS/configuration.md b/DOCS/configuration.md index fad68a1..7dacf81 100644 --- a/DOCS/configuration.md +++ b/DOCS/configuration.md @@ -28,6 +28,10 @@ String defining the displayed identity of the service. Pretty string sometimes prefixed to the service name. Can be empty. +### `about_url` + +Address of the service presentation page. + ### `services[]` Keys `auth`, `reg`, `ns` and `ht` are required. diff --git a/config.ini b/config.ini index 91dcfc3..1c9cee6 100644 --- a/config.ini +++ b/config.ini @@ -5,6 +5,7 @@ public_domains[] = "servnest.test" prefix = "" service_name = "ServNest" service_emoji = "🪺" +about_url = "https://about.servnest.test/" services[auth] = "enabled" services[reg] = "enabled" services[ns] = "enabled" diff --git a/locales/fr/C/LC_MESSAGES/messages.po b/locales/fr/C/LC_MESSAGES/messages.po index d180fc1..57e0b7b 100644 --- a/locales/fr/C/LC_MESSAGES/messages.po +++ b/locales/fr/C/LC_MESSAGES/messages.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-10 01:29+0200\n" +"POT-Creation-Date: 2023-05-18 23:15+0200\n" "Language: fr\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -342,6 +342,10 @@ msgstr "Les TTLs plus courts que %s secondes sont interdits." msgid "TTLs longer than %s seconds are forbidden." msgstr "Les TTLs plus longs que %s secondes sont interdits." +#: pg-view/index.php:3 +msgid "About this installation" +msgstr "À propos de cette installation" + #: pg-act/auth/approval.php:4 msgid "This account is already approved." msgstr "Ce compte est déjà approuvé." diff --git a/locales/messages.pot b/locales/messages.pot index 99c0264..0a47c09 100644 --- a/locales/messages.pot +++ b/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-10 01:29+0200\n" +"POT-Creation-Date: 2023-05-18 23:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -354,6 +354,10 @@ msgstr "" msgid "TTLs longer than %s seconds are forbidden." msgstr "" +#: pg-view/index.php:3 +msgid "About this installation" +msgstr "" + #: pg-act/auth/approval.php:4 msgid "This account is already approved." msgstr "" diff --git a/pg-view/index.php b/pg-view/index.php index e24e39b..355c09c 100644 --- a/pg-view/index.php +++ b/pg-view/index.php @@ -1,4 +1,7 @@