translate region visibility in NR

This commit is contained in:
Enno Rehling 2012-07-08 16:04:45 -07:00
parent e7f0650e4c
commit 9af5f08a8a
2 changed files with 18 additions and 3 deletions

View File

@ -7027,6 +7027,21 @@
<text locale="en">is helping the factions</text> <text locale="en">is helping the factions</text>
</string> </string>
<string name="see_travel">
<text locale="de">durchgereist</text>
<text locale="en">travel</text>
</string>
<string name="see_neighbour">
<text locale="de">benachbart</text>
<text locale="en">neighbour</text>
</string>
<string name="see_lighthouse">
<text locale="de">vom Turm erblickt</text>
<text locale="en">from lighthouse</text>
</string>
<string name="list_and"> <string name="list_and">
<text locale="de"> und </text> <text locale="de"> und </text>
<text locale="en"> and </text> <text locale="en"> and </text>

View File

@ -940,11 +940,11 @@ static void describe(FILE * F, const seen_region * sr, faction * f)
WARN_STATIC_BUFFER(); WARN_STATIC_BUFFER();
if (sr->mode == see_travel) { if (sr->mode == see_travel) {
bytes = (int)strlcpy(bufp, " (durchgereist)", size); bytes = snprintf(buf, size, " (%s)", LOC(f->locale, "see_travel"));
} else if (sr->mode == see_neighbour) { } else if (sr->mode == see_neighbour) {
bytes = (int)strlcpy(bufp, " (benachbart)", size); bytes = snprintf(buf, size, " (%s)", LOC(f->locale, "see_neighbour"));
} else if (sr->mode == see_lighthouse) { } else if (sr->mode == see_lighthouse) {
bytes = (int)strlcpy(bufp, " (vom Turm erblickt)", size); bytes = snprintf(buf, size, " (%s)", LOC(f->locale, "see_lighthouse"));
} else { } else {
bytes = 0; bytes = 0;
} }