From a31de0da4f6be86786a4c0169ed61004052ff7b9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 11 Mar 2017 17:22:40 +0100 Subject: [PATCH] BUG 2306: TRANSLATIONS Plural/Singular mixup. https://bugs.eressea.de/view.php?id=2306 --- src/creport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/creport.c b/src/creport.c index d16f87f22..21e3f6d0b 100644 --- a/src/creport.c +++ b/src/creport.c @@ -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);