From 1a3912f25a27c8d78aacbbee98f6056f4ad47f1a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 21 Dec 2025 19:26:08 +0100 Subject: Improve configuration checks (#8334) Add a distinction between recommended and required extensions. Add check for recommended php-intl extension as follow-up of https://github.com/FreshRSS/FreshRSS/pull/8329#issuecomment-3677686581 Improve related checks such as ZIP. Reduce duplicated translations and tests. --- app/i18n/tr/install.php | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'app/i18n/tr/install.php') diff --git a/app/i18n/tr/install.php b/app/i18n/tr/install.php index 46fa588c1..ce6c9d042 100644 --- a/app/i18n/tr/install.php +++ b/app/i18n/tr/install.php @@ -62,6 +62,11 @@ return array( 'nok' => 'PHP fileinfo kütüphanesi (fileinfo paketi) bulunamadı.', 'ok' => 'Fileinfo kütüphaneniz var.', ), + 'files' => 'Dosya kurulumu', + 'intl' => array( + 'nok' => 'Cannot find the recommended library php-intl for internationalisation.', // TODO + 'ok' => 'You have the recommended library php-intl for internationalisation.', // TODO + ), 'json' => array( 'nok' => 'JSON ayrıştırmak için önerilen kütüphane bulunamadı.', 'ok' => 'JSON ayrıştırmak için önerilen kütüphaneniz var.', @@ -74,19 +79,34 @@ return array( 'nok' => 'Düzenli ifadeler için gerekli kütüphane (php-pcre) bulunamadı.', 'ok' => 'Düzenli ifadeler için gerekli kütüphaneniz (PCRE) var.', ), + 'pdo-mysql' => array( + 'nok' => 'Cannot find the required PDO driver for MySQL/MariaDB.', // TODO + ), + 'pdo-pgsql' => array( + 'nok' => 'Cannot find the required PDO driver for PostgreSQL.', // TODO + ), + 'pdo-sqlite' => array( + 'nok' => 'Cannot find the PDO driver for SQLite.', // TODO + 'ok' => 'You have the PDO driver for SQLite', // TODO + ), 'pdo' => array( - 'nok' => 'PDO veya desteklenen sürücülerden biri (pdo_mysql, pdo_sqlite, pdo_pgsql) bulunamadı.', - 'ok' => 'PDO ve desteklenen sürücülerden en az biri (pdo_mysql, pdo_sqlite, pdo_pgsql) var.', + 'nok' => 'PDO veya desteklenen sürücülerden biri (pdo_sqlite, pdo_pgsql, pdo_mysql) bulunamadı.', + 'ok' => 'PDO ve desteklenen sürücülerden en az biri (pdo_sqlite, pdo_pgsql, pdo_mysql) var.', ), 'php' => array( + '_' => 'PHP kurulumu', 'nok' => 'PHP sürümünüz %s, ancak FreshRSS en az %s sürümünü gerektiriyor.', - 'ok' => 'PHP sürümünüz, %s, FreshRSS ile uyumlu.', + 'ok' => 'PHP sürümünüz (%s) FreshRSS ile uyumlu.', ), 'reload' => 'Tekrar kontrol et', 'tmp' => array( 'nok' => '%2$s kullanıcısı için %1$s dizinindeki izinleri kontrol edin. HTTP sunucusunun yazma izni olmalı.', 'ok' => 'Geçici dizindeki izinler uygun.', ), + 'tokens' => array( + 'nok' => './data/tokens dizinindeki izinleri kontrol edin. HTTP sunucusunun yazma izni olmalı', + 'ok' => 'Belirteçler dizinindeki izinler uygun.', + ), 'unknown_process_username' => 'bilinmeyen', 'users' => array( 'nok' => '%2$s kullanıcısı için %1$s dizinindeki izinleri kontrol edin. HTTP sunucusunun yazma izni olmalı.', @@ -96,6 +116,10 @@ return array( 'nok' => 'XML ayrıştırmak için gerekli kütüphane bulunamadı.', 'ok' => 'XML ayrıştırmak için gerekli kütüphaneniz var.', ), + 'zip' => array( + 'nok' => 'ZIP uzantısı bulunamadı (php-zip paketi).', + 'ok' => 'ZIP uzantınız var.', + ), ), 'conf' => array( '_' => 'Genel yapılandırma', -- cgit v1.2.3