mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Cleanup i18n in some files
This commit is contained in:
parent
1bff279ea6
commit
9a36267ba7
4 changed files with 58 additions and 48 deletions
|
@ -93,7 +93,6 @@
|
|||
profile: "Profile"
|
||||
stats: "Stats"
|
||||
code: "Code"
|
||||
admin: "Admin" # Only shows up when you are an admin
|
||||
home: "Home"
|
||||
contribute: "Contribute"
|
||||
legal: "Legal"
|
||||
|
@ -107,6 +106,17 @@
|
|||
create_a_class: "Create a Class"
|
||||
other: "Other"
|
||||
learn_to_code: "Learn to Code!"
|
||||
toggle_nav: "Toggle navigation"
|
||||
jobs: "Jobs"
|
||||
schools: "Schools"
|
||||
educator_wiki: "Educator Wiki"
|
||||
request_quote: "Request a Quote"
|
||||
get_involved: "Get Involved"
|
||||
open_source: "Open source (GitHub)"
|
||||
support: "Support"
|
||||
faqs: "FAQs"
|
||||
help_pref: "Need help? Email"
|
||||
help_suff: "and we'll get in touch!"
|
||||
|
||||
modal:
|
||||
close: "Close"
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
block header
|
||||
.container-fluid.text-center
|
||||
.alert.alert-danger.lt-ie9
|
||||
strong(data-i18n="home.no_ie") The CodeCombat game does not run in Internet Explorer 8 or older. Sorry!
|
||||
strong(data-i18n="home.no_ie")
|
||||
|
||||
if view.isIPadBrowser() || view.isMobile()
|
||||
.alert.alert-danger.mobile
|
||||
strong(data-i18n="home.no_mobile") CodeCombat gameplay was not designed for mobile devices and may not work!
|
||||
strong(data-i18n="home.no_mobile")
|
||||
else if view.isOldBrowser()
|
||||
.alert.alert-danger.old-browser
|
||||
strong(data-i18n="home.old_browser") Uh oh, your browser is too old to play CodeCombat. Sorry!
|
||||
strong(data-i18n="home.old_browser")
|
||||
br
|
||||
span(data-i18n="home.old_browser_suffix") You can try anyway, but it probably won't work.
|
||||
span(data-i18n="home.old_browser_suffix")
|
||||
|
||||
nav.navbar.navbar-default
|
||||
.container
|
||||
|
@ -19,7 +19,7 @@
|
|||
.col-md-3.col-sm-4
|
||||
.navbar-header
|
||||
button.navbar-toggle.collapsed(data-toggle='collapse', data-target='#navbar-collapse' aria-expanded='false')
|
||||
span.sr-only Toggle navigation
|
||||
span.sr-only(data-i18n="home.toggle_nav")
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
|
@ -88,45 +88,45 @@
|
|||
li
|
||||
strong CodeCombat
|
||||
li
|
||||
a(href="/about") About
|
||||
a(href="/about", data-i18n="nav.about")
|
||||
li
|
||||
a(href="/Careers") Jobs
|
||||
a(href="/Careers", data-i18n="nav.jobs")
|
||||
li
|
||||
a(href="http://blog.codecombat.com/", data-i18n="nav.blog")
|
||||
li
|
||||
a(href="/legal") Legal
|
||||
a(href="/legal", data-i18n="nav.legal")
|
||||
|
||||
.col-sm-3
|
||||
ul.list-unstyled
|
||||
li
|
||||
strong Schools
|
||||
strong(data-i18n="nav.schools")
|
||||
li
|
||||
a(href="/courses/teachers") Teachers
|
||||
a(href="/courses/teachers", data-i18n="nav.teachers")
|
||||
li
|
||||
a(href="https://sites.google.com/a/codecombat.com/teacher-guides/") Educator Wiki
|
||||
a(href="https://sites.google.com/a/codecombat.com/teacher-guides/", data-i18n="nav.educator_wiki")
|
||||
li
|
||||
a(href="/teachers/quote") Request a Quote
|
||||
a(href="/teachers/quote", data-i18n="nav.request_quote")
|
||||
|
||||
.col-sm-3
|
||||
ul.list-unstyled
|
||||
li
|
||||
strong Get Involved
|
||||
strong(data-i18n="nav.get_involved")
|
||||
li
|
||||
a(href='/community', data-i18n="nav.community")
|
||||
li
|
||||
a(href="/contribute") Contribute
|
||||
a(href="/contribute", data-i18n="nav.contribute")
|
||||
li
|
||||
a(href=view.forumLink(), data-i18n="nav.forum")
|
||||
li
|
||||
a(href="/play/ladder") Multiplayer
|
||||
a(href="/play/ladder", data-i18n="home.multiplayer")
|
||||
li
|
||||
a(href="https://github.com/codecombat/codecombat") Open source (GitHub)
|
||||
a(href="https://github.com/codecombat/codecombat", data-i18n="nav.open_source")
|
||||
.col-sm-3
|
||||
ul.list-unstyled
|
||||
li
|
||||
strong Support
|
||||
strong(data-i18n="nav.support")
|
||||
li
|
||||
a(href="https://discourse.codecombat.com/t/faq-check-before-posting/1027") FAQs
|
||||
a(href="https://discourse.codecombat.com/t/faq-check-before-posting/1027", data-i18n="nav.faqs")
|
||||
li
|
||||
a(tabindex=-1, data-toggle="coco-modal", data-target="core/ContactModal", data-i18n="nav.contact")
|
||||
li
|
||||
|
@ -139,6 +139,6 @@
|
|||
br.hidden-lg.hidden-md
|
||||
img(src="/images/pages/base/logo.png" alt="CodeCombat")
|
||||
br.hidden-lg.hidden-md
|
||||
span.spr Need help? Email
|
||||
span.spr(data-i18n="nav.help_pref")
|
||||
a(href="mailto:team@codecombat.com") team@codecombat.com
|
||||
span.spl and we'll get in touch!
|
||||
span.spl(data-i18n="nav.help_suff")
|
||||
|
|
|
@ -8,7 +8,7 @@ block header
|
|||
img#small-nav-logo(src="/images/pages/base/logo.png", title="CodeCombat - Learn how to code by playing a game", alt="CodeCombat")
|
||||
a(href="/")
|
||||
span.glyphicon.glyphicon-home
|
||||
a(href='/teachers', data-i18n="nav.teachers") Teachers
|
||||
a(href='/teachers', data-i18n="nav.teachers")
|
||||
a(href='/courses', data-i18n="nav.courses")
|
||||
a(href=view.forumLink(), data-i18n="nav.forum")
|
||||
a(href='/community', data-i18n="nav.community")
|
||||
|
@ -37,7 +37,7 @@ block header
|
|||
li
|
||||
a(href="/account/subscription", data-i18n="account.subscription")
|
||||
li
|
||||
a(href="/account/prepaid", data-i18n="account.prepaid_codes") Prepaid Codes
|
||||
a(href="/account/prepaid", data-i18n="account.prepaid_codes")
|
||||
li
|
||||
a#logout-button(data-i18n="login.log_out")
|
||||
|
||||
|
@ -60,15 +60,15 @@ block footer
|
|||
|
||||
#footer-links
|
||||
a(href="/about", data-i18n="nav.about")
|
||||
a(tabindex=-1, data-toggle="coco-modal", data-target="core/ContactModal", data-i18n="nav.contact") Contact
|
||||
a(tabindex=-1, data-toggle="coco-modal", data-target="core/ContactModal", data-i18n="nav.contact")
|
||||
a(href='http://blog.codecombat.com/', data-i18n="nav.blog")
|
||||
a(href='https://jobs.lever.co/codecombat', tabindex=-1, data-i18n="nav.careers") Careers
|
||||
a(href='/legal', tabindex=-1, data-i18n="nav.legal") Legal
|
||||
a(href='/privacy', tabindex=-1, data-i18n="legal.privacy_title") Privacy
|
||||
a(href='/contribute', tabindex=-1, data-i18n="nav.contribute") Contribute
|
||||
a(href='https://jobs.lever.co/codecombat', tabindex=-1, data-i18n="nav.careers")
|
||||
a(href='/legal', tabindex=-1, data-i18n="nav.legal")
|
||||
a(href='/privacy', tabindex=-1, data-i18n="legal.privacy_title")
|
||||
a(href='/contribute', tabindex=-1, data-i18n="nav.contribute")
|
||||
a(href='/play/ladder', tabindex=-1, data-i18n="home.multiplayer")
|
||||
if me.isAdmin()
|
||||
a(href='/admin', data-i18n="nav.admin") Admin
|
||||
a(href='/admin') Admin
|
||||
|
||||
if usesSocialMedia
|
||||
.share-buttons
|
||||
|
@ -76,7 +76,7 @@ block footer
|
|||
.g-plusone(data-href="http://codecombat.com", data-size="medium")
|
||||
.fb-like(data-href="https://www.facebook.com/codecombat", data-send="false", data-layout="button_count", data-width="350", data-show-faces="true", data-ref="coco_footer_#{fbRef}")
|
||||
if !isIE
|
||||
a.twitter-follow-button(href="https://twitter.com/CodeCombat", data-show-count="true", data-show-screen-name="false", data-dnt="true", data-align="right", data-i18n="nav.twitter_follow") Follow
|
||||
a.twitter-follow-button(href="https://twitter.com/CodeCombat", data-show-count="true", data-show-screen-name="false", data-dnt="true", data-align="right", data-i18n="nav.twitter_follow")
|
||||
iframe.github-star-button(src="https://ghbtns.com/github-btn.html?user=codecombat&repo=codecombat&type=watch&count=true", allowtransparency="true", frameborder="0", scrolling="0", width="110", height="20")
|
||||
|
||||
#footer-credits
|
||||
|
|
|
@ -2,9 +2,9 @@ extends /templates/base
|
|||
|
||||
block content
|
||||
|
||||
h1(data-i18n="community.main_title") Community
|
||||
h1(data-i18n="community.main_title")
|
||||
|
||||
p(data-i18n="community.introduction") Check out the ways you can get involved below and decide what sounds the most fun. We look forward to working with you!
|
||||
p(data-i18n="community.introduction")
|
||||
|
||||
div
|
||||
|
||||
|
@ -14,9 +14,9 @@ block content
|
|||
h2
|
||||
a(href="/editor/level", data-i18n="editor.level_title")
|
||||
p
|
||||
span.spr(data-i18n="community.level_editor_prefix") Use the CodeCombat
|
||||
span.spr(data-i18n="community.level_editor_prefix")
|
||||
a(href="/editor/level", data-i18n="editor.level_title")
|
||||
span.spl(data-i18n="community.level_editor_suffix") to create and edit levels. Users have created levels for their classes, friends, hackathons, students, and siblings. If create a new level sounds intimidating you can start by forking one of ours!
|
||||
span.spl(data-i18n="community.level_editor_suffix")
|
||||
|
||||
.community-columns
|
||||
a(href="/editor/thang")
|
||||
|
@ -24,9 +24,9 @@ block content
|
|||
h2
|
||||
a(href="/editor/thang", data-i18n="editor.thang_title")
|
||||
p
|
||||
span.spr(data-i18n="community.thang_editor_prefix") We call units within the game 'thangs'. Use the
|
||||
span.spr(data-i18n="community.thang_editor_prefix")
|
||||
a(href="/editor/thang", data-i18n="editor.thang_title")
|
||||
span.spl(data-i18n="community.thang_editor_suffix") to modify the CodeCombat source artwork. Allow units to throw projectiles, alter the direction of an animation, change a unit's hit points, or upload your own vector sprites.
|
||||
span.spl(data-i18n="community.thang_editor_suffix")
|
||||
|
||||
.community-columns
|
||||
a(href="/editor/article")
|
||||
|
@ -34,16 +34,16 @@ block content
|
|||
h2
|
||||
a(href="/editor/article", data-i18n="editor.article_title")
|
||||
p
|
||||
span.spr(data-i18n="community.article_editor_prefix") See a mistake in some of our docs? Want to make some instructions for your own creations? Check out the
|
||||
span.spr(data-i18n="community.article_editor_prefix")
|
||||
a(href="/editor/article", data-i18n="editor.article_title")
|
||||
span.spl(data-i18n="community.article_editor_suffix") and help CodeCombat players get the most out of their playtime.
|
||||
span.spl(data-i18n="community.article_editor_suffix")
|
||||
|
||||
div
|
||||
|
||||
.half-width
|
||||
|
||||
h2.lower-titles
|
||||
a(href="https://www.facebook.com/codecombat", data-i18n="community.find_us") Find us on these sites
|
||||
a(href="https://www.facebook.com/codecombat", data-i18n="community.find_us")
|
||||
|
||||
.logo-row
|
||||
|
||||
|
@ -71,7 +71,7 @@ block content
|
|||
.half-width
|
||||
|
||||
h2.lower-titles
|
||||
a(href="/contribute", data-i18n="community.contribute_to_the_project") Contribute to the project
|
||||
a(href="/contribute", data-i18n="community.contribute_to_the_project")
|
||||
|
||||
.logo-row.contribute-classes
|
||||
|
||||
|
|
Loading…
Reference in a new issue