From fca09ad7965782e1f4196900646a713ede75bd63 Mon Sep 17 00:00:00 2001 From: Imperadeiro98 Date: Fri, 13 May 2016 15:43:12 +0100 Subject: [PATCH] Update i18n Remove some strings that are repeated or unused --- app/locale/en.coffee | 10 +--------- app/templates/new-home-view.jade | 6 +++--- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/app/locale/en.coffee b/app/locale/en.coffee index 35f6036a6..40d20a3cb 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -57,15 +57,11 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr real_game: "A real game, played with real coding." great_game: "A great game is more than just badges and achievements - it’s about a player’s journey, well-designed puzzles, and the ability to tackle challenges with agency and confidence." agency: "CodeCombat is a game that gives players that agency and confidence with our robust typed code engine, which helps beginner and advanced students alike write proper, valid code." - curious: "Curious? Request a demo and we'll show you the ropes" request_demo_title: "Get your students started today!" request_demo_subtitle: "Request a demo and get your students started in less than an hour." get_started_title: "Set up your class today" get_started_subtitle: "Set up a class, add your students, and monitor their progress as they learn computer science." - create_class: "Or create a class and see it for yourself!" - teacher_screenshots_hint: "Students write code and see their changes update in real-time" request_demo: "Request a Demo" - create_a_class: "Create a Class" setup_a_class: "Set Up a Class" have_an_account: "Have an account?" logged_in_as: "You are currently logged in as" @@ -91,10 +87,9 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr start_playing_for_free: "Start Playing for Free!" students_and_players: "Students & Players" goto_classes: "Go to My Classes" - educator_wiki: "Educator wiki" view_profile: "View My Profile" view_progress: "View Progress" - check_out_wiki: "Check out our new educator Wiki" + check_out_wiki: "Check out our new Educator Wiki" want_coco: "Want CodeCombat at your school?" form_select_role: "Select primary role" form_select_range: "Select class size" @@ -787,9 +782,6 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr jobs_title: "Come work with us and help write CodeCombat history!" jobs_subtitle: """Don't see a good fit but interested in keeping in touch? See our "Create Your Own" listing.""" jobs_benefits: "Employee Benefits" - jobs_benefit_1: "Competitive salary and options" - jobs_benefit_2: "15 day minimum vacation policy, excluding company holidays" - jobs_benefit_3: "Flex time and flexible work-from-home" jobs_benefit_4: "Unlimited vacation" jobs_benefit_5: "Professional development and continuing education support – free books and games!" jobs_benefit_6: "Medical (gold), dental, vision" diff --git a/app/templates/new-home-view.jade b/app/templates/new-home-view.jade index fe3c5df6a..4d87c5182 100644 --- a/app/templates/new-home-view.jade +++ b/app/templates/new-home-view.jade @@ -80,7 +80,7 @@ mixin box div if view.isTeacherWithDemo h6(data-i18n="new_home.check_out_wiki") - a.btn.btn-primary.btn-lg.btn-block(href="https://sites.google.com/a/codecombat.com/teacher-guides/course-guides", data-i18n="new_home.educator_wiki") + a.btn.btn-primary.btn-lg.btn-block(href="https://sites.google.com/a/codecombat.com/teacher-guides/course-guides", data-i18n="nav.educator_wiki") else h6(data-i18n="new_home.want_coco") a.btn.btn-primary.btn-lg.btn-block(href=view.demoRequestURL, data-i18n="new_home.get_started") @@ -267,7 +267,7 @@ block content .teacher-screenshots .screenshots .hidden-sm.hidden-md.hidden-lg - small(data-i18n="new_home.teacher_screenshots_hint") + small(data-i18n="new_home.top_screenshots_hint") .screenshot-grid(title='Click to view full size') a.screen-thumbnail(data-toggle="modal", data-target="#screenshot-lightbox", data-index='1') img(src="/images/pages/about/forest.png") @@ -276,7 +276,7 @@ block content a.screen-thumbnail(data-toggle="modal", data-target="#screenshot-lightbox", data-index='3') img(src="/images/pages/about/glacier.png") .clearfix.hidden-xs - small(data-i18n="new_home.teacher_screenshots_hint") + small(data-i18n="new_home.top_screenshots_hint") if view.isTeacherWithDemo h4(data-i18n="new_home.get_started_subtitle")