forked from github/server
"Meldung in beiden Reporten doppelt" ... and translation while I'm at it.
This commit is contained in:
parent
03d96be44f
commit
486616cdfa
2 changed files with 22 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -3605,6 +3605,26 @@
|
|||
<text locale="fr">"$unit($unit) in $region($region): '$order($command)' - The unit cannot transport us to this place."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - The unit cannot transport us to this place."</text>
|
||||
</message>
|
||||
<message name="entrance_besieged" section="events">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
<arg name="command" type="order"/>
|
||||
<arg name="building" type="building"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - $building($building) wird belagert."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $building($building) is under siege."</text>
|
||||
</message>
|
||||
<message name="entrance_denied" section="events">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
<arg name="command" type="order"/>
|
||||
<arg name="building" type="building"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Der Eintritt in $building($building) wurde verwehrt."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - Entrance to $building($building) was denied."</text>
|
||||
</message>
|
||||
<message name="error229" section="errors">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
|
|
Loading…
Reference in a new issue