forked from github/server
stupidly mucking about with message syntax.
This commit is contained in:
parent
823179a315
commit
30e4a626f2
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue