stupidly mucking about with message syntax.

This commit is contained in:
Enno Rehling 2005-07-26 20:13:53 +00:00
parent 823179a315
commit 30e4a626f2
3 changed files with 6 additions and 5 deletions

View File

@ -949,6 +949,7 @@ cancast(unit * u, spell * sp, int level, int range, struct order * ord)
buf[0] = 0; buf[0] = 0;
} }
icat(itemanz); icat(itemanz);
scat(" ");
scat(LOC(u->faction->locale, resname(res, itemanz!=1))); scat(LOC(u->faction->locale, resname(res, itemanz!=1)));
} }
} }

View File

@ -341,7 +341,7 @@ parse(opstack ** stack, const char* inn, const void * userdata)
else ++b; else ++b;
} }
} }
log_error(("could not parse %s. Missing \"\"?", inn)); log_error(("could not parse \"%s\". Probably invalid message syntax.", inn));
return NULL; return NULL;
} }

View File

@ -1392,8 +1392,8 @@
<arg name="command" type="order"/> <arg name="command" type="order"/>
<arg name="list" type="string"/> <arg name="list" type="string"/>
</type> </type>
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Für diesen Zauber fehlen noch $list."</text> <text locale="de">"$unit($unit) in $region($region): '$order($command)' - Für diesen Zauber fehlen noch ${list}."</text>
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - Casting this spell requires an additional $list."</text> <text locale="en">"$unit($unit) in $region($region): '$order($command)' - Casting this spell requires an additional ${list}."</text>
</message> </message>
<message name="missing_components" section="magic"> <message name="missing_components" section="magic">
<type> <type>
@ -6362,8 +6362,8 @@
<arg name="item" type="resource"/> <arg name="item" type="resource"/>
<arg name="number" type="int"/> <arg name="number" type="int"/>
</type> </type>
<text locale="de">"$unit(mage) erschafft $int($number) $resource($item, $number)."</text> <text locale="de">"$unit($mage) erschafft $int($number) $resource($item,$number)."</text>
<text locale="en">"$unit(mage) creates $int($number) $resource($item, $number)."</text> <text locale="en">"$unit($mage) creates $int($number) $resource($item,$number)."</text>
</message> </message>
<message name="curseinfo::magicrunes_ship" section="events"> <message name="curseinfo::magicrunes_ship" section="events">