aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar X. <127165438+xtmd@users.noreply.github.com> 2026-01-30 21:43:39 +0800
committerGravatar GitHub <noreply@github.com> 2026-01-30 14:43:39 +0100
commit9c50c5643a5f574f05c7a05c51e1a862507ab8de (patch)
treee28812ff9466e953cb69c3677c3e44dcf75f17e0
parent7c5df3ed25deaea5cad4eea5bff161f71c34163d (diff)
Translate error messages to Chinese in install.php (#8476)
* Translate error messages to Chinese in install.php * Fix syntax error --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
-rw-r--r--app/i18n/zh-CN/install.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/i18n/zh-CN/install.php b/app/i18n/zh-CN/install.php
index 272663f16..708d74245 100644
--- a/app/i18n/zh-CN/install.php
+++ b/app/i18n/zh-CN/install.php
@@ -64,8 +64,8 @@ return array(
),
'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
+ 'nok' => '无法找到推荐用于国际化支持的 php-intl 扩展。',
+ 'ok' => '已找到推荐用于国际化支持的 php-intl 扩展。',
),
'json' => array(
'nok' => '找不到 JSON 扩展(php-json 包)',
@@ -80,14 +80,14 @@ return array(
'ok' => '已找到正则表达式解析库(PCRE)',
),
'pdo-mysql' => array(
- 'nok' => 'Cannot find the required PDO driver for MySQL/MariaDB.', // TODO
+ 'nok' => '无法找到 MySQL 或 MariaDB 所需的 PDO 驱动。',
),
'pdo-pgsql' => array(
- 'nok' => 'Cannot find the required PDO driver for PostgreSQL.', // TODO
+ 'nok' => '无法找到 PostgreSQL 所需的 PDO 驱动。',
),
'pdo-sqlite' => array(
- 'nok' => 'Cannot find the PDO driver for SQLite.', // TODO
- 'ok' => 'You have the PDO driver for SQLite.', // TODO
+ 'nok' => '无法找到 SQLite 的 PDO 驱动。',
+ 'ok' => '已找到 SQLite 的 PDO 驱动。',
),
'pdo' => array(
'nok' => '找不到 PDO 或其中一种支持的驱动(pdo_mysql、pdo_sqlite、pdo_pgsql)',