summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Locale/zh_CN/translations.php10
-rw-r--r--tests/units/Locale/LocaleTest.php8
2 files changed, 6 insertions, 12 deletions
diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php
index 5d96d694..e27a8a56 100644
--- a/app/Locale/zh_CN/translations.php
+++ b/app/Locale/zh_CN/translations.php
@@ -1092,11 +1092,11 @@ return array(
'There is no available project.' => '当前没有可用项目',
'Local File' => '本地文件',
'Configuration' => '配置选项',
- 'PHP version:' => '',
- 'PHP SAPI:' => '',
- 'OS version:' => '',
- 'Database version:' => '',
- 'Browser:' => '',
+ // 'PHP version:' => '',
+ // 'PHP SAPI:' => '',
+ // 'OS version:' => '',
+ // 'Database version:' => '',
+ // 'Browser:' => '',
'Task view' => '任务浏览',
'Edit task' => '编辑任务',
'Edit description' => '编辑描述',
diff --git a/tests/units/Locale/LocaleTest.php b/tests/units/Locale/LocaleTest.php
index 976dfc58..c10b1bc9 100644
--- a/tests/units/Locale/LocaleTest.php
+++ b/tests/units/Locale/LocaleTest.php
@@ -10,13 +10,7 @@ class LocaleTest extends Base
$locale = require($file . '/translations.php');
foreach ($locale as $k => $v) {
- if (strpos($k, '%B %e, %Y') !== false) {
- continue;
- }
-
- if (strpos($k, '%b %e, %Y') !== false) {
- continue;
- }
+ $this->assertNotEmpty($v, 'Empty value for the key "'.$k.'" in translation '.basename($file));
foreach (array('%s', '%d') as $placeholder) {
$this->assertEquals(