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;
}
icat(itemanz);
scat(" ");
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;
}
}
log_error(("could not parse %s. Missing \"\"?", inn));
log_error(("could not parse \"%s\". Probably invalid message syntax.", inn));
return NULL;
}

View File

@ -1392,8 +1392,8 @@
<arg name="command" type="order"/>
<arg name="list" type="string"/>
</type>
<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="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>
</message>
<message name="missing_components" section="magic">
<type>
@ -6362,8 +6362,8 @@
<arg name="item" type="resource"/>
<arg name="number" type="int"/>
</type>
<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="de">"$unit($mage) erschafft $int($number) $resource($item,$number)."</text>
<text locale="en">"$unit($mage) creates $int($number) $resource($item,$number)."</text>
</message>
<message name="curseinfo::magicrunes_ship" section="events">