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 { } else {
sprintf(buf, "Ein silberner Schimmer umgibt das Schiff"); 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", 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; if (end==begin) return NULL;
else sprintf(buf, effects[begin + curse_geteffect(c) % (end-begin)], u->name); 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", static struct curse_type ct_sparkle = { "sparkle",
CURSETYP_UNIT, CURSE_SPREADMODULO, ( M_MEN | M_DURATION ), CURSETYP_UNIT, CURSE_SPREADMODULO, ( M_MEN | M_DURATION ),

View File

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