Skip to content

Commit 2f46cd6

Browse files
committed
更新维护信息显示方式
1 parent 4e9ea3c commit 2f46cd6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/chsrc-main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
335335
{
336336
if (target->created_on)
337337
{
338-
char *msg = ENGLISH ? "Recipe Created On: " : "食谱诞生时间: ";
338+
char *msg = ENGLISH ? "Recipe Created On: " : "食谱创建时间: ";
339339
printf ("%s%s\n", bdblue(msg), target->created_on);
340340
}
341341

@@ -356,7 +356,7 @@ cli_print_target_maintain_info (Target_t *target, const char *input_target_name)
356356

357357

358358
{
359-
char *msg = ENGLISH ? "Current Cooks: " : "主要厨师: ";
359+
char *msg = ENGLISH ? "Cooks: " : "掌勺厨师: ";
360360
if (target->cooks && target->cooks_n > 0)
361361
{
362362
printf ("%s", bdblue(msg));

src/framework/chef.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* File Authors : 曾奥然 <[email protected]>
66
* Contributors : Nul None <[email protected]>
77
* Created On : <2025-08-09>
8-
* Last Modified : <2025-08-20>
8+
* Last Modified : <2025-08-21>
99
*
1010
* chef DSL: for chefs (recipe makers) to define a target
1111
* ------------------------------------------------------------*/
@@ -191,7 +191,7 @@ chef_verify_contributor (const char *id)
191191
if (!c)
192192
{
193193
char error[256];
194-
snprintf (error, sizeof (error), "贡献者不存在: %s, 是否写错?或者请在 chsrc-main.c 中登记该贡献者", id);
194+
snprintf (error, sizeof (error), "贡献者 %s 不存在, 是否写错?或请在 chsrc-main.c 中登记该贡献者", id);
195195
chsrc_panic (error);
196196
}
197197
return c;

0 commit comments

Comments
 (0)