# HG changeset patch # User antonc27 # Date 1445463971 -7200 # Node ID 24bafdcf1860e5f5a3368a65197070fa63ea54a5 # Parent 93bc68aa41d36d8e6a74fd63df708d5723ce2c31 - 'Press the target button to mark the target' message is localizable now diff -r 93bc68aa41d3 -r 24bafdcf1860 hedgewars/uTouch.pas --- a/hedgewars/uTouch.pas Wed Oct 21 21:58:50 2015 +0200 +++ b/hedgewars/uTouch.pas Wed Oct 21 23:46:11 2015 +0200 @@ -296,7 +296,7 @@ end; if targetting then - AddCaption('Press the target button to mark the target', cWhiteColor, capgrpAmmoInfo); + AddCaption(trmsg[sidPressTarget], cWhiteColor, capgrpAmmoInfo); deleteFinger(pointerId); end; diff -r 93bc68aa41d3 -r 24bafdcf1860 hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Wed Oct 21 21:58:50 2015 +0200 +++ b/hedgewars/uTypes.pas Wed Oct 21 23:46:11 2015 +0200 @@ -456,7 +456,7 @@ sidConfirm, sidSuddenDeath, sidRemaining, sidFuel, sidSync, sidNoEndTurn, sidNotYetAvailable, sidRoundSD, sidRoundsSD, sidReady, sidBounce1, sidBounce2, sidBounce3, sidBounce4, sidBounce5, sidBounce, - sidMute, sidAFK, sidAutoCameraOff, sidAutoCameraOn); + sidMute, sidAFK, sidAutoCameraOff, sidAutoCameraOn, sidPressTarget); // Events that are important for the course of the game or at least interesting for other reasons TEventId = (eidDied, eidDrowned, eidRoundStart, eidRoundWin, eidRoundDraw, diff -r 93bc68aa41d3 -r 24bafdcf1860 share/hedgewars/Data/Locale/en.txt --- a/share/hedgewars/Data/Locale/en.txt Wed Oct 21 21:58:50 2015 +0200 +++ b/share/hedgewars/Data/Locale/en.txt Wed Oct 21 23:46:11 2015 +0200 @@ -86,6 +86,7 @@ 01:22=AFK mode 01:23=Auto Camera Off 01:24=Auto Camera On +01:25=Press the target button to mark the target ; Event messages ; Hog (%1) died