forked from github/server
immer noch ein paar kinks in den messages - automatische konvertierung war nicht 100% foolproof
This commit is contained in:
parent
af7cd1f1b2
commit
42480c7a58
|
@ -379,12 +379,12 @@ render_messages(FILE * F, faction * f, message_list *msgs)
|
|||
{
|
||||
struct mlist* m = msgs->begin;
|
||||
while (m) {
|
||||
char crbuffer[1024];
|
||||
char crbuffer[1024*32]; /* gross, wegen spionage-messages :-( */
|
||||
boolean printed = false;
|
||||
const struct message_type * mtype = m->msg->type;
|
||||
unsigned int hash = hashstring(mtype->name);
|
||||
#if RENDER_CRMESSAGES
|
||||
char nrbuffer[4096];
|
||||
char nrbuffer[1024*32];
|
||||
nrbuffer[0] = '\0';
|
||||
if (nr_render(m->msg, f->locale, nrbuffer, f)==0 && nrbuffer[0]) {
|
||||
fprintf(F, "MESSAGE %d\n", ++msgno);
|
||||
|
|
|
@ -4042,11 +4042,11 @@
|
|||
<arg name="command" type="string"></arg>
|
||||
<arg name="unit" type="unit"></arg>
|
||||
<arg name="amount" type="int"></arg>
|
||||
<arg name="item" type="resource"></arg>
|
||||
<arg name="item" type="string"></arg>
|
||||
</type>
|
||||
<locale name="en">
|
||||
<nr section="none">
|
||||
<text>"$unit($unit) in $region($region): '$command' - $unit($unit) creates $int($amount) $resource($item,$amount)."</text>
|
||||
<text>"$unit($unit) in $region($region): '$command' - $unit($unit) creates $int($amount) $item."</text>
|
||||
</nr>
|
||||
</locale>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue