mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-24 11:50:58 -04:00
Added i18n to ladder_tab
This commit is contained in:
parent
c2e81db200
commit
9f5c0f03be
2 changed files with 11 additions and 6 deletions
|
@ -485,3 +485,7 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
|
||||||
simulation_explanation: "By simulating games you can get your game ranked faster!"
|
simulation_explanation: "By simulating games you can get your game ranked faster!"
|
||||||
simulate_games: "Simulate Games!"
|
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
|
tr
|
||||||
th(colspan=4, style="color: #{team.primaryColor}")
|
th(colspan=4, style="color: #{team.primaryColor}")
|
||||||
span= team.name
|
span= team.name
|
||||||
span Leaderboard
|
span(data-i18n="ladder.leaderboard") Leaderboard
|
||||||
tr
|
tr
|
||||||
th Rank
|
th(data-i18n="ladder.rank") Rank
|
||||||
th Score
|
th(data-i18n="ladder.score") Score
|
||||||
th.name-col-cell Name
|
th(data-i18n="general.name").name-col-cell Name
|
||||||
th
|
th
|
||||||
|
|
||||||
for session, rank in team.leaderboard.topPlayers.models
|
for session, rank in team.leaderboard.topPlayers.models
|
||||||
|
@ -20,4 +20,5 @@ div#columns.row
|
||||||
td.name-col-cell= session.get('creatorName') || "Anonymous"
|
td.name-col-cell= session.get('creatorName') || "Anonymous"
|
||||||
td
|
td
|
||||||
a(href="/play/level/#{level.get('slug') || level.id}/?team=#{team.otherTeam}&opponent=#{session.id}")
|
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…
Add table
Reference in a new issue