mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Added i18n to ladder_tab
This commit is contained in:
parent
c2e81db200
commit
9f5c0f03be
2 changed files with 11 additions and 6 deletions
|
@ -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"
|
|
@ -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}!
|
Loading…
Reference in a new issue