Localize the word “for” in Strife’s trading dialogs

This deals with what seems to be the only hardcoded piece of text in Strife. Also added a translation to the French file and removed a few superfluous line breaks in the English one.
This commit is contained in:
Simon 2018-03-31 18:14:27 +02:00 committed by Christoph Oelckers
parent b36fc82fff
commit 4afc538f88
3 changed files with 4 additions and 7 deletions

View file

@ -579,7 +579,6 @@ NERVETEXT =
"\n"
"THIS RIDE IS CLOSED.\n";
// Cast list (must appear in this order)
CC_ZOMBIE = "ZOMBIEMAN";
CC_SHOTGUN = "SHOTGUN GUY";
@ -1299,7 +1298,6 @@ TXT_IMITEMS = "ITEMS";
TXT_IMSECRETS = "SECRETS";
TXT_IMTIME = "TIME";
RAVENQUITMSG = "ARE YOU SURE YOU WANT TO QUIT?";
// Hexen strings
@ -1459,7 +1457,6 @@ TXT_MAULER = "You picked up the mauler.";
TXT_GLAUNCHER = "You picked up the Grenade launcher.";
TXT_SIGIL = "You picked up the SIGIL.";
TXT_BASEKEY = "You picked up the Base Key.";
TXT_GOVSKEY = "You picked up the Govs Key.";
TXT_PASSCARD = "You picked up the Passcard.";
@ -1567,6 +1564,7 @@ TXT_GOAWAY = "Go away!";
TXT_COMM0 = "Incoming Message";
TXT_COMM1 = "Incoming Message from BlackBird";
TXT_TRADE = " for %u";
AMMO_CLIP = "Bullets";
AMMO_SHELLS = "Shotgun Shells";
@ -2471,12 +2469,10 @@ OPTSTR_NOINTERPOLATION = "No interpolation";
OPTSTR_SPLINE = "Spline";
OPTSTR_OPENAL = "OpenAL";
NOTSET = "Not set";
SAFEMESSAGE = "Do you really want to do this?";
MNU_COLORPICKER = "SELECT COLOR";
WI_FINISHED = "finished";
WI_ENTERING = "Now entering:";
@ -2852,7 +2848,6 @@ DSPLYMNU_TCOPT = "TrueColor Options";
TCMNU_TITLE = "TRUECOLOR OPTIONS";
TCMNU_TRUECOLOR = "True color output";
TCMNU_MINFILTER = "Linear filter when downscaling";
TCMNU_MAGFILTER = "Linear filter when upscaling";

View file

@ -1646,6 +1646,8 @@ TXT_GOAWAY = "Allez-vous en!";
TXT_COMM0 = "Message reçu.";
TXT_COMM1 = "Message reçu de BlackBird";
TXT_TRADE = " pour %u";
AMMO_CLIP = "Balles";
AMMO_SHELLS = "Cartouches";
AMMO_ROCKETS = "Roquettes";

View file

@ -137,7 +137,7 @@ class ConversationMenu : Menu
mShowGold |= reply.NeedsGold;
let ReplyText = Stringtable.Localize(reply.Reply);
if (reply.NeedsGold) ReplyText.AppendFormat(" for %u", reply.PrintAmount);
if (reply.NeedsGold) ReplyText.AppendFormat(Stringtable.Localize("$TXT_TRADE"), reply.PrintAmount);
let ReplyLines = SmallFont.BreakLines (ReplyText, ReplyWidth);