From caa8159428ef17f0b2d0b668a0d00ada291b6c32 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 5 Mar 2017 09:52:17 +0100 Subject: [PATCH] eliminate duplicate string definition --- res/core/de/strings.xml | 9 --------- src/report.c | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/res/core/de/strings.xml b/res/core/de/strings.xml index 26e8cc862..5dc649aa1 100644 --- a/res/core/de/strings.xml +++ b/res/core/de/strings.xml @@ -6570,15 +6570,6 @@ - - Baum - tree - - - Bäume - trees - - Mallornbaum mallorn tree diff --git a/src/report.c b/src/report.c index cf00abbc3..6af46ba07 100644 --- a/src/report.c +++ b/src/report.c @@ -987,10 +987,10 @@ static void describe(struct stream *out, const region * r, faction * f) } } else if (trees == 1) { - bytes = (int)strlcpy(bufp, LOC(f->locale, "nr_tree"), size); + bytes = (int)strlcpy(bufp, LOC(f->locale, "tree"), size); } else { - bytes = (int)strlcpy(bufp, LOC(f->locale, "nr_tree_p"), size); + bytes = (int)strlcpy(bufp, LOC(f->locale, "tree_p"), size); } if (wrptr(&bufp, &size, bytes) != 0) WARN_STATIC_BUFFER();