forked from github/server
eliminate duplicate string definition
This commit is contained in:
parent
040485504d
commit
caa8159428
|
@ -6570,15 +6570,6 @@
|
|||
</string>
|
||||
</namespace>
|
||||
|
||||
<string name="nr_tree">
|
||||
<text locale="de">Baum</text>
|
||||
<text locale="en">tree</text>
|
||||
</string>
|
||||
<string name="nr_tree_p">
|
||||
<text locale="de">Bäume</text>
|
||||
<text locale="en">trees</text>
|
||||
</string>
|
||||
|
||||
<string name="nr_mallorntree">
|
||||
<text locale="de">Mallornbaum</text>
|
||||
<text locale="en">mallorn tree</text>
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue