2014-01-06 00:56:32 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
|
|
|
div.contribute_class
|
|
|
|
|
2014-12-18 19:31:30 -05:00
|
|
|
.class_detail
|
|
|
|
|
|
|
|
img(src="/images/pages/contribute/class_detail_diplomat.png", alt="")
|
2014-01-06 00:56:32 -05:00
|
|
|
|
|
|
|
div.class-main#diplomat-main
|
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h2
|
2014-01-12 05:20:07 -05:00
|
|
|
span(data-i18n="classes.diplomat_title") Diplomat
|
2014-01-11 11:25:04 -05:00
|
|
|
span
|
2014-01-12 05:20:07 -05:00
|
|
|
span(data-i18n="classes.diplomat_title_description") (Translator)
|
2014-01-11 11:25:04 -05:00
|
|
|
p
|
|
|
|
span(data-i18n="contribute.diplomat_introduction_pref")
|
|
|
|
| So, if there's one thing we learned from the
|
2014-12-22 13:16:06 -05:00
|
|
|
a(href="http://blog.codecombat.com/post/64658141307/codecombat-in-y-combinator", data-i18n="contribute.diplomat_launch_url")
|
2014-01-11 11:25:04 -05:00
|
|
|
| launch in October
|
|
|
|
span ,
|
|
|
|
span(data-i18n="contribute.diplomat_introduction_suf")
|
|
|
|
| it's that there
|
2014-02-20 17:52:42 -05:00
|
|
|
| is sizeable interest in CodeCombat in other countries!
|
2014-01-11 11:25:04 -05:00
|
|
|
| We're building a corps of translators eager to turn one set of words into
|
|
|
|
| another set of words to get CodeCombat as accessible across the world as possible.
|
|
|
|
| If you like getting sneak peeks at upcoming content and getting these levels to
|
|
|
|
| your fellow nationals ASAP, then this class might be for you.
|
2014-01-06 00:56:32 -05:00
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h4(data-i18n="contribute.class_attributes") Class Attributes
|
2014-01-06 00:56:32 -05:00
|
|
|
ul
|
2014-01-11 11:25:04 -05:00
|
|
|
li(data-i18n="contribute.diplomat_attribute_1")
|
|
|
|
| Fluency in English and the language you would like to translate to.
|
2014-01-06 00:56:32 -05:00
|
|
|
| When conveying complicated ideas, it's important to have a strong grasp in both!
|
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h4(data-i18n="contribute.how_to_join") How to Join
|
|
|
|
p
|
2014-11-09 23:06:55 -05:00
|
|
|
span.spr(data-i18n="contribute.diplomat_i18n_page_prefix") You can start translating our levels by going to our
|
|
|
|
a(href="/i18n")
|
|
|
|
strong(data-i18n="contribute.diplomat_i18n_page") translations page
|
|
|
|
span.spr(data-i18n="contribute.diplomat_i18n_page_suffix") , or our interface and website on GitHub.
|
2014-02-20 17:52:42 -05:00
|
|
|
span(data-i18n="contribute.diplomat_join_pref_github")
|
|
|
|
| Find your language locale file
|
2014-11-09 23:06:55 -05:00
|
|
|
a(href='https://github.com/codecombat/codecombat/tree/master/app/locale')
|
|
|
|
strong(data-i18n="contribute.diplomat_github_url") on GitHub
|
2014-02-20 17:52:42 -05:00
|
|
|
span(data-i18n="contribute.diplomat_join_suf_github")
|
|
|
|
| , edit it online, and submit a pull request. Also, check this box below to
|
2014-01-11 11:25:04 -05:00
|
|
|
| keep up-to-date on new internationalization developments!
|
2014-01-06 00:56:32 -05:00
|
|
|
|
2014-04-12 17:53:09 -04:00
|
|
|
.contributor-signup-anonymous
|
|
|
|
.contributor-signup(data-contributor-class-id="translator", data-contributor-class-name="diplomat")
|
2014-01-11 11:25:04 -05:00
|
|
|
|
2014-08-14 14:43:35 -04:00
|
|
|
|
2014-04-12 17:53:09 -04:00
|
|
|
h3(data-i18n="contribute.translating_diplomats")
|
|
|
|
| Our Translating Diplomats:
|
2014-01-06 00:56:32 -05:00
|
|
|
|
2014-04-12 17:53:09 -04:00
|
|
|
//#contributor-list
|
|
|
|
// TODO: collect CodeCombat userids for these guys so we can include a tiled list
|
|
|
|
ul.diplomats
|
2014-08-14 14:43:35 -04:00
|
|
|
each stats, languageCode in languageStats
|
2014-08-30 22:30:33 -04:00
|
|
|
if !(stats.completion < 0.02 && !stats.diplomats.length)
|
2014-08-14 14:43:35 -04:00
|
|
|
li
|
|
|
|
a(href=stats.githubURL)
|
|
|
|
span= stats.englishDescription
|
|
|
|
if stats.englishDescription != stats.nativeDescription
|
|
|
|
span.spl.spr -
|
|
|
|
span= stats.nativeDescription
|
|
|
|
if stats.diplomats.length
|
|
|
|
span.spl - #{stats.diplomats.join(', ')}
|
|
|
|
.progress
|
|
|
|
.progress-bar(style='width: ' + (100 * stats.completion) + '%')
|
2015-02-23 13:18:00 -05:00
|
|
|
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= Math.min(100, (100 * stats.completion).toFixed(1)) + '%'
|
2014-01-06 00:56:32 -05:00
|
|
|
|
2014-01-14 16:35:10 -05:00
|
|
|
div.clearfix
|