From 2f46cd63f5b8b4683f4e73a560230575e6f6bf37 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 21 Aug 2025 18:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=B4=E6=8A=A4=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=98=BE=E7=A4=BA=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chsrc-main.c | 4 ++-- src/framework/chef.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chsrc-main.c b/src/chsrc-main.c index fd5724b..65e6f21 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -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)); diff --git a/src/framework/chef.c b/src/framework/chef.c index 4e10ad3..a82b9f8 100644 --- a/src/framework/chef.c +++ b/src/framework/chef.c @@ -5,7 +5,7 @@ * File Authors : 曾奥然 * Contributors : Nul None * 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;