share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 4072 6bc2b8982c7b
parent 4071 20df9c487482
child 4074 b73fd6ca06dd
equal deleted inserted replaced
4071:20df9c487482 4072:6bc2b8982c7b
     1 -- Hedgewars - Roperace for 2+ Players
     1 -- Hedgewars - Roperace for 2+ Players
     2 
     2 
     3 local caption = {
     3 local caption = {
     4 	["en"] = "ShoppaKing Map Three: TrophyRace",
     4 	["en"] = "ShoppaKing Map Three: TrophyRace",
       
     5 	["sv"] = "ShoppaKing bana tre: TrophyRace",
     5 	}
     6 	}
     6 
     7 
     7 local subcaption = {
     8 local subcaption = {
     8 	["en"] = "Made by Wolfmarc and Dragonfly",
     9 	["en"] = "Made by Wolfmarc and Dragonfly",
       
    10 	["sv"] = "Skapad av Wolfmarc och Dragonfly",
     9 	}
    11 	}
    10 
    12 
    11 local goal = {
    13 local goal = {
    12 	["en"] = "Use your rope to get from start to finish as fast as you can!",
    14 	["en"] = "Use your rope to get from start to finish as fast as you can!",
       
    15 	["sv"] = "Använd ditt rep för att ta dig från start till mål så fort du kan!",
    13 	}
    16 	}
    14 
    17 
    15 local done = {
    18 local done = {
    16 	["en"] = "You've reached the goal!| |Time: ",
    19 	["en"] = "You've reached the goal!| |Time: ",
       
    20 	["sv"] = "Du är i mål!| |Tid: ",
    17 	}
    21 	}
    18 local eliminated = {
    22 local eliminated = {
    19 	["en"] = "Eliminating worst hedgehog this round...| |%s is OUT!",
    23 	["en"] = "Eliminating worst hedgehog this round...| |%s is OUT!",
       
    24 	["sv"] = "Eliminerar sämsta igelkotten den här omgången...| |%s är UTE!",
    20 	}
    25 	}
    21 
    26 
    22 local newbesttime = {
    27 local newbesttime = {
    23 	["en"] = "NEW fastest lap: ",
    28 	["en"] = "NEW fastest lap: ",
       
    29 	["sv"] = "NY snabbaste tid: ",
    24 	}
    30 	}
    25 
    31 
    26 local oldbesttime = {
    32 local oldbesttime = {
    27 	["en"] = "Fastest lap: ",
    33 	["en"] = "Fastest lap: ",
       
    34 	["sv"] = "Snabbaste tid: ",
    28 	}
    35 	}
    29 local bestclantimes = {
    36 local bestclantimes = {
    30 	["en"] = "Best laps per team: ",
    37 	["en"] = "Best laps per team: ",
       
    38 	["sv"] = "Bästa tider per lag: ",
    31 	}
    39 	}
    32 local clantime = {
    40 local clantime = {
    33 	["en"] = "Team %d: ",
    41 	["en"] = "Team %d: ",
       
    42 	["sv"] = "Lag %d: ",
    34 	}
    43 	}
    35 
    44 
    36 	local function loc(text)
    45 	local function loc(text)
    37 	if text == nil then return "**missing**"
    46 	if text == nil then return "**missing**"
    38 	elseif text[L] == nil then return text["en"]
    47 	elseif text[L] == nil then return text["en"]