diff options
| author | 2025-12-21 19:26:08 +0100 | |
|---|---|---|
| committer | 2025-12-21 19:26:08 +0100 | |
| commit | 1a3912f25a27c8d78aacbbee98f6056f4ad47f1a (patch) | |
| tree | 90fe6bd955535aed22152fc3a41a51a4958f4d4d /app/i18n/zh-CN/install.php | |
| parent | 672411ca7053345634a63dd3eabed75baf93043f (diff) | |
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.
Diffstat (limited to 'app/i18n/zh-CN/install.php')
| -rw-r--r-- | app/i18n/zh-CN/install.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/i18n/zh-CN/install.php b/app/i18n/zh-CN/install.php index f4c9480e9..070c069ed 100644 --- a/app/i18n/zh-CN/install.php +++ b/app/i18n/zh-CN/install.php @@ -62,6 +62,11 @@ return array( 'nok' => '找不到 PHP fileinfo 库(fileinfo 包)', 'ok' => '已找到 fileinfo 库', ), + 'files' => '文件相关', + '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 扩展(php-json 包)', 'ok' => '已找到 JSON 扩展', @@ -74,11 +79,22 @@ return array( 'nok' => '找不到正则表达式解析库(php-pcre)', 'ok' => '已找到正则表达式解析库(PCRE)', ), + '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 或其中一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)', 'ok' => '已找到 PDO 和至少一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)', ), 'php' => array( + '_' => 'PHP 安装', 'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s', 'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容', ), @@ -87,6 +103,10 @@ return array( 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。', 'ok' => '缓存目录权限正常。', ), + 'tokens' => array( + 'nok' => '请检查 <em>./data/tokens</em> 目录权限,HTTP 服务器必须拥有写入权限。', + 'ok' => 'tokens 目录权限正常', + ), 'unknown_process_username' => '未知', 'users' => array( 'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。', @@ -96,6 +116,10 @@ return array( 'nok' => '找不到用于 XML 解析库', 'ok' => '已找到 XML 解析库', ), + 'zip' => array( + 'nok' => '找不到 ZIP 扩展(php-zip 包)', + 'ok' => '已找到 ZIP 扩展', + ), ), 'conf' => array( '_' => '常规配置', |
