From 4afc538f885612f72841f9802fbbd2d17929d674 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 31 Mar 2018 18:14:27 +0200 Subject: [PATCH] =?UTF-8?q?Localize=20the=20word=20=E2=80=9Cfor=E2=80=9D?= =?UTF-8?q?=20in=20Strife=E2=80=99s=20trading=20dialogs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- wadsrc/static/language.enu | 7 +------ wadsrc/static/language.fr | 2 ++ wadsrc/static/zscript/menu/conversationmenu.txt | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/wadsrc/static/language.enu b/wadsrc/static/language.enu index da16d83e44..d7da664e1d 100644 --- a/wadsrc/static/language.enu +++ b/wadsrc/static/language.enu @@ -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"; diff --git a/wadsrc/static/language.fr b/wadsrc/static/language.fr index 9731033278..fa49cc07eb 100644 --- a/wadsrc/static/language.fr +++ b/wadsrc/static/language.fr @@ -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"; diff --git a/wadsrc/static/zscript/menu/conversationmenu.txt b/wadsrc/static/zscript/menu/conversationmenu.txt index 8d05ee4baa..3474753e8f 100644 --- a/wadsrc/static/zscript/menu/conversationmenu.txt +++ b/wadsrc/static/zscript/menu/conversationmenu.txt @@ -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);