- 'Press the target button to mark the target' message is localizable now ios-revival
authorantonc27 <antonc27@mail.ru>
Wed, 21 Oct 2015 23:46:11 +0200
branchios-revival
changeset 11228 24bafdcf1860
parent 11227 93bc68aa41d3
child 11229 eb600ab27fb9
- 'Press the target button to mark the target' message is localizable now
hedgewars/uTouch.pas
hedgewars/uTypes.pas
share/hedgewars/Data/Locale/en.txt
--- 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;
--- 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,
--- 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