mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2025-12-23 21:47:44 -05:00
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.
153 lines
5.4 KiB
PHP
153 lines
5.4 KiB
PHP
<?php
|
||
|
||
/******************************************************************************
|
||
* Each entry of that file can be associated with a comment to indicate its *
|
||
* state. When there is no comment, it means the entry is fully translated. *
|
||
* The recognized comments are (comment matching is case-insensitive): *
|
||
* + TODO: the entry has never been translated. *
|
||
* + DIRTY: the entry has been translated but needs to be updated. *
|
||
* + IGNORE: the entry does not need to be translated. *
|
||
* When a comment is not recognized, it is discarded. *
|
||
******************************************************************************/
|
||
|
||
return array(
|
||
'action' => array(
|
||
'finish' => '完成安装',
|
||
'fix_errors_before' => '请在继续下一步前修复错误',
|
||
'keep_install' => '保留当前配置',
|
||
'next_step' => '下一步',
|
||
'reinstall' => '重新安装 FreshRSS',
|
||
),
|
||
'bdd' => array(
|
||
'_' => '数据库',
|
||
'conf' => array(
|
||
'_' => '数据库配置',
|
||
'ko' => '验证你的数据库信息',
|
||
'ok' => '数据库配置已保存',
|
||
),
|
||
'host' => '主机',
|
||
'password' => '数据库密码',
|
||
'prefix' => '表前缀',
|
||
'type' => '数据库类型',
|
||
'username' => '数据库用户名',
|
||
),
|
||
'check' => array(
|
||
'_' => '检查',
|
||
'already_installed' => '我们检测到 FreshRSS 已经安装!',
|
||
'cache' => array(
|
||
'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
|
||
'ok' => 'cache 目录权限正常',
|
||
),
|
||
'ctype' => array(
|
||
'nok' => '找不到字符类型检测库(php-ctype)',
|
||
'ok' => '已找到字符类型检测库(ctype)',
|
||
),
|
||
'curl' => array(
|
||
'nok' => '找不到 cURL 库(php-curl 包)',
|
||
'ok' => '已找到 cURL 库',
|
||
),
|
||
'data' => array(
|
||
'nok' => '请检查 <em>%s</em> 目录权限,HTTP 服务器必须拥有写入权限。',
|
||
'ok' => 'data 目录权限正常',
|
||
),
|
||
'dom' => array(
|
||
'nok' => '找不到用于浏览 DOM 的库(php-xml 包)',
|
||
'ok' => '已找到用于浏览 DOM 的库',
|
||
),
|
||
'favicons' => array(
|
||
'nok' => '请检查 <em>./data/favicons</em> 目录权限,HTTP 服务器必须拥有写入权限。',
|
||
'ok' => 'favicons 目录权限正常',
|
||
),
|
||
'fileinfo' => 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 扩展',
|
||
),
|
||
'mbstring' => array(
|
||
'nok' => '找不到推荐用于 Unicode 的 mbstring 库',
|
||
'ok' => '已找到推荐用于 Unicode 的 mbstring 库',
|
||
),
|
||
'pcre' => 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 兼容',
|
||
),
|
||
'reload' => '再检查一遍',
|
||
'tmp' => 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 服务器必须拥有写入权限。',
|
||
'ok' => 'users 目录权限正常',
|
||
),
|
||
'xml' => array(
|
||
'nok' => '找不到用于 XML 解析库',
|
||
'ok' => '已找到 XML 解析库',
|
||
),
|
||
'zip' => array(
|
||
'nok' => '找不到 ZIP 扩展(php-zip 包)',
|
||
'ok' => '已找到 ZIP 扩展',
|
||
),
|
||
),
|
||
'conf' => array(
|
||
'_' => '常规配置',
|
||
'ok' => '常规配置已保存',
|
||
),
|
||
'congratulations' => '恭喜!',
|
||
'default_user' => array(
|
||
'_' => '默认用户名',
|
||
'max_char' => '最多 16 个数字或字母',
|
||
),
|
||
'fix_errors_before' => '请在继续下一步前修复错误',
|
||
'javascript_is_better' => '启用 JavaScript 会使 FreshRSS 工作得更好',
|
||
'js' => array(
|
||
'confirm_reinstall' => '重新安装 FreshRSS 将会重置之前的配置,你确定要继续吗?',
|
||
),
|
||
'language' => array(
|
||
'_' => '语言',
|
||
'choose' => '为 FreshRSS 选择语言',
|
||
'defined' => '语言已指定',
|
||
),
|
||
'missing_applied_migrations' => '出现错误,你需要手动创建一个空文件 <em>%s</em>。',
|
||
'ok' => '安装成功',
|
||
'session' => array(
|
||
'nok' => 'Web 服务器似乎未正确配置 PHP 会话所需的 cookie!',
|
||
),
|
||
'step' => '步骤 %d',
|
||
'steps' => '步骤',
|
||
'this_is_the_end' => '最后一步',
|
||
'title' => '安装 FreshRSS',
|
||
);
|