OSDN Git Service

To match English message for adding an essence to an object, swapped the format argum...
authorEric Branlund <ebranlund@fastmail.com>
Tue, 28 Jan 2020 04:45:30 +0000 (20:45 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Tue, 28 Jan 2020 04:45:30 +0000 (20:45 -0800)
src/cmd-smith.c

index 264f5ff..654da6b 100644 (file)
@@ -1306,7 +1306,8 @@ static void add_essence(ESSENCE_IDX mode)
        }
 
        take_turn(p_ptr, 100);
-       msg_format(_("%sに%sの能力を付加しました。", "You have added ability of %s to %s."), o_name, es_ptr->add_name);
+       _(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));
        p_ptr->update |= (PU_COMBINE | PU_REORDER);
        p_ptr->window |= (PW_INVEN);
 }