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/fa/admin.php | 1 + app/i18n/fa/conf.php | 4 ++++ app/i18n/fa/gen.php | 1 + 3 files changed, 6 insertions(+) (limited to 'app/i18n/fa') diff --git a/app/i18n/fa/admin.php b/app/i18n/fa/admin.php index 6c6f6cd3c..e35f513f3 100644 --- a/app/i18n/fa/admin.php +++ b/app/i18n/fa/admin.php @@ -116,6 +116,7 @@ return array( 'description' => ' توضیحات', 'disabled' => ' معلول', 'empty_list' => ' هیچ برنامه افزودنی نصب شده ای وجود ندارد', + 'empty_list_help' => 'Check the logs to determine the reason behind the empty extension list.', // TODO 'enabled' => ' فعال است', 'latest' => ' نصب شده است', 'name' => ' نام', diff --git a/app/i18n/fa/conf.php b/app/i18n/fa/conf.php index 0c2be1a34..614ad6e00 100644 --- a/app/i18n/fa/conf.php +++ b/app/i18n/fa/conf.php @@ -99,6 +99,10 @@ return array( 'previous' => ' قبلی', ), ), + 'privacy' => array( + '_' => 'Privacy', // TODO + 'retrieve_extension_list' => 'Retrieve extension list', // TODO + ), 'profile' => array( '_' => ' مدیریت پروفایل', 'api' => ' مدیریت API', diff --git a/app/i18n/fa/gen.php b/app/i18n/fa/gen.php index a0f74c2c1..460934d87 100644 --- a/app/i18n/fa/gen.php +++ b/app/i18n/fa/gen.php @@ -183,6 +183,7 @@ return array( 'display' => 'نمایش', 'extensions' => ' برنامه های افزودنی', 'logs' => ' سیاهههای مربوط', + 'privacy' => 'Privacy', // TODO 'queries' => ' پرس و جوهای کاربر', 'reading' => ' خواندن', 'search' => ' کلمات یا #برچسب ها را جستجو کنید', -- cgit v1.2.3