Browse Source

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>
X. 2 months ago
parent
commit
9c50c5643a
1 changed files with 6 additions and 6 deletions
  1. 6 6
      app/i18n/zh-CN/install.php

+ 6 - 6
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)',