Pestmeldung, Regionen Singular/Plural.

This commit is contained in:
Enno Rehling 2019-09-22 13:18:30 +02:00
parent 6c73a58608
commit 3ac343a997
5 changed files with 6 additions and 4 deletions

View File

@ -5291,6 +5291,7 @@
<message name="pest" section="events"> <message name="pest" section="events">
<type> <type>
<arg name="dead" type="int"/> <arg name="dead" type="int"/>
<arg name="peasants" type="resource"/>
</type> </type>
</message> </message>
<message name="error131" section="errors"> <message name="error131" section="errors">

View File

@ -2370,7 +2370,7 @@ msgid "sp_confusion_effect_0"
msgstr "\"$unit($mage) stimmt einen seltsamen Gesang an. Ein plötzlicher Tumult entsteht, der sich jedoch schnell wieder legt.\"" msgstr "\"$unit($mage) stimmt einen seltsamen Gesang an. Ein plötzlicher Tumult entsteht, der sich jedoch schnell wieder legt.\""
msgid "pest" msgid "pest"
msgstr "\"Hier wütete die Pest, und $int($dead) Bauern starben.\"" msgstr "\"Hier wütete die Pest, und $int($dead) $resource($peasants,$dead) $if($eq($dead,1), \"starb\", \"starben\").\""
msgid "wormhole_exit" msgid "wormhole_exit"
msgstr "\"$unit($unit) reist durch ein Wurmloch nach $region($region).\"" msgstr "\"$unit($unit) reist durch ein Wurmloch nach $region($region).\""

View File

@ -2370,7 +2370,7 @@ msgid "sp_confusion_effect_0"
msgstr "\"$unit($mage) intones a mysterious chant. There is a sudden hubbub, but order is restored quickly.\"" msgstr "\"$unit($mage) intones a mysterious chant. There is a sudden hubbub, but order is restored quickly.\""
msgid "pest" msgid "pest"
msgstr "\"The region is visited by the plague and $int($dead) peasants died.\"" msgstr "\"The region is visited by the plague and $int($dead) $resource($$peasants,$dead) died.\""
msgid "wormhole_exit" msgid "wormhole_exit"
msgstr "\"$unit($unit) travels through a wormhole to $region($region).\"" msgstr "\"$unit($unit) travels through a wormhole to $region($region).\""

View File

@ -571,7 +571,7 @@ msgid "balloon"
msgstr "Ballon" msgstr "Ballon"
msgid "nr_schemes_template" msgid "nr_schemes_template"
msgstr "Schemen der Regionen {0} sind erkennbar." msgstr "Schemen von {0} sind erkennbar."
msgid "list_two" msgid "list_two"
msgstr "{0} und {1}" msgstr "{0} und {1}"

View File

@ -587,7 +587,8 @@ void plagues(region * r)
} }
if (dead > 0) { if (dead > 0) {
ADDMSG(&r->msgs, msg_message("pest", "dead", dead)); ADDMSG(&r->msgs, msg_message("pest", "peasants dead",
get_resourcetype(R_PEASANT), dead));
deathcounts(r, dead); deathcounts(r, dead);
rsetpeasants(r, peasants - dead); rsetpeasants(r, peasants - dead);
} }