From d478be8431021e2511a42265cac598786a6cac90 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Fri, 19 Sep 2025 11:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=B6=E9=97=B4=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chsrc-main.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/chsrc-main.c b/src/chsrc-main.c index 2430abb..cfc8460 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -342,8 +342,20 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name) { if (target->created_on) { - char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: "; - printf ("%s%s\n", bdblue(msg), target->created_on); + char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建: "; + printf ("%s%s ", bdblue(msg), target->created_on); + } + + if (target->last_updated) + { + char *msg = ENGLISH ? "Recipe Last Updated: " : "食谱更新: "; + printf ("%s%s ", bdblue(msg), target->last_updated); + } + + if (target->sources_last_updated) + { + char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食源检查: "; + printf ("%s%s\n", bdblue(msg), target->sources_last_updated); } { @@ -401,18 +413,6 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name) printf ("%s%s\n", bdblue(msg), bdgreen(msg1)); } } - - if (target->sources_last_updated) - { - char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食源检查时间: "; - printf ("%s%s\n", bdblue(msg), target->sources_last_updated); - } - - if (target->last_updated) - { - char *msg = ENGLISH ? "Recipe Last Updated: " : "食谱更新时间: "; - printf ("%s%s\n", bdblue(msg), target->last_updated); - } }