Update i18n (#3907)
* Update i18n * Change pt-BR description * Remove dead code from HomeView
This commit is contained in:
parent
af3e069828
commit
baa916e37a
28 changed files with 39 additions and 94 deletions
app
locale
templates
about.jade
account
base-flat.jadebase.jadeclans
core/create-account-modal
basic-info-view.jadecreate-account-modal.jadeextras-view.jadesegment-check-view.jadesingle-sign-on-confirm-view.jade
courses
editor/level
home-view.jadelegal.jadeplay
teachers
views
|
@ -1,19 +1,4 @@
|
||||||
module.exports = nativeDescription: "English", englishDescription: "English", translation:
|
module.exports = nativeDescription: "English", englishDescription: "English", translation:
|
||||||
home:
|
|
||||||
slogan: "Learn to Code by Playing a Game"
|
|
||||||
no_ie: "CodeCombat does not run in Internet Explorer 8 or older. Sorry!" # Warning that only shows up in IE8 and older
|
|
||||||
no_mobile: "CodeCombat wasn't designed for mobile devices and may not work!" # Warning that shows up on mobile devices
|
|
||||||
play: "Play" # The big play button that opens up the campaign view.
|
|
||||||
play_campaign_version: "Play Campaign Version" # Shows up under big play button if you only play /courses
|
|
||||||
old_browser: "Uh oh, your browser is too old to run CodeCombat. Sorry!" # Warning that shows up on really old Firefox/Chrome/Safari
|
|
||||||
old_browser_suffix: "You can try anyway, but it probably won't work."
|
|
||||||
ipad_browser: "Bad news: CodeCombat doesn't run on iPad in the browser. Good news: our native iPad app is awaiting Apple approval."
|
|
||||||
campaign: "Campaign"
|
|
||||||
for_beginners: "For Beginners"
|
|
||||||
multiplayer: "Multiplayer" # Not currently shown on home page
|
|
||||||
for_developers: "For Developers" # Not currently shown on home page.
|
|
||||||
or_ipad: "Or download for iPad"
|
|
||||||
|
|
||||||
new_home:
|
new_home:
|
||||||
slogan: "The most engaging game for learning programming."
|
slogan: "The most engaging game for learning programming."
|
||||||
classroom_edition: "Classroom Edition:"
|
classroom_edition: "Classroom Edition:"
|
||||||
|
@ -65,7 +50,6 @@
|
||||||
setup_a_class: "Set Up a Class"
|
setup_a_class: "Set Up a Class"
|
||||||
have_an_account: "Have an account?"
|
have_an_account: "Have an account?"
|
||||||
logged_in_as: "You are currently logged in as"
|
logged_in_as: "You are currently logged in as"
|
||||||
view_my_classes: "View my classes"
|
|
||||||
computer_science: "Computer science courses for all ages"
|
computer_science: "Computer science courses for all ages"
|
||||||
show_me_lesson_time: "Show me lesson time estimates for:"
|
show_me_lesson_time: "Show me lesson time estimates for:"
|
||||||
curriculum: "Total curriculum hours:"
|
curriculum: "Total curriculum hours:"
|
||||||
|
@ -76,43 +60,27 @@
|
||||||
boast: "Boasts riddles that are complex enough to fascinate gamers and coders alike."
|
boast: "Boasts riddles that are complex enough to fascinate gamers and coders alike."
|
||||||
winning: "A winning combination of RPG gameplay and programming homework that pulls off making kid-friendly education legitimately enjoyable."
|
winning: "A winning combination of RPG gameplay and programming homework that pulls off making kid-friendly education legitimately enjoyable."
|
||||||
run_class:"Everything you need to run a computer science class in your school today, no CS background required."
|
run_class:"Everything you need to run a computer science class in your school today, no CS background required."
|
||||||
teachers: "Teachers!"
|
|
||||||
teachers_and_educators: "Teachers & Educators"
|
|
||||||
class_in_box: "Learn how our classroom-in-a-box platform fits into your curriculum."
|
|
||||||
get_started: "Get Started"
|
|
||||||
students: "Students:"
|
|
||||||
join_class: "Join Class"
|
|
||||||
role: "Your role:"
|
|
||||||
student_count: "Number of students:"
|
|
||||||
start_playing_for_free: "Start Playing for Free!"
|
|
||||||
students_and_players: "Students & Players"
|
|
||||||
goto_classes: "Go to My Classes"
|
goto_classes: "Go to My Classes"
|
||||||
view_profile: "View My Profile"
|
view_profile: "View My Profile"
|
||||||
view_progress: "View Progress"
|
view_progress: "View Progress"
|
||||||
go_to_courses: "Go to My Courses"
|
go_to_courses: "Go to My Courses"
|
||||||
want_coco: "Want CodeCombat at your school?"
|
want_coco: "Want CodeCombat at your school?"
|
||||||
form_select_role: "Select primary role"
|
|
||||||
form_select_range: "Select class size"
|
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
play: "Levels" # The top nav bar entry where players choose which levels to play
|
play: "Levels" # The top nav bar entry where players choose which levels to play
|
||||||
community: "Community"
|
community: "Community"
|
||||||
courses: "Courses"
|
courses: "Courses"
|
||||||
editor: "Editor"
|
|
||||||
blog: "Blog"
|
blog: "Blog"
|
||||||
forum: "Forum"
|
forum: "Forum"
|
||||||
account: "Account"
|
account: "Account"
|
||||||
my_account: "My Account"
|
my_account: "My Account"
|
||||||
profile: "Profile"
|
profile: "Profile"
|
||||||
stats: "Stats"
|
|
||||||
code: "Code"
|
|
||||||
home: "Home"
|
home: "Home"
|
||||||
contribute: "Contribute"
|
contribute: "Contribute"
|
||||||
legal: "Legal"
|
legal: "Legal"
|
||||||
about: "About"
|
about: "About"
|
||||||
contact: "Contact"
|
contact: "Contact"
|
||||||
twitter_follow: "Follow"
|
twitter_follow: "Follow"
|
||||||
students: "Students"
|
|
||||||
teachers: "Teachers"
|
teachers: "Teachers"
|
||||||
careers: "Careers"
|
careers: "Careers"
|
||||||
facebook: "Facebook"
|
facebook: "Facebook"
|
||||||
|
@ -123,7 +91,6 @@
|
||||||
toggle_nav: "Toggle navigation"
|
toggle_nav: "Toggle navigation"
|
||||||
jobs: "Jobs"
|
jobs: "Jobs"
|
||||||
schools: "Schools"
|
schools: "Schools"
|
||||||
educator_wiki: "Educator Wiki"
|
|
||||||
get_involved: "Get Involved"
|
get_involved: "Get Involved"
|
||||||
open_source: "Open source (GitHub)"
|
open_source: "Open source (GitHub)"
|
||||||
support: "Support"
|
support: "Support"
|
||||||
|
@ -133,7 +100,6 @@
|
||||||
resource_hub: "Resource Hub"
|
resource_hub: "Resource Hub"
|
||||||
|
|
||||||
modal:
|
modal:
|
||||||
cancel: "Cancel"
|
|
||||||
close: "Close"
|
close: "Close"
|
||||||
okay: "Okay"
|
okay: "Okay"
|
||||||
|
|
||||||
|
@ -164,7 +130,6 @@
|
||||||
skills_granted: "Skills Granted" # Property documentation details
|
skills_granted: "Skills Granted" # Property documentation details
|
||||||
heroes: "Heroes" # Tooltip on hero shop button from /play
|
heroes: "Heroes" # Tooltip on hero shop button from /play
|
||||||
achievements: "Achievements" # Tooltip on achievement list button from /play
|
achievements: "Achievements" # Tooltip on achievement list button from /play
|
||||||
account: "Account" # Tooltip on account button from /play
|
|
||||||
settings: "Settings" # Tooltip on settings button from /play
|
settings: "Settings" # Tooltip on settings button from /play
|
||||||
poll: "Poll" # Tooltip on poll button from /play
|
poll: "Poll" # Tooltip on poll button from /play
|
||||||
next: "Next" # Go from choose hero to choose inventory before playing a level
|
next: "Next" # Go from choose hero to choose inventory before playing a level
|
||||||
|
@ -181,8 +146,6 @@
|
||||||
adjust_volume: "Adjust volume"
|
adjust_volume: "Adjust volume"
|
||||||
campaign_multiplayer: "Multiplayer Arenas"
|
campaign_multiplayer: "Multiplayer Arenas"
|
||||||
campaign_multiplayer_description: "... in which you code head-to-head against other players."
|
campaign_multiplayer_description: "... in which you code head-to-head against other players."
|
||||||
campaign_old_multiplayer: "(Deprecated) Old Multiplayer Arenas"
|
|
||||||
campaign_old_multiplayer_description: "Relics of a more civilized age. No simulations are run for these older, hero-less multiplayer arenas."
|
|
||||||
|
|
||||||
code:
|
code:
|
||||||
if: "if" # Keywords--these translations show up on hover, so please translate them all, even if it's kind of long. (In the code editor, they will still be in English.)
|
if: "if" # Keywords--these translations show up on hover, so please translate them all, even if it's kind of long. (In the code editor, they will still be in English.)
|
||||||
|
@ -260,10 +223,8 @@
|
||||||
create_student_header: "Create Student Account"
|
create_student_header: "Create Student Account"
|
||||||
create_teacher_header: "Create Teacher Account"
|
create_teacher_header: "Create Teacher Account"
|
||||||
create_individual_header: "Create Individual Account"
|
create_individual_header: "Create Individual Account"
|
||||||
create_header: "Create Account"
|
|
||||||
email_announcements: "Receive announcements about new CodeCombat levels and features!"
|
email_announcements: "Receive announcements about new CodeCombat levels and features!"
|
||||||
creating: "Creating Account..."
|
creating: "Creating Account..."
|
||||||
create_account: "Create Account"
|
|
||||||
sign_up: "Sign Up"
|
sign_up: "Sign Up"
|
||||||
log_in: "log in with password"
|
log_in: "log in with password"
|
||||||
required: "You need to log in before you can go that way."
|
required: "You need to log in before you can go that way."
|
||||||
|
@ -350,7 +311,6 @@
|
||||||
sending: "Sending..."
|
sending: "Sending..."
|
||||||
send: "Send"
|
send: "Send"
|
||||||
sent: "Sent"
|
sent: "Sent"
|
||||||
type: "Type"
|
|
||||||
cancel: "Cancel"
|
cancel: "Cancel"
|
||||||
save: "Save"
|
save: "Save"
|
||||||
publish: "Publish"
|
publish: "Publish"
|
||||||
|
@ -719,7 +679,6 @@
|
||||||
lua_blurb: "Game scripting language."
|
lua_blurb: "Game scripting language."
|
||||||
java_blurb: "(Subscriber Only) Android and enterprise."
|
java_blurb: "(Subscriber Only) Android and enterprise."
|
||||||
status: "Status"
|
status: "Status"
|
||||||
hero_type: "Type"
|
|
||||||
weapons: "Weapons"
|
weapons: "Weapons"
|
||||||
weapons_warrior: "Swords - Short Range, No Magic"
|
weapons_warrior: "Swords - Short Range, No Magic"
|
||||||
weapons_ranger: "Crossbows, Guns - Long Range, No Magic"
|
weapons_ranger: "Crossbows, Guns - Long Range, No Magic"
|
||||||
|
@ -878,7 +837,6 @@
|
||||||
character_art: "Character Art"
|
character_art: "Character Art"
|
||||||
download_all: "Download All"
|
download_all: "Download All"
|
||||||
previous: "Previous"
|
previous: "Previous"
|
||||||
next: "Next"
|
|
||||||
location_title: "We're located in downtown SF:"
|
location_title: "We're located in downtown SF:"
|
||||||
|
|
||||||
teachers:
|
teachers:
|
||||||
|
@ -894,7 +852,6 @@
|
||||||
|
|
||||||
teachers_quote:
|
teachers_quote:
|
||||||
name: "Demo Form"
|
name: "Demo Form"
|
||||||
title: "Request a Demo"
|
|
||||||
subtitle: "Get your students started in less than an hour. You'll be able to <strong>create a class, add students, and monitor their progress</strong> as they learn computer science."
|
subtitle: "Get your students started in less than an hour. You'll be able to <strong>create a class, add students, and monitor their progress</strong> as they learn computer science."
|
||||||
email_exists: "User exists with this email."
|
email_exists: "User exists with this email."
|
||||||
phone_number: "Phone number"
|
phone_number: "Phone number"
|
||||||
|
@ -943,7 +900,6 @@
|
||||||
create_account_subtitle: "Get access to teacher-only tools for using CodeCombat in the classroom. <strong>Set up a class</strong>, add your students, and <strong>monitor their progress</strong>!"
|
create_account_subtitle: "Get access to teacher-only tools for using CodeCombat in the classroom. <strong>Set up a class</strong>, add your students, and <strong>monitor their progress</strong>!"
|
||||||
convert_account_title: "Update to Teacher Account"
|
convert_account_title: "Update to Teacher Account"
|
||||||
not: "Not"
|
not: "Not"
|
||||||
setup_a_class: "Set Up a Class"
|
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
save_version_title: "Save New Version"
|
save_version_title: "Save New Version"
|
||||||
|
@ -985,7 +941,6 @@
|
||||||
reset_progress_tab: "Reset All Progress"
|
reset_progress_tab: "Reset All Progress"
|
||||||
reset_your_progress: "Clear all your progress and start over"
|
reset_your_progress: "Clear all your progress and start over"
|
||||||
god_mode: "God Mode"
|
god_mode: "God Mode"
|
||||||
password_tab: "Password"
|
|
||||||
emails_tab: "Emails"
|
emails_tab: "Emails"
|
||||||
admin: "Admin"
|
admin: "Admin"
|
||||||
manage_subscription: "Click here to manage your subscription."
|
manage_subscription: "Click here to manage your subscription."
|
||||||
|
@ -1070,7 +1025,6 @@
|
||||||
clan_name: "Clan Name"
|
clan_name: "Clan Name"
|
||||||
name: "Name"
|
name: "Name"
|
||||||
chieftain: "Chieftain"
|
chieftain: "Chieftain"
|
||||||
type: "Type"
|
|
||||||
edit_clan_name: "Edit Clan Name"
|
edit_clan_name: "Edit Clan Name"
|
||||||
edit_clan_description: "Edit Clan Description"
|
edit_clan_description: "Edit Clan Description"
|
||||||
edit_name: "edit name"
|
edit_name: "edit name"
|
||||||
|
@ -1215,7 +1169,6 @@
|
||||||
teacher: "Teacher"
|
teacher: "Teacher"
|
||||||
complete: "Complete"
|
complete: "Complete"
|
||||||
none: "None"
|
none: "None"
|
||||||
save: "Save"
|
|
||||||
play_campaign_title: "Play the Campaign"
|
play_campaign_title: "Play the Campaign"
|
||||||
play_campaign_description: "You’re ready to take the next step! Explore hundreds of challenging levels, learn advanced programming skills, and compete in multiplayer arenas!"
|
play_campaign_description: "You’re ready to take the next step! Explore hundreds of challenging levels, learn advanced programming skills, and compete in multiplayer arenas!"
|
||||||
create_account_title: "Create an Account"
|
create_account_title: "Create an Account"
|
||||||
|
@ -1322,8 +1275,7 @@
|
||||||
students_enrolled: "students enrolled"
|
students_enrolled: "students enrolled"
|
||||||
students_assigned: "students assigned"
|
students_assigned: "students assigned"
|
||||||
length: "Length:"
|
length: "Length:"
|
||||||
title: "Courses" # Flat style redesign
|
subtitle: "Review course overviews and levels" # Flat style redesign
|
||||||
subtitle: "Review course overviews and levels"
|
|
||||||
changelog: "View latest changes to course levels."
|
changelog: "View latest changes to course levels."
|
||||||
select_language: "Select language"
|
select_language: "Select language"
|
||||||
select_level: "Select level"
|
select_level: "Select level"
|
||||||
|
@ -1333,8 +1285,7 @@
|
||||||
view_guide_online: "Level Overviews and Solutions"
|
view_guide_online: "Level Overviews and Solutions"
|
||||||
grants_lifetime_access: "Grants access to all Courses."
|
grants_lifetime_access: "Grants access to all Courses."
|
||||||
enrollment_credits_available: "Licenses Available:"
|
enrollment_credits_available: "Licenses Available:"
|
||||||
description: "Description" # ClassroomSettingsModal
|
language_select: "Select a language" # ClassroomSettingsModal
|
||||||
language_select: "Select a language"
|
|
||||||
language_cannot_change: "Language cannot be changed once students join a class."
|
language_cannot_change: "Language cannot be changed once students join a class."
|
||||||
learn_p: "Learn Python"
|
learn_p: "Learn Python"
|
||||||
learn_j: "Learn JavaScript"
|
learn_j: "Learn JavaScript"
|
||||||
|
@ -1631,7 +1582,6 @@
|
||||||
level_some_options: "Some Options?"
|
level_some_options: "Some Options?"
|
||||||
level_tab_thangs: "Thangs"
|
level_tab_thangs: "Thangs"
|
||||||
level_tab_scripts: "Scripts"
|
level_tab_scripts: "Scripts"
|
||||||
level_tab_settings: "Settings"
|
|
||||||
level_tab_components: "Components"
|
level_tab_components: "Components"
|
||||||
level_tab_systems: "Systems"
|
level_tab_systems: "Systems"
|
||||||
level_tab_docs: "Documentation"
|
level_tab_docs: "Documentation"
|
||||||
|
@ -1647,7 +1597,6 @@
|
||||||
duplicate: "Duplicate"
|
duplicate: "Duplicate"
|
||||||
stop_duplicate: "Stop Duplicate"
|
stop_duplicate: "Stop Duplicate"
|
||||||
rotate: "Rotate"
|
rotate: "Rotate"
|
||||||
level_settings_title: "Settings"
|
|
||||||
level_component_tab_title: "Current Components"
|
level_component_tab_title: "Current Components"
|
||||||
level_component_btn_new: "Create New Component"
|
level_component_btn_new: "Create New Component"
|
||||||
level_systems_tab_title: "Current Systems"
|
level_systems_tab_title: "Current Systems"
|
||||||
|
@ -1657,7 +1606,6 @@
|
||||||
level_components_type: "Type"
|
level_components_type: "Type"
|
||||||
level_component_edit_title: "Edit Component"
|
level_component_edit_title: "Edit Component"
|
||||||
level_component_config_schema: "Config Schema"
|
level_component_config_schema: "Config Schema"
|
||||||
level_component_settings: "Settings"
|
|
||||||
level_system_edit_title: "Edit System"
|
level_system_edit_title: "Edit System"
|
||||||
create_system_title: "Create New System"
|
create_system_title: "Create New System"
|
||||||
new_component_title: "Create New Component"
|
new_component_title: "Create New Component"
|
||||||
|
@ -2049,7 +1997,6 @@
|
||||||
rights_desc: "All rights are reserved for Levels themselves. This includes"
|
rights_desc: "All rights are reserved for Levels themselves. This includes"
|
||||||
rights_scripts: "Scripts"
|
rights_scripts: "Scripts"
|
||||||
rights_unit: "Unit configuration"
|
rights_unit: "Unit configuration"
|
||||||
rights_description: "Description"
|
|
||||||
rights_writings: "Writings"
|
rights_writings: "Writings"
|
||||||
rights_media: "Media (sounds, music) and any other creative content made specifically for that Level and not made generally available when creating Levels."
|
rights_media: "Media (sounds, music) and any other creative content made specifically for that Level and not made generally available when creating Levels."
|
||||||
rights_clarification: "To clarify, anything that is made available in the Level Editor for the purpose of making levels is under CC, whereas the content created with the Level Editor or uploaded in the course of creation of Levels is not."
|
rights_clarification: "To clarify, anything that is made available in the Level Editor for the purpose of making levels is under CC, whereas the content created with the Level Editor or uploaded in the course of creation of Levels is not."
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module.exports = nativeDescription: "Português do Brasil", englishDescription: "Portuguese (Brazil)", translation:
|
module.exports = nativeDescription: "Português (Brasil)", englishDescription: "Portuguese (Brazil)", translation:
|
||||||
home:
|
home:
|
||||||
slogan: "Aprenda a programar enquanto se diverte jogando."
|
slogan: "Aprenda a programar enquanto se diverte jogando."
|
||||||
no_ie: "O CodeCombat não roda em versões mais antigas que o Internet Explorer 10. Desculpe!" # Warning that only shows up in IE8 and older
|
no_ie: "O CodeCombat não roda em versões mais antigas que o Internet Explorer 10. Desculpe!" # Warning that only shows up in IE8 and older
|
||||||
|
|
|
@ -400,7 +400,7 @@ block content
|
||||||
span.sr-only(data-i18n="about.previous")
|
span.sr-only(data-i18n="about.previous")
|
||||||
a#carousel-right.right.carousel-control(href="#screenshot-carousel", role="button")
|
a#carousel-right.right.carousel-control(href="#screenshot-carousel", role="button")
|
||||||
span.glyphicon.glyphicons-chevron-right.glyphicon-chevron-right(aria-hidden="true")
|
span.glyphicon.glyphicons-chevron-right.glyphicon-chevron-right(aria-hidden="true")
|
||||||
span.sr-only(data-i18n="about.next")
|
span.sr-only(data-i18n="play.next")
|
||||||
|
|
||||||
#location
|
#location
|
||||||
.row
|
.row
|
||||||
|
|
|
@ -68,7 +68,7 @@ else
|
||||||
|
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
.panel-heading
|
.panel-heading
|
||||||
.panel-title(data-i18n="account_settings.password_tab")
|
.panel-title(data-i18n="general.password")
|
||||||
.panel-body
|
.panel-body
|
||||||
.form
|
.form
|
||||||
.form-group
|
.form-group
|
||||||
|
|
|
@ -23,7 +23,7 @@ mixin accountLinks
|
||||||
.col-lg-12
|
.col-lg-12
|
||||||
.navbar-header
|
.navbar-header
|
||||||
button.navbar-toggle.collapsed(data-toggle='collapse', data-target='#navbar-collapse' aria-expanded='false')
|
button.navbar-toggle.collapsed(data-toggle='collapse', data-target='#navbar-collapse' aria-expanded='false')
|
||||||
span.sr-only(data-i18n="home.toggle_nav")
|
span.sr-only(data-i18n="nav.toggle_nav")
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
span.icon-bar
|
span.icon-bar
|
||||||
|
@ -36,7 +36,7 @@ mixin accountLinks
|
||||||
li
|
li
|
||||||
a(href="/about", data-i18n="nav.about")
|
a(href="/about", data-i18n="nav.about")
|
||||||
li
|
li
|
||||||
a(href="/courses", data-i18n="nav.students")
|
a(href="/courses", data-i18n="courses.students")
|
||||||
li
|
li
|
||||||
a(href="/teachers/classes", data-i18n="nav.teachers")
|
a(href="/teachers/classes", data-i18n="nav.teachers")
|
||||||
li
|
li
|
||||||
|
@ -107,7 +107,7 @@ mixin accountLinks
|
||||||
li
|
li
|
||||||
a(href="/teachers/resources", data-i18n="nav.resource_hub")
|
a(href="/teachers/resources", data-i18n="nav.resource_hub")
|
||||||
li
|
li
|
||||||
a(href="/teachers/demo", data-i18n="teachers_quote.title")
|
a(href="/teachers/demo", data-i18n="new_home.request_demo")
|
||||||
|
|
||||||
.col-sm-3
|
.col-sm-3
|
||||||
ul.list-unstyled
|
ul.list-unstyled
|
||||||
|
@ -120,7 +120,7 @@ mixin accountLinks
|
||||||
li
|
li
|
||||||
a(href=view.forumLink(), data-i18n="nav.forum")
|
a(href=view.forumLink(), data-i18n="nav.forum")
|
||||||
li
|
li
|
||||||
a(href="/play/ladder", data-i18n="home.multiplayer")
|
a(href="/play/ladder", data-i18n="game_menu.multiplayer_tab")
|
||||||
li
|
li
|
||||||
a(href="https://github.com/codecombat/codecombat", data-i18n="nav.open_source")
|
a(href="https://github.com/codecombat/codecombat", data-i18n="nav.open_source")
|
||||||
.col-sm-3
|
.col-sm-3
|
||||||
|
|
|
@ -9,7 +9,7 @@ block header
|
||||||
a(href="/")
|
a(href="/")
|
||||||
span.glyphicon.glyphicon-home
|
span.glyphicon.glyphicon-home
|
||||||
a(href='/teachers', data-i18n="nav.teachers")
|
a(href='/teachers', data-i18n="nav.teachers")
|
||||||
a(href='/courses', data-i18n="nav.students")
|
a(href='/courses', data-i18n="courses.students")
|
||||||
a(href=view.forumLink(), data-i18n="nav.forum")
|
a(href=view.forumLink(), data-i18n="nav.forum")
|
||||||
a(href='/community', data-i18n="nav.community")
|
a(href='/community', data-i18n="nav.community")
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ block footer
|
||||||
a(href='/legal', tabindex=-1, data-i18n="nav.legal")
|
a(href='/legal', tabindex=-1, data-i18n="nav.legal")
|
||||||
a(href='/privacy', tabindex=-1, data-i18n="legal.privacy_title")
|
a(href='/privacy', tabindex=-1, data-i18n="legal.privacy_title")
|
||||||
a(href='/contribute', tabindex=-1, data-i18n="nav.contribute")
|
a(href='/contribute', tabindex=-1, data-i18n="nav.contribute")
|
||||||
a(href='/play/ladder', tabindex=-1, data-i18n="home.multiplayer")
|
a(href='/play/ladder', tabindex=-1, data-i18n="game_menu.multiplayer_tab")
|
||||||
if me.isAdmin()
|
if me.isAdmin()
|
||||||
a(href='/admin') Admin
|
a(href='/admin') Admin
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ block content
|
||||||
th(data-i18n="clans.clan_name") Clan Name
|
th(data-i18n="clans.clan_name") Clan Name
|
||||||
th(data-i18n="play.heroes") Heroes
|
th(data-i18n="play.heroes") Heroes
|
||||||
th(data-i18n="clans.chieftain") Chieftain
|
th(data-i18n="clans.chieftain") Chieftain
|
||||||
th(data-i18n="clans.type") Type
|
th(data-i18n="editor.level_components_type") Type
|
||||||
th
|
th
|
||||||
tbody
|
tbody
|
||||||
if view.myClansArray.length
|
if view.myClansArray.length
|
||||||
|
|
|
@ -102,7 +102,7 @@ form#basic-info-form.modal-body.basic-info
|
||||||
// In reverse order for tabbing purposes
|
// In reverse order for tabbing purposes
|
||||||
.history-nav-buttons
|
.history-nav-buttons
|
||||||
button#create-account-btn.next-button.btn.btn-lg.btn-navy(type='submit')
|
button#create-account-btn.next-button.btn.btn-lg.btn-navy(type='submit')
|
||||||
span(data-i18n="signup.create_account")
|
span(data-i18n="login.sign_up")
|
||||||
|
|
||||||
button.back-button.btn.btn-lg.btn-navy-alt(type='button')
|
button.back-button.btn.btn-lg.btn-navy-alt(type='button')
|
||||||
span(data-i18n="common.back")
|
span(data-i18n="common.back")
|
||||||
|
|
|
@ -18,7 +18,7 @@ mixin modal-header-content
|
||||||
when 'individual'
|
when 'individual'
|
||||||
span(data-i18n="signup.create_individual_header")
|
span(data-i18n="signup.create_individual_header")
|
||||||
default
|
default
|
||||||
span(data-i18n="signup.create_header")
|
span(data-i18n="login.sign_up")
|
||||||
|
|
||||||
//-
|
//-
|
||||||
This is where the subviews (screens) are hooked up.
|
This is where the subviews (screens) are hooked up.
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
// In reverse order for tabbing purposes
|
// In reverse order for tabbing purposes
|
||||||
.history-nav-buttons
|
.history-nav-buttons
|
||||||
button.next-button.btn.btn-lg.btn-navy(type='button')
|
button.next-button.btn.btn-lg.btn-navy(type='button')
|
||||||
span(data-i18n="about.next")
|
span(data-i18n="play.next")
|
||||||
|
|
|
@ -63,7 +63,7 @@ form.modal-body.segment-check
|
||||||
.history-nav-buttons
|
.history-nav-buttons
|
||||||
//- disabled=!view.signupState.get('segmentCheckValid')
|
//- disabled=!view.signupState.get('segmentCheckValid')
|
||||||
button.next-button.btn.btn-lg.btn-navy(type='submit')
|
button.next-button.btn.btn-lg.btn-navy(type='submit')
|
||||||
span(data-i18n="about.next")
|
span(data-i18n="play.next")
|
||||||
|
|
||||||
button.back-to-account-type.btn.btn-lg.btn-navy-alt(type='button')
|
button.back-to-account-type.btn.btn-lg.btn-navy-alt(type='button')
|
||||||
span(data-i18n="common.back")
|
span(data-i18n="common.back")
|
||||||
|
|
|
@ -51,7 +51,7 @@ form#basic-info-form.modal-body
|
||||||
// In reverse order for tabbing purposes
|
// In reverse order for tabbing purposes
|
||||||
.history-nav-buttons
|
.history-nav-buttons
|
||||||
button.next-button.btn.btn-lg.btn-navy(type='submit')
|
button.next-button.btn.btn-lg.btn-navy(type='submit')
|
||||||
span(data-i18n="signup.create_account")
|
span(data-i18n="login.sign_up")
|
||||||
|
|
||||||
button.back-button.btn.btn-lg.btn-navy-alt(type='button')
|
button.back-button.btn.btn-lg.btn-navy-alt(type='button')
|
||||||
span(data-i18n="common.back")
|
span(data-i18n="common.back")
|
||||||
|
|
|
@ -14,7 +14,7 @@ block modal-body-content
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
label
|
label
|
||||||
span(data-i18n="courses.description")
|
span(data-i18n="general.description")
|
||||||
i.spl.text-muted(data-i18n="signup.optional")
|
i.spl.text-muted(data-i18n="signup.optional")
|
||||||
textarea.form-control(name="description" rows=2)= view.classroom.get('description')
|
textarea.form-control(name="description" rows=2)= view.classroom.get('description')
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ block content
|
||||||
.container.m-t-3
|
.container.m-t-3
|
||||||
p
|
p
|
||||||
a(href="/courses", data-i18n="courses.back_courses")
|
a(href="/courses", data-i18n="courses.back_courses")
|
||||||
|
|
||||||
p
|
p
|
||||||
strong
|
strong
|
||||||
if view.courseInstance.get('name')
|
if view.courseInstance.get('name')
|
||||||
|
@ -14,33 +14,33 @@ block content
|
||||||
span= view.classroom.get('name')
|
span= view.classroom.get('name')
|
||||||
else
|
else
|
||||||
span(data-i18n='courses.unnamed_class')
|
span(data-i18n='courses.unnamed_class')
|
||||||
|
|
||||||
if !view.owner.isNew() && view.getOwnerName() && view.courseInstance.get('name') != 'Single Player'
|
if !view.owner.isNew() && view.getOwnerName() && view.courseInstance.get('name') != 'Single Player'
|
||||||
span.spl -
|
span.spl -
|
||||||
span.spl(data-i18n='courses.teacher')
|
span.spl(data-i18n='courses.teacher')
|
||||||
span.spr :
|
span.spr :
|
||||||
span
|
span
|
||||||
strong= view.getOwnerName()
|
strong= view.getOwnerName()
|
||||||
|
|
||||||
h1
|
h1
|
||||||
| #{i18n(view.course.attributes, 'name')}
|
| #{i18n(view.course.attributes, 'name')}
|
||||||
if view.courseComplete
|
if view.courseComplete
|
||||||
span.spl -
|
span.spl -
|
||||||
span.spl(data-i18n='courses.complete')
|
span.spl(data-i18n='courses.complete')
|
||||||
span !
|
span !
|
||||||
|
|
||||||
p
|
p
|
||||||
if view.courseInstance.get('description')
|
if view.courseInstance.get('description')
|
||||||
each line in view.courseInstance.get('description').split('\n')
|
each line in view.courseInstance.get('description').split('\n')
|
||||||
div= line
|
div= line
|
||||||
|
|
||||||
.available-courses-title(data-i18n='courses.available_levels')
|
.available-courses-title(data-i18n='courses.available_levels')
|
||||||
table.table.table-striped.table-condensed
|
table.table.table-striped.table-condensed
|
||||||
thead
|
thead
|
||||||
tr
|
tr
|
||||||
th
|
th
|
||||||
th(data-i18n="clans.status")
|
th(data-i18n="clans.status")
|
||||||
th(data-i18n="common.type")
|
th(data-i18n="editor.level_components_type")
|
||||||
th(data-i18n="resources.level")
|
th(data-i18n="resources.level")
|
||||||
th(data-i18n="courses.concepts")
|
th(data-i18n="courses.concepts")
|
||||||
tbody
|
tbody
|
||||||
|
@ -56,7 +56,7 @@ block content
|
||||||
tr
|
tr
|
||||||
td
|
td
|
||||||
if previousLevelCompleted || !passedLastCompletedLevel || levelStatus
|
if previousLevelCompleted || !passedLastCompletedLevel || levelStatus
|
||||||
- var i18nTag = level.isType('course-ladder') ? 'play.compete' : 'home.play';
|
- var i18nTag = level.isType('course-ladder') ? 'play.compete' : 'common.play';
|
||||||
button.btn.btn-forest.btn-play-level(data-level-slug=level.get('slug'), data-i18n=i18nTag, data-level-id=level.get('original'))
|
button.btn.btn-forest.btn-play-level(data-level-slug=level.get('slug'), data-i18n=i18nTag, data-level-id=level.get('original'))
|
||||||
if level.get('shareable')
|
if level.get('shareable')
|
||||||
- var levelOriginal = level.get('original');
|
- var levelOriginal = level.get('original');
|
||||||
|
|
|
@ -15,7 +15,7 @@ block content
|
||||||
a.btn.btn-primary.btn-lg(href="/teachers/update-account") Upgrade to teacher account
|
a.btn.btn-primary.btn-lg(href="/teachers/update-account") Upgrade to teacher account
|
||||||
|
|
||||||
.container
|
.container
|
||||||
h1(data-i18n="courses.title")
|
h1(data-i18n="nav.courses")
|
||||||
h2(data-i18n="courses.subtitle")
|
h2(data-i18n="courses.subtitle")
|
||||||
//- p
|
//- p
|
||||||
//- a(href="https://discourse.codecombat.com/t/course-level-changelog/7352" data-i18n="courses.changelog")
|
//- a(href="https://discourse.codecombat.com/t/course-level-changelog/7352" data-i18n="courses.changelog")
|
||||||
|
|
|
@ -5,7 +5,7 @@ nav.navbar.navbar-default(role='navigation')
|
||||||
li
|
li
|
||||||
a(href="#component-config-schema" data-toggle="tab" data-i18n="editor.level_component_config_schema")#component-config-schema-tab Config Schema
|
a(href="#component-config-schema" data-toggle="tab" data-i18n="editor.level_component_config_schema")#component-config-schema-tab Config Schema
|
||||||
li
|
li
|
||||||
a(href="#component-settings" data-toggle="tab" data-i18n="editor.level_component_settings")#component-settings-tab Settings
|
a(href="#component-settings" data-toggle="tab" data-i18n="play.settings")#component-settings-tab Settings
|
||||||
li
|
li
|
||||||
a(href="#component-patches" data-toggle="tab" data-i18n="resources.patches")#component-patches-tab Patches
|
a(href="#component-patches" data-toggle="tab" data-i18n="resources.patches")#component-patches-tab Patches
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ block header
|
||||||
li
|
li
|
||||||
a(href="#editor-level-scripts-tab-view", data-toggle="tab", data-i18n="editor.level_tab_scripts") Scripts
|
a(href="#editor-level-scripts-tab-view", data-toggle="tab", data-i18n="editor.level_tab_scripts") Scripts
|
||||||
li
|
li
|
||||||
a(href="#editor-level-settings-tab-view", data-toggle="tab", data-i18n="editor.level_tab_settings") Settings
|
a(href="#editor-level-settings-tab-view", data-toggle="tab", data-i18n="play.settings") Settings
|
||||||
li
|
li
|
||||||
a(href="#editor-level-components-tab-view", data-toggle="tab", data-i18n="editor.level_tab_components")#components-tab Components
|
a(href="#editor-level-components-tab-view", data-toggle="tab", data-i18n="editor.level_tab_components")#components-tab Components
|
||||||
li
|
li
|
||||||
|
|
|
@ -6,7 +6,7 @@ nav.navbar.navbar-default(role='navigation')
|
||||||
li
|
li
|
||||||
a(href="#system-config-schema" data-toggle="tab" data-i18n="editor.level_component_config_schema")#system-config-schema-tab Config Schema
|
a(href="#system-config-schema" data-toggle="tab" data-i18n="editor.level_component_config_schema")#system-config-schema-tab Config Schema
|
||||||
li
|
li
|
||||||
a(href="#system-settings" data-toggle="tab" data-i18n="editor.level_component_settings")#system-settings-tab Settings
|
a(href="#system-settings" data-toggle="tab" data-i18n="play.settings")#system-settings-tab Settings
|
||||||
li
|
li
|
||||||
a(href="#system-patches" data-toggle="tab" data-i18n="resources.patches")#system-patches-tab Patches
|
a(href="#system-patches" data-toggle="tab" data-i18n="resources.patches")#system-patches-tab Patches
|
||||||
|
|
||||||
|
|
|
@ -335,4 +335,4 @@ block content
|
||||||
span.sr-only(data-i18n="about.previous")
|
span.sr-only(data-i18n="about.previous")
|
||||||
a#carousel-right.right.carousel-control(href="#screenshot-carousel", role="button")
|
a#carousel-right.right.carousel-control(href="#screenshot-carousel", role="button")
|
||||||
span.glyphicon.glyphicons-chevron-right.glyphicon-chevron-right(aria-hidden="true")
|
span.glyphicon.glyphicons-chevron-right.glyphicon-chevron-right(aria-hidden="true")
|
||||||
span.sr-only(data-i18n="about.next")
|
span.sr-only(data-i18n="play.next")
|
||||||
|
|
|
@ -142,7 +142,7 @@ block content
|
||||||
ul
|
ul
|
||||||
li(data-i18n="legal.rights_scripts") Scripts
|
li(data-i18n="legal.rights_scripts") Scripts
|
||||||
li(data-i18n="legal.rights_unit") Unit configuration
|
li(data-i18n="legal.rights_unit") Unit configuration
|
||||||
li(data-i18n="legal.rights_description") Description
|
li(data-i18n="general.description") Description
|
||||||
li(data-i18n="legal.rights_writings") Writings
|
li(data-i18n="legal.rights_writings") Writings
|
||||||
li(data-i18n="legal.rights_media")
|
li(data-i18n="legal.rights_media")
|
||||||
| Media (sounds, music) and any other creative
|
| Media (sounds, music) and any other creative
|
||||||
|
|
|
@ -160,7 +160,7 @@ if view.showAds()
|
||||||
if (me.get('anonymous') === false || me.get('iosIdentifierForVendor') || isIPadApp) && !me.isOnFreeOnlyServer()
|
if (me.get('anonymous') === false || me.get('iosIdentifierForVendor') || isIPadApp) && !me.isOnFreeOnlyServer()
|
||||||
button.btn.gems(data-toggle='coco-modal', data-target='play/modal/BuyGemsModal', data-i18n="[title]play.buy_gems")
|
button.btn.gems(data-toggle='coco-modal', data-target='play/modal/BuyGemsModal', data-i18n="[title]play.buy_gems")
|
||||||
if !me.get('anonymous', true)
|
if !me.get('anonymous', true)
|
||||||
button.btn.account(data-toggle='coco-modal', data-target='play/modal/PlayAccountModal', data-i18n="[title]play.account")
|
button.btn.account(data-toggle='coco-modal', data-target='play/modal/PlayAccountModal', data-i18n="[title]nav.account")
|
||||||
//if me.isAdmin()
|
//if me.isAdmin()
|
||||||
// button.btn.settings(data-toggle='coco-modal', data-target='play/modal/PlaySettingsModal', data-i18n="[title]play.settings")
|
// button.btn.settings(data-toggle='coco-modal', data-target='play/modal/PlaySettingsModal', data-i18n="[title]play.settings")
|
||||||
if me.get('anonymous', true)
|
if me.get('anonymous', true)
|
||||||
|
|
|
@ -16,6 +16,6 @@ h1.text-center.hint-title
|
||||||
h2.text-center.hint-pagination #{view.state.get('hintIndex')+1} / #{view.hintsState.get('total')}
|
h2.text-center.hint-pagination #{view.state.get('hintIndex')+1} / #{view.hintsState.get('total')}
|
||||||
.col-md-4
|
.col-md-4
|
||||||
if view.state.get('hintIndex') < view.hintsState.get('total') - 1
|
if view.state.get('hintIndex') < view.hintsState.get('total') - 1
|
||||||
button.next-btn.btn.btn-illustrated.pull-right(data-i18n="about.next")
|
button.next-btn.btn.btn-illustrated.pull-right(data-i18n="play.next")
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
extends /templates/core/modal-base
|
extends /templates/core/modal-base
|
||||||
|
|
||||||
block modal-header-content
|
block modal-header-content
|
||||||
h3(data-i18n="play.account") Account
|
h3(data-i18n="nav.account") Account
|
||||||
|
|
||||||
block modal-body-content
|
block modal-body-content
|
||||||
#account-settings-view
|
#account-settings-view
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
.stat-value.hero-status-value(data-i18n=hero.restricted ? 'inventory.restricted_title' : (hero.purchasable ? 'play.purchasable' : (hero.locked ? 'play.locked' : 'play.available')))
|
.stat-value.hero-status-value(data-i18n=hero.restricted ? 'inventory.restricted_title' : (hero.purchasable ? 'play.purchasable' : (hero.locked ? 'play.locked' : 'play.available')))
|
||||||
|
|
||||||
.hero-stat-row
|
.hero-stat-row
|
||||||
.stat-label(data-i18n='choose_hero.hero_type')
|
.stat-label(data-i18n='editor.level_components_type')
|
||||||
.stat-value(data-i18n='general.' +hero.class)
|
.stat-value(data-i18n='general.' +hero.class)
|
||||||
|
|
||||||
.hero-stat-row
|
.hero-stat-row
|
||||||
|
|
|
@ -38,4 +38,4 @@ block modal-footer-content
|
||||||
if state.get('passwordChanged') || state.get('emailSent')
|
if state.get('passwordChanged') || state.get('emailSent')
|
||||||
span(data-i18n="modal.close")
|
span(data-i18n="modal.close")
|
||||||
else
|
else
|
||||||
span(data-i18n="modal.cancel")
|
span(data-i18n="common.cancel")
|
||||||
|
|
|
@ -14,7 +14,7 @@ block content
|
||||||
form#request-form(class=showDone ? 'hide' : '')
|
form#request-form(class=showDone ? 'hide' : '')
|
||||||
.row
|
.row
|
||||||
.col-md-offset-2.col-md-8
|
.col-md-offset-2.col-md-8
|
||||||
h3.text-center(data-i18n="teachers_quote.title")
|
h3.text-center(data-i18n="new_home.request_demo")
|
||||||
h4.text-center(data-i18n="[html]teachers_quote.subtitle")
|
h4.text-center(data-i18n="[html]teachers_quote.subtitle")
|
||||||
|
|
||||||
if !me.isAnonymous()
|
if !me.isAnonymous()
|
||||||
|
@ -215,7 +215,7 @@ block content
|
||||||
input(type="hidden" name="nces_phone")
|
input(type="hidden" name="nces_phone")
|
||||||
|
|
||||||
#buttons-row.row.m-y-2.text-center
|
#buttons-row.row.m-y-2.text-center
|
||||||
input#submit-request-btn.btn.btn-lg.btn-primary(type="submit" data-i18n="[value]teachers_quote.title")
|
input#submit-request-btn.btn.btn-lg.btn-primary(type="submit" data-i18n="[value]new_home.request_demo")
|
||||||
|
|
||||||
#form-submit-success.text-center(class=showDone ? '' : 'hide')
|
#form-submit-success.text-center(class=showDone ? '' : 'hide')
|
||||||
h3(data-i18n="teachers_quote.thanks_header")
|
h3(data-i18n="teachers_quote.thanks_header")
|
||||||
|
|
|
@ -48,8 +48,6 @@ module.exports = class HomeView extends RootView
|
||||||
if isHourOfCodeWeek and (@isNewPlayer() or (me.isStudent() and me.isAnonymous()))
|
if isHourOfCodeWeek and (@isNewPlayer() or (me.isStudent() and me.isAnonymous()))
|
||||||
# Go/return straight to playing single-player HoC course on Play click
|
# Go/return straight to playing single-player HoC course on Play click
|
||||||
@playURL = '/hoc?go=true'
|
@playURL = '/hoc?go=true'
|
||||||
@alternatePlayURL = '/play'
|
|
||||||
@alternatePlayText = 'home.play_campaign_version'
|
|
||||||
else if me.isStudent()
|
else if me.isStudent()
|
||||||
# Save players who might be in a classroom from getting into the campaign
|
# Save players who might be in a classroom from getting into the campaign
|
||||||
@playURL = '/courses'
|
@playURL = '/courses'
|
||||||
|
|
|
@ -246,7 +246,7 @@ module.exports = class BasicInfoView extends CocoView
|
||||||
@$('input').attr('disabled', true)
|
@$('input').attr('disabled', true)
|
||||||
|
|
||||||
displayFormStandingBy: ->
|
displayFormStandingBy: ->
|
||||||
@$('#create-account-btn').text($.i18n.t('signup.create_account')).attr('disabled', false)
|
@$('#create-account-btn').text($.i18n.t('login.sign_up')).attr('disabled', false)
|
||||||
@$('input').attr('disabled', false)
|
@$('input').attr('disabled', false)
|
||||||
|
|
||||||
onClickSsoSignupButton: (e) ->
|
onClickSsoSignupButton: (e) ->
|
||||||
|
|
Reference in a new issue