forked from github/server
commit
d40a4372fc
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue