bugfix info_str messages

This commit is contained in:
Enno Rehling 2007-03-09 22:10:01 +00:00
parent 0423debfde
commit 9370a34190
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ cinfo_shipnodrift(const void * obj, typ_t typ, const curse *c, int self)
} else {
sprintf(buf, "Ein silberner Schimmer umgibt das Schiff");
}
return msg_message("curseinfo::info_str", buf, c->no);
return msg_message("curseinfo::info_str", "text id", buf, c->no);
}
static struct curse_type ct_stormwind = { "stormwind",

View File

@ -257,7 +257,7 @@ cinfo_sparkle(const void * obj, typ_t typ, const curse *c, int self)
if (end==begin) return NULL;
else sprintf(buf, effects[begin + curse_geteffect(c) % (end-begin)], u->name);
return msg_message("curseinfo::info_str", "info id", buf, c->no);
return msg_message("curseinfo::info_str", "text id", buf, c->no);
}
static struct curse_type ct_sparkle = { "sparkle",
CURSETYP_UNIT, CURSE_SPREADMODULO, ( M_MEN | M_DURATION ),

View File

@ -96,7 +96,7 @@
</message>
<message name="curseinfo::info_str" section="events">
<type>
<arg name="info" type="string"/>
<arg name="text" type="string"/>
<arg name="id" type="int"/>
</type>
<text locale="de">"${info}. ($int36($id))"</text>