share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua
branchios-revival
changeset 11247 1e55e4c5dda0
parent 11015 7a905f0070ce
child 12054 030464f34d47
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Sat Oct 24 16:01:19 2015 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Sun Oct 25 03:14:49 2015 +0100
@@ -141,7 +141,7 @@
 		game_lost = true
 		time_goal = 1
 		AddCaption(loc("You lose!"), 0xFFFFFFFF, capgrpGameState)
-		ShowMission(loc("Bazooka Training"), loc("Aiming practice"), loc("Oh no! You failed! Just try again."), -amSkip, 0)
+		ShowMission(loc("Bazooka Training"), loc("Aiming Practice"), loc("Oh no! You failed! Just try again."), -amSkip, 0)
 	end
 
 	-- If the goal is reached or we've lost ...
@@ -162,11 +162,11 @@
 				SendStat(siCustomAchievement, string.format(loc("Your accuracy was %.1f%%."), (score/shots)*100))
 			end
 			if score == score_goal then
-				SendStat(siGameResult, "You have finished the bazooka training!")
+				SendStat(siGameResult, loc("You have finished the bazooka training!"))
 				SendStat(siCustomAchievement, string.format(loc("%.1f seconds were remaining."), (time_goal/1000), math.ceil(time_goal/12)))
 			end
 			if game_lost then
-				SendStat(siGameResult, "You lose!")
+				SendStat(siGameResult, loc("You lose!"))
 			end
 
 			-- Finally we end the game ...
@@ -224,7 +224,7 @@
 		if not game_lost then
 			game_lost = true
 			AddCaption(loc("You lose!", 0xFFFFFFFF, capgrpGameState))
-			ShowMission(loc("Bazooka Training") , loc("Aiming practice"), loc("Oh no! You failed! Just try again."), -amSkip, 0)
+			ShowMission(loc("Bazooka Training") , loc("Aiming Practice"), loc("Oh no! You failed! Just try again."), -amSkip, 0)
 
 			time_goal = 1
 		end