mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-01 16:33:38 -04:00
Added i18n to some strings
This commit is contained in:
parent
c969768800
commit
fbfb80d4bf
7 changed files with 25 additions and 21 deletions
app
locale
templates
account
courses
editor
play
|
@ -159,6 +159,9 @@
|
||||||
accepted: "Accepted"
|
accepted: "Accepted"
|
||||||
rejected: "Rejected"
|
rejected: "Rejected"
|
||||||
withdrawn: "Withdrawn"
|
withdrawn: "Withdrawn"
|
||||||
|
accept: "Accept"
|
||||||
|
reject: "Reject"
|
||||||
|
withdraw: "Withdraw"
|
||||||
submitter: "Submitter"
|
submitter: "Submitter"
|
||||||
submitted: "Submitted"
|
submitted: "Submitted"
|
||||||
commit_msg: "Commit Message"
|
commit_msg: "Commit Message"
|
||||||
|
@ -214,6 +217,8 @@
|
||||||
|
|
||||||
play_level:
|
play_level:
|
||||||
done: "Done"
|
done: "Done"
|
||||||
|
next_game: "Next game"
|
||||||
|
show_menu: "Show game menu"
|
||||||
home: "Home" # Not used any more, will be removed soon.
|
home: "Home" # Not used any more, will be removed soon.
|
||||||
level: "Level" # Like "Level: Dungeons of Kithgard"
|
level: "Level" # Like "Level: Dungeons of Kithgard"
|
||||||
skip: "Skip"
|
skip: "Skip"
|
||||||
|
@ -1115,6 +1120,7 @@
|
||||||
simulate_games: "Simulate Games!"
|
simulate_games: "Simulate Games!"
|
||||||
games_simulated_by: "Games simulated by you:"
|
games_simulated_by: "Games simulated by you:"
|
||||||
games_simulated_for: "Games simulated for you:"
|
games_simulated_for: "Games simulated for you:"
|
||||||
|
games_in_queue: "Games currently in the queue:"
|
||||||
games_simulated: "Games simulated"
|
games_simulated: "Games simulated"
|
||||||
games_played: "Games played"
|
games_played: "Games played"
|
||||||
ratio: "Ratio"
|
ratio: "Ratio"
|
||||||
|
@ -1151,6 +1157,7 @@
|
||||||
fight: "Fight!"
|
fight: "Fight!"
|
||||||
watch_victory: "Watch your victory"
|
watch_victory: "Watch your victory"
|
||||||
defeat_the: "Defeat the"
|
defeat_the: "Defeat the"
|
||||||
|
watch_battle: "Watch the battle"
|
||||||
tournament_started: ", started"
|
tournament_started: ", started"
|
||||||
tournament_ends: "Tournament ends"
|
tournament_ends: "Tournament ends"
|
||||||
tournament_ended: "Tournament ended"
|
tournament_ended: "Tournament ended"
|
||||||
|
@ -1208,6 +1215,7 @@
|
||||||
no_recent_games: "No games played during the past two weeks."
|
no_recent_games: "No games played during the past two weeks."
|
||||||
payments: "Payments"
|
payments: "Payments"
|
||||||
prepaid: "Prepaid"
|
prepaid: "Prepaid"
|
||||||
|
prepaid_codes: "Prepaid Codes"
|
||||||
purchased: "Purchased"
|
purchased: "Purchased"
|
||||||
sale: "Sale"
|
sale: "Sale"
|
||||||
subscription: "Subscription"
|
subscription: "Subscription"
|
||||||
|
|
|
@ -24,5 +24,4 @@ block content
|
||||||
li.list-group-item
|
li.list-group-item
|
||||||
a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription")
|
a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription")
|
||||||
li.list-group-item
|
li.list-group-item
|
||||||
a.btn.btn-lg.btn-primary(href="/account/prepaid") Prepaid Codes
|
a.btn.btn-lg.btn-primary(href="/account/prepaid", data-i18n="account.prepaid_codes") Prepaid Codes
|
||||||
|
|
||||||
|
|
|
@ -90,5 +90,5 @@ mixin trial-and-questions
|
||||||
|
|
||||||
h3(data-i18n="courses.questions")
|
h3(data-i18n="courses.questions")
|
||||||
p
|
p
|
||||||
span(data-i18n="teachers_survey.contact_1")
|
span.spr(data-i18n="teachers_survey.contact_1")
|
||||||
a.spl(href='mailto:team@codecombat.com') team@codecombat.com
|
a(href='mailto:team@codecombat.com') team@codecombat.com
|
||||||
|
|
|
@ -12,16 +12,14 @@ block modal-body-content
|
||||||
else
|
else
|
||||||
.alert.alert-danger Could not apply this delta to the current version.
|
.alert.alert-danger Could not apply this delta to the current version.
|
||||||
|
|
||||||
|
|
||||||
block modal-footer
|
block modal-footer
|
||||||
.modal-footer
|
.modal-footer
|
||||||
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
||||||
if isPatchCreator
|
if isPatchCreator
|
||||||
if status != 'withdrawn'
|
if status != 'withdrawn'
|
||||||
button.btn.btn-danger#withdraw-button Withdraw
|
button.btn.btn-danger#withdraw-button(data-i18n="general.withdraw") Withdraw
|
||||||
if isPatchRecipient
|
if isPatchRecipient
|
||||||
if status != 'accepted'
|
if status != 'accepted'
|
||||||
button.btn.btn-primary#accept-button Accept
|
button.btn.btn-primary#accept-button(data-i18n="general.accept") Accept
|
||||||
if status != 'rejected'
|
if status != 'rejected'
|
||||||
button.btn.btn-danger#reject-button Reject
|
button.btn.btn-danger#reject-button(data-i18n="general.reject") Reject
|
||||||
|
|
||||||
|
|
|
@ -813,7 +813,7 @@ block content
|
||||||
th Ogre wins/losses/ties
|
th Ogre wins/losses/ties
|
||||||
else
|
else
|
||||||
th Ogre score
|
th Ogre score
|
||||||
th Spectate
|
th(data-i18n="play.spectate") Spectate
|
||||||
tbody
|
tbody
|
||||||
each human, index in winners.humans
|
each human, index in winners.humans
|
||||||
- var ogre = winners.ogres[index]
|
- var ogre = winners.ogres[index]
|
||||||
|
@ -855,7 +855,7 @@ block content
|
||||||
td
|
td
|
||||||
span= Math.round(100 * ogre.score)
|
span= Math.round(100 * ogre.score)
|
||||||
td
|
td
|
||||||
a(href="/play/spectate/" + level.get('slug') + "?session-one=" + human.sessionID + "&session-two=" + ogre.sessionID) Watch the battle
|
a(href="/play/spectate/" + level.get('slug') + "?session-one=" + human.sessionID + "&session-two=" + ogre.sessionID, data-i18n="ladder.watch_battle") Watch the battle
|
||||||
else
|
else
|
||||||
td
|
td
|
||||||
td
|
td
|
||||||
|
|
|
@ -8,18 +8,17 @@ p
|
||||||
button(data-i18n="ladder.simulate_games").btn.btn-warning.btn-lg.highlight#simulate-button Simulate Games!
|
button(data-i18n="ladder.simulate_games").btn.btn-warning.btn-lg.highlight#simulate-button Simulate Games!
|
||||||
|
|
||||||
p.simulation-count
|
p.simulation-count
|
||||||
span(data-i18n="ladder.games_simulated_by") Games simulated by you:
|
span.spr(data-i18n="ladder.games_simulated_by") Games simulated by you:
|
||||||
|
|
|
||||||
span#simulated-by-you= me.get('simulatedBy') || 0
|
span#simulated-by-you= me.get('simulatedBy') || 0
|
||||||
|
|
||||||
p.simulation-count
|
p.simulation-count
|
||||||
span(data-i18n="ladder.games_simulated_for") Games simulated for you:
|
span.spr(data-i18n="ladder.games_simulated_for") Games simulated for you:
|
||||||
|
|
|
||||||
span#simulated-for-you= me.get('simulatedFor') || 0
|
span#simulated-for-you= me.get('simulatedFor') || 0
|
||||||
|
|
||||||
p.simulation-count
|
p.simulation-count
|
||||||
span(data-i18n="ladder.games_in_queue") Games currently in the queue:
|
span.spr(data-i18n="ladder.games_in_queue") Games currently in the queue:
|
||||||
|
|
|
||||||
span#games-in-queue= numberOfGamesInQueue || 0
|
span#games-in-queue= numberOfGamesInQueue || 0
|
||||||
|
|
||||||
table.table.table-bordered.table-condensed.table-hover
|
table.table.table-bordered.table-condensed.table-hover
|
||||||
thead
|
thead
|
||||||
tr
|
tr
|
||||||
|
|
|
@ -29,16 +29,16 @@ else
|
||||||
.buttons-area
|
.buttons-area
|
||||||
|
|
||||||
if !observing
|
if !observing
|
||||||
button.btn.btn-inverse#game-menu-button(title="Show game menu")
|
button.btn.btn-inverse#game-menu-button(data-i18n="[title]play_level.show_menu", title="Show game menu")
|
||||||
.hamburger
|
.hamburger
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
span.game-menu-text(data-i18n="play_level.game_menu") Game Menu
|
span.game-menu-text(data-i18n="play_level.game_menu") Game Menu
|
||||||
|
|
||||||
if spectateGame
|
if spectateGame
|
||||||
button.btn.btn-xs.btn-inverse.banner#next-game-button(title="Next Game", data-i18n="play_level.next-game") Next game!
|
button.btn.btn-xs.btn-inverse.banner#next-game-button(data-i18n="play_level.next_game") Next game
|
||||||
|
|
||||||
if !observing
|
if !observing
|
||||||
button.btn.btn-xs.btn-primary.banner#level-done-button(data-i18n="play_level.done") Done
|
button.btn.btn-xs.btn-primary.banner#level-done-button(data-i18n="play_level.done") Done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue