From 9ae0e95db6e2e0a49c5aef1281470fa70fceafca Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Mon, 27 Jan 2020 20:51:32 -0800 Subject: [PATCH] Adopted the more compact form used in the master branch for displaying the message about adding an essence to and object. --- src/cmd/cmd-smith.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/cmd/cmd-smith.c b/src/cmd/cmd-smith.c index 73980bf15..df94fb0ef 100644 --- a/src/cmd/cmd-smith.c +++ b/src/cmd/cmd-smith.c @@ -1313,12 +1313,8 @@ static void add_essence(player_type *creature_ptr, ESSENCE_IDX mode) } take_turn(creature_ptr, 100); - -#ifdef JP - msg_format("%sに%sの能力を付加しました。", o_name, es_ptr->add_name); -#else - msg_format("You have added ability of %s to %s.", es_ptr->add_name, o_name); -#endif + _(msg_format("%sに%sの能力を付加しました。", o_name, es_ptr->add_name), + msg_format("You have added ability of %s to %s.", es_ptr->add_name, o_name)); creature_ptr->update |= (PU_COMBINE | PU_REORDER); creature_ptr->window |= (PW_INVEN); } -- 2.11.0