aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Zhiyuan Zheng <zhzy0077@hotmail.com> 2022-11-15 23:06:00 +0800
committerGravatar GitHub <noreply@github.com> 2022-11-15 16:06:00 +0100
commitce5531b39a190e435a97453291f1f8a41773aaba (patch)
tree1bce126b953f17ce7358950b51d39de07174db0b /app
parent42eeb402ad574236902e40d35d630fa15d29a985 (diff)
Add Chinese for custom date/time format (#4853)
* Translate item_timeFormat in Chinese * Update sub.php * Update sub.php
Diffstat (limited to 'app')
-rw-r--r--app/i18n/zh-cn/sub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.php
index 4ad401329..cc2b7a738 100644
--- a/app/i18n/zh-cn/sub.php
+++ b/app/i18n/zh-cn/sub.php
@@ -99,8 +99,8 @@ return array(
'help' => '例如 <code>descendant::img/@src</code>',
),
'item_timeFormat' => array(
- '_' => 'Custom date/time format', // TODO
- 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ '_' => '自定义日期、时间格式',
+ 'help' => '可选。一个被 <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 支持的日期、时间格式,例如 <code>d-m-Y H:i:s</code>',
),
'item_timestamp' => array(
'_' => '文章日期:',