From ad2c6e6fbf3658f08295fb437a0f97e10498eb11 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sun, 20 Oct 2024 14:51:49 -0400 Subject: Add privacy settings on extension list retrieval (#4603) * Add privacy settings on extension list retrieval There is a new privacy page to handle all configuration related to privacy. At the moment, only privacy related to extensions can be configured. The new settings allow to change the location of the extension list file and to choose if the selected file is cached for a day or retrieved for each request. Fix #4570 * Update code to pass PHPStan * make fix-all --------- Co-authored-by: maTh Co-authored-by: Alexandre Alapetite --- app/i18n/sk/admin.php | 1 + app/i18n/sk/conf.php | 4 ++++ app/i18n/sk/gen.php | 1 + 3 files changed, 6 insertions(+) (limited to 'app/i18n/sk') diff --git a/app/i18n/sk/admin.php b/app/i18n/sk/admin.php index 98860b971..962a54457 100644 --- a/app/i18n/sk/admin.php +++ b/app/i18n/sk/admin.php @@ -116,6 +116,7 @@ return array( 'description' => 'Popis', 'disabled' => 'Zakázané', 'empty_list' => 'Žiadne nainštalované rozšírenia', + 'empty_list_help' => 'Check the logs to determine the reason behind the empty extension list.', // TODO 'enabled' => 'Povolené', 'latest' => 'Nainštalované', 'name' => 'Názov', diff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.php index 193c3bb88..255916e58 100644 --- a/app/i18n/sk/conf.php +++ b/app/i18n/sk/conf.php @@ -99,6 +99,10 @@ return array( 'previous' => 'Predošlý', ), ), + 'privacy' => array( + '_' => 'Privacy', // TODO + 'retrieve_extension_list' => 'Retrieve extension list', // TODO + ), 'profile' => array( '_' => 'Správca profilu', 'api' => 'Správa API', diff --git a/app/i18n/sk/gen.php b/app/i18n/sk/gen.php index e0c94fb0e..a6f84ed3f 100644 --- a/app/i18n/sk/gen.php +++ b/app/i18n/sk/gen.php @@ -183,6 +183,7 @@ return array( 'display' => 'Zobrazenie', 'extensions' => 'Rozšírenia', 'logs' => 'Záznamy', + 'privacy' => 'Privacy', // TODO 'queries' => 'Používateľské dopyty', 'reading' => 'Čítanie', 'search' => 'Hľadajte slová alebo #značky', -- cgit v1.2.3