Updates to i18n

This commit is contained in:
Imperadeiro98 2015-10-29 15:57:22 +00:00
parent 3352042af5
commit f2ca1dbd63
3 changed files with 23 additions and 18 deletions

View file

@ -602,6 +602,8 @@
jose_blurb: "Taking Off" jose_blurb: "Taking Off"
retrostyle_title: "Illustration" retrostyle_title: "Illustration"
retrostyle_blurb: "RetroStyle Games" retrostyle_blurb: "RetroStyle Games"
rob_title: "Compiler Engineer"
rob_blurb: "Codes things and stuff"
teachers: teachers:
more_info: "More Info for Teachers" more_info: "More Info for Teachers"
@ -1277,6 +1279,9 @@
quantity: "Quantity" quantity: "Quantity"
redeemed: "Redeemed" redeemed: "Redeemed"
no_codes: "No codes yet!" no_codes: "No codes yet!"
you_can1: "You can"
you_can2: "purchase a prepaid code"
you_can3: "that can be applied to your own account or given to others."
loading_error: loading_error:
could_not_load: "Error loading from server" could_not_load: "Error loading from server"

View file

@ -10,7 +10,7 @@ block content
h2(data-i18n="about.why_codecombat") h2(data-i18n="about.why_codecombat")
| Why CodeCombat? | Why CodeCombat?
p(data-i18n="about.why_paragraph_1") p(data-i18n="about.why_paragraph_1")
| If you want to learn to program, you don't need lessons. | If you want to learn to program, you don't need lessons.
| You need to write a lot of code and have a great time doing it. | You need to write a lot of code and have a great time doing it.
@ -60,13 +60,13 @@ block content
a(href='mailto:team@codecombat.com') team@codecombat.com a(href='mailto:team@codecombat.com') team@codecombat.com
ul.col-sm-6.team-column ul.col-sm-6.team-column
ul.thumbnails ul.thumbnails
li.row li.row
h2(data-i18n="about.team") Team h2(data-i18n="about.team") Team
a(href="http://www.nickwinter.net") a(href="http://www.nickwinter.net")
img(src="/images/pages/about/nick_small.png").img-thumbnail img(src="/images/pages/about/nick_small.png").img-thumbnail
.team_bio .team_bio
@ -76,7 +76,7 @@ block content
| Cofounder | Cofounder
p(data-i18n="about.nick_blurb") p(data-i18n="about.nick_blurb")
| Motivation Guru | Motivation Guru
a(href="http://www.mattlott.com/") a(href="http://www.mattlott.com/")
img(src="/images/pages/about/matt_small.png").img-thumbnail img(src="/images/pages/about/matt_small.png").img-thumbnail
.team_bio .team_bio
@ -98,7 +98,7 @@ block content
| Cofounder | Cofounder
p(data-i18n="about.george_blurb") p(data-i18n="about.george_blurb")
| Businesser | Businesser
a(href="http://cat.zdh.com/") a(href="http://cat.zdh.com/")
img(src="/images/pages/about/cat_small.png").img-thumbnail img(src="/images/pages/about/cat_small.png").img-thumbnail
.team_bio .team_bio
@ -118,7 +118,7 @@ block content
| Cofounder | Cofounder
p(data-i18n="about.scott_blurb") p(data-i18n="about.scott_blurb")
| Reasonable one | Reasonable one
a(href="http://michaelschmatz.com") a(href="http://michaelschmatz.com")
img(src="/images/pages/about/michael_small.png").img-thumbnail img(src="/images/pages/about/michael_small.png").img-thumbnail
.team_bio .team_bio
@ -128,7 +128,7 @@ block content
| Programmer | Programmer
p(data-i18n="about.michael_blurb") p(data-i18n="about.michael_blurb")
| Sys Admin | Sys Admin
li.row li.row
a(href="http://floor.is/lava/") a(href="http://floor.is/lava/")
@ -140,7 +140,7 @@ block content
| Game Designer | Game Designer
p(data-i18n="about.josh_blurb") p(data-i18n="about.josh_blurb")
| Floor Is Lava | Floor Is Lava
a(href="https://soundcloud.com/taking-off") a(href="https://soundcloud.com/taking-off")
img(src="/images/pages/about/jose_small.png").img-thumbnail img(src="/images/pages/about/jose_small.png").img-thumbnail
.team_bio .team_bio
@ -152,7 +152,7 @@ block content
| Taking Off | Taking Off
li.row li.row
a(href="http://retrostylegames.com/") a(href="http://retrostylegames.com/")
img(src="/images/pages/about/pavel_small.png").img-thumbnail img(src="/images/pages/about/pavel_small.png").img-thumbnail
.team_bio .team_bio
@ -174,7 +174,7 @@ block content
| RetroStyle Games | RetroStyle Games
li.row li.row
a(href="http://basicer.com/") a(href="http://basicer.com/")
img(src="/images/pages/about/rob_small.png").img-thumbnail img(src="/images/pages/about/rob_small.png").img-thumbnail
.team_bio .team_bio
@ -183,4 +183,4 @@ block content
p(data-i18n="about.rob_title") p(data-i18n="about.rob_title")
| Compiler Engineer | Compiler Engineer
p(data-i18n="about.rob_blurb") p(data-i18n="about.rob_blurb")
| Codes things and stuff. | Codes things and stuff

View file

@ -77,7 +77,7 @@ block content
table.table.table-striped.table-condensed table.table.table-striped.table-condensed
tr tr
th(data-i18n="user.status") Status th(data-i18n="user.status")
td td
if view.personalSub.subscribed if view.personalSub.subscribed
strong(data-i18n="account.subscribed") strong(data-i18n="account.subscribed")
@ -122,12 +122,12 @@ block content
// - Prepaid Codes // - Prepaid Codes
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
h3 Prepaid Codes h3(data-i18n="account.prepaid_codes")
.panel-body .panel-body
p p
span.spr You can span.spr(data-i18n="account_prepaid.you_can1")
a(href="/account/prepaid") purchase a prepaid code a(href="/account/prepaid", data-i18n="account_prepaid.you_can2")
span.spl that can be applied to your own account or given to others. span.spl(data-i18n="account_prepaid.you_can3")
//- Sponsored Subscriptions //- Sponsored Subscriptions
.panel.panel-default .panel.panel-default
@ -204,5 +204,5 @@ block content
if recipient.cancel_at_period_end if recipient.cancel_at_period_end
div Ends #{moment(recipient.cancel_at_period_end).format('l')} div Ends #{moment(recipient.cancel_at_period_end).format('l')}
else else
button.recipient-unsubscribe-button.btn.btn-sm.btn-warning Unsubscribe button.recipient-unsubscribe-button.btn.btn-sm.btn-warning(data-i18n="subscribe.unsubscribe")
button.confirm-recipient-unsubscribe-button.btn.btn-sm.btn-primary.hide(data-i18n="play.confirm") button.confirm-recipient-unsubscribe-button.btn.btn-sm.btn-primary.hide(data-i18n="play.confirm")