mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Ladder i18n refactoring
This commit is contained in:
parent
8c7c49fdbb
commit
b476e6b333
4 changed files with 10 additions and 3 deletions
|
@ -82,6 +82,7 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
|
|||
campaign_player_created_description: "... in which you battle against the creativity of your fellow <a href=\"/contribute#artisan\">Artisan Wizards</a>."
|
||||
level_difficulty: "Difficulty: "
|
||||
play_as: "Play As "
|
||||
spectate: "Spectate"
|
||||
|
||||
contact:
|
||||
contact_us: "Contact CodeCombat"
|
||||
|
|
|
@ -81,6 +81,8 @@ module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", t
|
|||
campaign_player_created: "Door-spelers-gemaakt"
|
||||
campaign_player_created_description: "... waarin je ten strijde trekt tegen de creativiteit van andere <a href=\"/contribute#artisan\">Ambachtelijke Tovenaars</a>."
|
||||
level_difficulty: "Moeilijkheidsgraad: "
|
||||
play_as: "Vecht als "
|
||||
spectate: "Schouw toe"
|
||||
|
||||
contact:
|
||||
contact_us: "Contact opnemen met CodeCombat"
|
||||
|
|
|
@ -21,7 +21,7 @@ block content
|
|||
for team in teams
|
||||
div.column.col-md-4
|
||||
a(style="background-color: #{team.primaryColor}", data-team=team.id).play-button.btn.btn-danger.btn-block.btn-lg
|
||||
span(data-i18n="play.play_as") Play As
|
||||
span(data-i18n="ladder.play_as") Play As
|
||||
span= team.name
|
||||
div.column.col-md-2
|
||||
|
||||
|
|
|
@ -50,8 +50,12 @@ div#columns.row
|
|||
td.name-cell= match.opponentName || "Anonymous"
|
||||
td.time-cell= match.when
|
||||
td.battle-cell
|
||||
- var text = match.state === 'win' ? 'Watch your victory' : 'Defeat the ' + team.otherTeam
|
||||
a(href="/play/level/#{levelID}?team=#{team.id}&opponent=#{match.sessionID}")= text
|
||||
a(href="/play/level/#{levelID}?team=#{team.id}&opponent=#{match.sessionID}")
|
||||
if (match.state === 'win')
|
||||
span(data-i18n="ladder.watch_victory") Watch your victory
|
||||
else
|
||||
span(data-i18n="ladder.defeat_the") Defeat the
|
||||
| #{team.otherTeam}
|
||||
|
||||
if !team.matches.length
|
||||
tr
|
||||
|
|
Loading…
Reference in a new issue