mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-09 11:35:51 +08:00
更新维护信息显示方式
This commit is contained in:
parent
4e9ea3ccc2
commit
2f46cd63f5
@ -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));
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user