nmr-warning more precise.

This commit is contained in:
Enno Rehling 2010-02-02 07:32:30 +00:00
parent 6eb4ea796b
commit b9573968ed
2 changed files with 4 additions and 3 deletions

View File

@ -1453,7 +1453,7 @@ nmr_warnings(void)
} }
if (warn) { if (warn) {
if (msg==NULL) { if (msg==NULL) {
msg = msg_message("warn_dropout", "faction", f); msg = msg_message("warn_dropout", "faction turns", f, turn - f->lastorders);
} }
add_message(&fa->msgs, msg); add_message(&fa->msgs, msg);
} }

View File

@ -8485,12 +8485,13 @@
<message name="warn_dropout" section="errors"> <message name="warn_dropout" section="errors">
<type> <type>
<arg name="faction" type="faction"/> <arg name="faction" type="faction"/>
<arg name="turns" type="int"/>
</type> </type>
<text locale="de">"Achtung: $faction($faction) hat einige Zeit keine <text locale="de">"Achtung: $faction($faction) hat seit $int($turns) Wochen keine
Züge eingeschickt und könnte dadurch in Kürze aus dem Spiel Züge eingeschickt und könnte dadurch in Kürze aus dem Spiel
ausscheiden."</text> ausscheiden."</text>
<text locale="en">"Warning: $faction($faction) has not been sending in <text locale="en">"Warning: $faction($faction) has not been sending in
orders for some time and may be leaving the game soon."</text> orders for $int($weeks) turns and may be leaving the game soon."</text>
</message> </message>
</messages> </messages>