forked from github/server
Crashbug Stringformatierung
Falscher Message-type Newbie-message
This commit is contained in:
parent
425cf5368d
commit
075bcbff4a
|
@ -2299,14 +2299,11 @@ report(FILE *F, faction * f, const faction_list * addresses,
|
||||||
w += weight(u);
|
w += weight(u);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sprintf(buf, "%s, %s %s, (%d/%d)",
|
sprintf(buf, "%s, %s, (%d/%d)",
|
||||||
shipname(sh),
|
shipname(sh), LOC(f->locale, sh->type->name[0]),
|
||||||
LOC(f->locale, sh->type->name[0]),
|
(w + 99) / 100, shipcapacity(sh) / 100);
|
||||||
(w + 99) / 100, /* +99 weil sonst die Nachkommastellen ignoriert würden */
|
|
||||||
shipcapacity(sh) / 100);
|
|
||||||
} else {
|
} else {
|
||||||
sprintf(buf, "%s, %s", shipname(sh),
|
sprintf(buf, "%s, %s", shipname(sh), LOC(f->locale, sh->type->name[0]));
|
||||||
LOC(f->locale, sh->type->name[0]));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(sh->type->construction->improvement==NULL); /* sonst ist construction::size nicht ship_type::maxsize */
|
assert(sh->type->construction->improvement==NULL); /* sonst ist construction::size nicht ship_type::maxsize */
|
||||||
|
|
|
@ -2226,7 +2226,7 @@
|
||||||
<arg name="turns" type="int"/>
|
<arg name="turns" type="int"/>
|
||||||
<arg name="unit" type="unit"/>
|
<arg name="unit" type="unit"/>
|
||||||
<arg name="region" type="region"/>
|
<arg name="region" type="region"/>
|
||||||
<arg name="command" type="command"/>
|
<arg name="command" type="order"/>
|
||||||
</type>
|
</type>
|
||||||
<text locale="de">"Eine Partei muß mindestens $int($turns) Wochen alt sein, bevor sie angegriffen oder bestohlen werden kann."</text>
|
<text locale="de">"Eine Partei muß mindestens $int($turns) Wochen alt sein, bevor sie angegriffen oder bestohlen werden kann."</text>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in New Issue