Change ammo display texts in Tumbler to avoid pluralization failures
authorWuzzy <almikes@aol.com>
Thu, 24 Nov 2016 00:50:40 +0100
changeset 12057 144264948277
parent 12056 05a968518a56
child 12058 281a4f33b08f
Change ammo display texts in Tumbler to avoid pluralization failures
share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua	Thu Nov 24 00:42:27 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua	Thu Nov 24 00:50:40 2016 +0100
@@ -410,9 +410,9 @@
 		shotsMsg = loc("Out of ammo!")
 	else
 		if wepIndex == 2 then
-			shotsMsg = loc("%d fuel remaining")
+			shotsMsg = loc("Fuel: %d")
 		else
-			shotsMsg = loc("%d shots remaining")
+			shotsMsg = loc("Ammo: %d")
 		end
 	end
 	AddCaption(string.format(shotsMsg, wepAmmo[wepIndex]), wepCol[wepIndex],capgrpMessage2)