--- a/hedgewars/uStore.pas Wed Aug 08 13:02:24 2018 +0200
+++ b/hedgewars/uStore.pas Wed Aug 08 13:14:42 2018 +0200
@@ -533,7 +533,7 @@
// number of weapons in ammo menu
for i:= Low(CountTexz) to High(CountTexz) do
begin
- tmpsurf:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(IntToStr(i) + 'x'), cWhiteColorChannels);
+ tmpsurf:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(Format(trmsg[sidAmmoCount], IntToStr(i))), cWhiteColorChannels);
tmpsurf:= doSurfaceConversion(tmpsurf);
FreeAndNilTexture(CountTexz[i]);
CountTexz[i]:= Surface2Tex(tmpsurf, false);
--- a/hedgewars/uTypes.pas Wed Aug 08 13:02:24 2018 +0200
+++ b/hedgewars/uTypes.pas Wed Aug 08 13:14:42 2018 +0200
@@ -480,7 +480,8 @@
sidNotAvailableInSD, sidHealthGain, sidEmptyCrate, sidUnknownKey,
sidWinner2, sidWinner3, sidWinner4, sidWinner5, sidWinner6,
sidWinner7, sidWinnerAll, sidTeamGone, sidTeamBack, sidAutoSkip,
- sidFPS, sidLuaParsingOff, sidLuaParsingOn, sidLuaParsingDenied);
+ sidFPS, sidLuaParsingOff, sidLuaParsingOn, sidLuaParsingDenied,
+ sidAmmoCount);
TCmdHelpStrId = (
sidCmdHeaderBasic, sidCmdTogglechat, sidCmdTeam, sidCmdMe,
--- a/share/hedgewars/Data/Locale/de.txt Wed Aug 08 13:02:24 2018 +0200
+++ b/share/hedgewars/Data/Locale/de.txt Wed Aug 08 13:14:42 2018 +0200
@@ -109,6 +109,7 @@
01:41=Lua-Parsing: AUS
01:42=Lua-Parsing: AN
01:43=Lua-Parsing ist in Online-Spielen nicht erlaubt!
+01:44=%1×
; Event messages
; Hog (%1) died
--- a/share/hedgewars/Data/Locale/en.txt Wed Aug 08 13:02:24 2018 +0200
+++ b/share/hedgewars/Data/Locale/en.txt Wed Aug 08 13:14:42 2018 +0200
@@ -108,6 +108,8 @@
01:41=Lua parsing: OFF
01:42=Lua parsing: ON
01:43=Lua parsing is not allowed in online games!
+; Ammo count in ammo menu
+01:44=%1×
; Event messages
; Normal hog (%1) died (0 health)