Use translation template for speech bubble command
authorWuzzy <Wuzzy2@mail.ru>
Mon, 03 Sep 2018 05:05:00 +0200
changeset 13749 0e8db74ec585
parent 13748 d09366ca4d7b
child 13750 110d6c1e817f
Use translation template for speech bubble command
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Mon Sep 03 01:48:00 2018 +0200
+++ b/hedgewars/uGears.pas	Mon Sep 03 05:05:00 2018 +0200
@@ -1208,8 +1208,7 @@
                 Gear^.Text:= text;
                 Gear^.FrameTicks:= x
                 end;
-            //ParseCommand('/say [' + hh^.Name + '] '+text, true)
-            AddChatString(#9+'[' + HH^.Name + '] '+text);
+            AddChatString(#9+FormatA(trmsg[sidChatHog], [HH^.Name, text]));
             end
         end
     else if (x >= 4) then