更新维护信息显示方式

This commit is contained in:
Aoran Zeng 2025-08-21 18:41:15 +08:00
parent 4e9ea3ccc2
commit 2f46cd63f5
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 4 additions and 4 deletions

View File

@ -335,7 +335,7 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
{
if (target->created_on)
{
char *msg = ENGLISH ? "Recipe Created On: " : "食谱诞生时间: ";
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
printf ("%s%s\n", bdblue(msg), target->created_on);
}
@ -356,7 +356,7 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
{
char *msg = ENGLISH ? "Current Cooks: " : "主要厨师: ";
char *msg = ENGLISH ? "Cooks: " : "掌勺厨师: ";
if (target->cooks && target->cooks_n > 0)
{
printf ("%s", bdblue(msg));

View File

@ -5,7 +5,7 @@
* File Authors : <ccmywish@qq.com>
* Contributors : Nul None <nul@none.org>
* Created On : <2025-08-09>
* Last Modified : <2025-08-20>
* Last Modified : <2025-08-21>
*
* chef DSL: for chefs (recipe makers) to define a target
* ------------------------------------------------------------*/
@ -191,7 +191,7 @@ chef_verify_contributor (const char *id)
if (!c)
{
char error[256];
snprintf (error, sizeof (error), "贡献者不存在: %s, 是否写错?或请在 chsrc-main.c 中登记该贡献者", id);
snprintf (error, sizeof (error), "贡献者 %s 不存在, 是否写错?或请在 chsrc-main.c 中登记该贡献者", id);
chsrc_panic (error);
}
return c;