From ce5531b39a190e435a97453291f1f8a41773aaba Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Tue, 15 Nov 2022 23:06:00 +0800 Subject: [PATCH] Add Chinese for custom date/time format (#4853) * Translate item_timeFormat in Chinese * Update sub.php * Update sub.php --- app/i18n/zh-cn/sub.php | 4 ++-- 1 file 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' => '例如 descendant::img/@src', ), 'item_timeFormat' => array( - '_' => 'Custom date/time format', // TODO - 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + '_' => '自定义日期、时间格式', + 'help' => '可选。一个被 DateTime::createFromFormat() 支持的日期、时间格式,例如 d-m-Y H:i:s', ), 'item_timestamp' => array( '_' => '文章日期:',