mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-25 21:43:47 -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"
|
||||
rejected: "Rejected"
|
||||
withdrawn: "Withdrawn"
|
||||
accept: "Accept"
|
||||
reject: "Reject"
|
||||
withdraw: "Withdraw"
|
||||
submitter: "Submitter"
|
||||
submitted: "Submitted"
|
||||
commit_msg: "Commit Message"
|
||||
|
@ -214,6 +217,8 @@
|
|||
|
||||
play_level:
|
||||
done: "Done"
|
||||
next_game: "Next game"
|
||||
show_menu: "Show game menu"
|
||||
home: "Home" # Not used any more, will be removed soon.
|
||||
level: "Level" # Like "Level: Dungeons of Kithgard"
|
||||
skip: "Skip"
|
||||
|
@ -1115,6 +1120,7 @@
|
|||
simulate_games: "Simulate Games!"
|
||||
games_simulated_by: "Games simulated by you:"
|
||||
games_simulated_for: "Games simulated for you:"
|
||||
games_in_queue: "Games currently in the queue:"
|
||||
games_simulated: "Games simulated"
|
||||
games_played: "Games played"
|
||||
ratio: "Ratio"
|
||||
|
@ -1151,6 +1157,7 @@
|
|||
fight: "Fight!"
|
||||
watch_victory: "Watch your victory"
|
||||
defeat_the: "Defeat the"
|
||||
watch_battle: "Watch the battle"
|
||||
tournament_started: ", started"
|
||||
tournament_ends: "Tournament ends"
|
||||
tournament_ended: "Tournament ended"
|
||||
|
@ -1208,6 +1215,7 @@
|
|||
no_recent_games: "No games played during the past two weeks."
|
||||
payments: "Payments"
|
||||
prepaid: "Prepaid"
|
||||
prepaid_codes: "Prepaid Codes"
|
||||
purchased: "Purchased"
|
||||
sale: "Sale"
|
||||
subscription: "Subscription"
|
||||
|
|
|
@ -24,5 +24,4 @@ block content
|
|||
li.list-group-item
|
||||
a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription")
|
||||
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")
|
||||
p
|
||||
span(data-i18n="teachers_survey.contact_1")
|
||||
a.spl(href='mailto:team@codecombat.com') team@codecombat.com
|
||||
span.spr(data-i18n="teachers_survey.contact_1")
|
||||
a(href='mailto:team@codecombat.com') team@codecombat.com
|
||||
|
|
|
@ -12,16 +12,14 @@ block modal-body-content
|
|||
else
|
||||
.alert.alert-danger Could not apply this delta to the current version.
|
||||
|
||||
|
||||
block modal-footer
|
||||
.modal-footer
|
||||
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
||||
if isPatchCreator
|
||||
if status != 'withdrawn'
|
||||
button.btn.btn-danger#withdraw-button Withdraw
|
||||
button.btn.btn-danger#withdraw-button(data-i18n="general.withdraw") Withdraw
|
||||
if isPatchRecipient
|
||||
if status != 'accepted'
|
||||
button.btn.btn-primary#accept-button Accept
|
||||
button.btn.btn-primary#accept-button(data-i18n="general.accept") Accept
|
||||
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
|
||||
else
|
||||
th Ogre score
|
||||
th Spectate
|
||||
th(data-i18n="play.spectate") Spectate
|
||||
tbody
|
||||
each human, index in winners.humans
|
||||
- var ogre = winners.ogres[index]
|
||||
|
@ -855,7 +855,7 @@ block content
|
|||
td
|
||||
span= Math.round(100 * ogre.score)
|
||||
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
|
||||
td
|
||||
td
|
||||
|
|
|
@ -8,18 +8,17 @@ p
|
|||
button(data-i18n="ladder.simulate_games").btn.btn-warning.btn-lg.highlight#simulate-button Simulate Games!
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
table.table.table-bordered.table-condensed.table-hover
|
||||
thead
|
||||
tr
|
||||
|
|
|
@ -29,16 +29,16 @@ else
|
|||
.buttons-area
|
||||
|
||||
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
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
span.game-menu-text(data-i18n="play_level.game_menu") Game Menu
|
||||
|
||||
|
||||
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
|
||||
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