Added i18n to ladder_tab

This commit is contained in:
Ruben Vereecken 2014-03-12 20:51:38 +01:00
parent c2e81db200
commit 9f5c0f03be
2 changed files with 11 additions and 6 deletions

View file

@ -484,4 +484,8 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
simulate: "Simulate"
simulation_explanation: "By simulating games you can get your game ranked faster!"
simulate_games: "Simulate Games!"
simulate_all: "RESET AND SIMULATE GAMES"
simulate_all: "RESET AND SIMULATE GAMES"
rank: "Rank"
score: "Score"
leaderboard: "Leaderboard"
battle_as: "Battle as"

View file

@ -5,11 +5,11 @@ div#columns.row
tr
th(colspan=4, style="color: #{team.primaryColor}")
span= team.name
span Leaderboard
span(data-i18n="ladder.leaderboard") Leaderboard
tr
th Rank
th Score
th.name-col-cell Name
th(data-i18n="ladder.rank") Rank
th(data-i18n="ladder.score") Score
th(data-i18n="general.name").name-col-cell Name
th
for session, rank in team.leaderboard.topPlayers.models
@ -20,4 +20,5 @@ div#columns.row
td.name-col-cell= session.get('creatorName') || "Anonymous"
td
a(href="/play/level/#{level.get('slug') || level.id}/?team=#{team.otherTeam}&opponent=#{session.id}")
span Battle as #{team.otherTeam}!
span(data-i18n="ladder.battle_as") Battle as
| #{team.otherTeam}!