forked from github/server
BUG 2306: TRANSLATIONS Plural/Singular mixup.
https://bugs.eressea.de/view.php?id=2306
This commit is contained in:
parent
cdf13c9fec
commit
a31de0da4f
|
@ -1096,10 +1096,10 @@ static char *cr_output_resource(char *buf, const resource_type *rtype,
|
||||||
{
|
{
|
||||||
const char *name, *tname;
|
const char *name, *tname;
|
||||||
assert(rtype);
|
assert(rtype);
|
||||||
name = resourcename(rtype, 1);
|
name = resourcename(rtype, NMF_PLURAL);
|
||||||
assert(name);
|
assert(name);
|
||||||
buf += sprintf(buf, "RESOURCE %u\n", hashstring(rtype->_name));
|
buf += sprintf(buf, "RESOURCE %u\n", hashstring(rtype->_name));
|
||||||
tname = LOC(loc, rtype->_name);
|
tname = LOC(loc, name);
|
||||||
assert(tname);
|
assert(tname);
|
||||||
tname = translate(name, tname);
|
tname = translate(name, tname);
|
||||||
assert(tname);
|
assert(tname);
|
||||||
|
|
Loading…
Reference in New Issue