forked from github/server
nmr-warning more precise.
This commit is contained in:
parent
6eb4ea796b
commit
b9573968ed
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue