Merge pull request #674 from ennorehling/master

BUG 2306, TRANSLATIONS
This commit is contained in:
Enno Rehling 2017-03-11 17:34:53 +01:00 committed by GitHub
commit d40a4372fc

View file

@ -1096,10 +1096,10 @@ static char *cr_output_resource(char *buf, const resource_type *rtype,
{
const char *name, *tname;
assert(rtype);
name = resourcename(rtype, 1);
name = resourcename(rtype, NMF_PLURAL);
assert(name);
buf += sprintf(buf, "RESOURCE %u\n", hashstring(rtype->_name));
tname = LOC(loc, rtype->_name);
tname = LOC(loc, name);
assert(tname);
tname = translate(name, tname);
assert(tname);