hedgewars/uGearsRender.pas
changeset 13150 2f7c25bf4201
parent 13096 d78e65c66573
child 13213 1ac1f5a91ec0
--- a/hedgewars/uGearsRender.pas	Fri Mar 09 21:09:53 2018 +0100
+++ b/hedgewars/uGearsRender.pas	Fri Mar 09 22:23:57 2018 +0100
@@ -608,7 +608,10 @@
                                 CurAmmoGear^.Pos,
                                 sign,
                                 0);
-                        DrawSprite(sprCensored, ox - 32, oy - 20, 0)
+                        // sprCensored contains English text, so only show it for English locales
+                        // TODO: Make text translatable. But how?
+                        if Copy(cLocale, 1, 2) = 'en' then
+                            DrawSprite(sprCensored, ox - 32, oy - 20, 0);
                         end;
                     defaultPos:= false
                     end;