share/hedgewars/Data/Scripts/Utils.lua
changeset 14525 029f40c609b4
parent 14475 2113296b7a29
child 14591 b4089fa16b34
--- a/share/hedgewars/Data/Scripts/Utils.lua	Sat Jan 05 23:15:13 2019 +0100
+++ b/share/hedgewars/Data/Scripts/Utils.lua	Sun Jan 06 01:21:16 2019 +0100
@@ -36,12 +36,14 @@
 end
 
 local function challengeRecordToString(recordType, value)
-	if recordType == "TimeRecord" or recordType == "TimeRecordHigh" then
-		return string.format(loc("Team record: %.3fs"), value/1000)
+	if recordType == "TimeRecord" then
+		return string.format(loc("Team's best time: %.3fs"), value/1000)
+	elseif recordType == "TimeRecordHigh" then
+		return string.format(loc("Team's longest time: %.3fs"), value/1000)
 	elseif recordType == "Highscore" then
-		return string.format(loc("Team high score: %d"), value)
-	else
-		return string.format(loc("Team record: %d"), value)
+		return string.format(loc("Team highscore: %d"), value)
+	elseif recordType == "Lowscore" then
+		return string.format(loc("Team lowscore: %d"), value)
 	end
 end