diff --git a/src/common/kernel/build.c b/src/common/kernel/build.c index c5f627218..f7323d787 100644 --- a/src/common/kernel/build.c +++ b/src/common/kernel/build.c @@ -1210,16 +1210,13 @@ enter_building(unit * u, order * ord, int id, boolean report) } if (!mayenter(r, u, b)) { if (report) { - sprintf(buf, "Der Eintritt in %s wurde verwehrt", - buildingname(b)); - mistake(u, ord, buf, MSG_MOVE); + ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "entrance_denied", "building", b)); } return false; } if (!slipthru(r, u, b)) { if (report) { - sprintf(buf, "%s wird belagert", buildingname(b)); - mistake(u, ord, buf, MSG_MOVE); + ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "entrance_besieged", "building", b)); } return false; } diff --git a/src/res/messages.xml b/src/res/messages.xml index b62a6edd0..cd031fffe 100644 --- a/src/res/messages.xml +++ b/src/res/messages.xml @@ -3605,6 +3605,26 @@ "$unit($unit) in $region($region): '$order($command)' - The unit cannot transport us to this place." "$unit($unit) in $region($region): '$order($command)' - The unit cannot transport us to this place." + + + + + + + + "$unit($unit) in $region($region): '$order($command)' - $building($building) wird belagert." + "$unit($unit) in $region($region): '$order($command)' - $building($building) is under siege." + + + + + + + + + "$unit($unit) in $region($region): '$order($command)' - Der Eintritt in $building($building) wurde verwehrt." + "$unit($unit) in $region($region): '$order($command)' - Entrance to $building($building) was denied." +