Skip to content

Commit d478be8

Browse files
committed
调整时间打印位置
1 parent d424ed2 commit d478be8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/chsrc-main.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,20 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
342342
{
343343
if (target->created_on)
344344
{
345-
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
346-
printf ("%s%s\n", bdblue(msg), target->created_on);
345+
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建: ";
346+
printf ("%s%s ", bdblue(msg), target->created_on);
347+
}
348+
349+
if (target->last_updated)
350+
{
351+
char *msg = ENGLISH ? "Recipe Last Updated: " : "食谱更新: ";
352+
printf ("%s%s ", bdblue(msg), target->last_updated);
353+
}
354+
355+
if (target->sources_last_updated)
356+
{
357+
char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食源检查: ";
358+
printf ("%s%s\n", bdblue(msg), target->sources_last_updated);
347359
}
348360

349361
{
@@ -401,18 +413,6 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
401413
printf ("%s%s\n", bdblue(msg), bdgreen(msg1));
402414
}
403415
}
404-
405-
if (target->sources_last_updated)
406-
{
407-
char *msg = ENGLISH ? "Ingredient(Sources) Last Updated: " : "食源检查时间: ";
408-
printf ("%s%s\n", bdblue(msg), target->sources_last_updated);
409-
}
410-
411-
if (target->last_updated)
412-
{
413-
char *msg = ENGLISH ? "Recipe Last Updated: " : "食谱更新时间: ";
414-
printf ("%s%s\n", bdblue(msg), target->last_updated);
415-
}
416416
}
417417

418418

0 commit comments

Comments
 (0)