From 2bda60796a1d1a592d4a96997d0e16b04a394852 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Fri, 13 Jun 2014 08:08:13 -0700 Subject: [PATCH] Copy / i18n tweaks for tournament ending and employers blurb. --- app/locale/en.coffee | 18 ++++++++++++--- app/templates/employers.jade | 33 ++++++++++++--------------- app/templates/play/ladder/ladder.jade | 11 ++++----- 3 files changed, 35 insertions(+), 27 deletions(-) diff --git a/app/locale/en.coffee b/app/locale/en.coffee index e233de29f..8baaf24ac 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -298,10 +298,21 @@ employers: want_to_hire_our_players: "Hire CodeCombat Players" + what: "What is CodeCombat?" + what_blurb: "CodeCombat is a multiplayer browser programming game. Players write code to control their forces in battle against other developers. We support JavaScript, Python, Lua, Clojure, CoffeeScript, and Io." + who: "Who Are the Players?" + who_blurb: "CodeCombateers are software developers who enjoy using their programming skills to play games. They range from college seniors at top 20 engineering programs to 20-year industry veterans." + how: "How Do We Find Developers?" + how_blurb: "We host competitive tournaments to attract competitive software engieneers. We then use in-house algorithms to identify the best players among the top 5% of tournament winners." + why: "Why Hire Through Us?" + why_blurb_1: "We will save you time. Every CodeCombateer we feaure is " + why_blurb_2: "looking for work" + why_blurb_3: ", has " + why_blurb_4: "demonstrated top notch technical skills" + why_blurb_5: ", and has been " + why_blurb_6: "personally screened by us" + why_blurb_7: ". Stop screening and start hiring." see_candidates: "Click here to see our candidates" - candidates_count_prefix: "We currently have " - candidates_count_many: "many" - candidates_count_suffix: "highly skilled and vetted developers looking for work." candidate_name: "Name" candidate_location: "Location" candidate_looking_for: "Looking For" @@ -786,6 +797,7 @@ watch_victory: "Watch your victory" defeat_the: "Defeat the" tournament_ends: "Tournament ends" + tournament_ended: "Tournament ended" tournament_rules: "Tournament Rules" tournament_blurb: "Write code, collect gold, build armies, crush foes, win prizes, and upgrade your career in our $40,000 Greed tournament! Check out the details" tournament_blurb_blog: "on our blog" diff --git a/app/templates/employers.jade b/app/templates/employers.jade index eb42f3b2e..774e1251f 100644 --- a/app/templates/employers.jade +++ b/app/templates/employers.jade @@ -4,15 +4,6 @@ block content h1(data-i18n="employers.want_to_hire_our_players") Hire CodeCombat Players - //p - span(data-i18n="employers.candidates_count_prefix") We currently have - if activeCandidates.length - | #{activeCandidates.length} - else - span(data-i18n="employers.candidates_count_many") many - | - span(data-i18n="employers.candidates_count_suffix") highly skilled and vetted developers looking for work. - div#info_wrapper div#leftside @@ -21,17 +12,17 @@ block content img(class="employer_icon" src="/images/pages/employer/employer_icon1.png") - h2 What is CodeCombat? + h2(data-i18n="employers.what") What is CodeCombat? - p CodeCombat is a multiplayer browser programming game. Players write code to control their forces in battle against other developers. We support JavaScript, Python, Lua, Clojure, and Io. + p(data-i18n="employers.what_blurb") CodeCombat is a multiplayer browser programming game. Players write code to control their forces in battle against other developers. We support JavaScript, Python, Lua, Clojure, CoffeeScript, and Io. div.information_row img(class="employer_icon" src="/images/pages/employer/employer_icon3.png") - h2 Who Are the Players? + h2(data-i18n="employers.who") Who Are the Players? - p CodeCombateers are software developers who enjoy using their programming skills to play games. They range from college seniors at top 20 engineering programs to 20-year industry veterans. + p(data-i18n="employers.who_blurb") CodeCombateers are software developers who enjoy using their programming skills to play games. They range from college seniors at top 20 engineering programs to 20-year industry veterans. div#rightside @@ -39,23 +30,29 @@ block content img(class="employer_icon" src="/images/pages/employer/employer_icon2.png") - h2 How Do We Find Developers? + h2(data-i18n="employers.how") How Do We Find Developers? - p We host competitive tournaments to attract competitive software engieneers. We then use in-house algorithms to identify the best players among the top 5% of tournament winners. + p(data-i18n="employers.how_blurb") We host competitive tournaments to attract competitive software engieneers. We then use in-house algorithms to identify the best players among the top 5% of tournament winners. div.information_row img(class="employer_icon" src="/images/pages/employer/employer_icon4.png") - h2 Why Hire Through Us? + h2(data-i18n="employers.why") Why Hire Through Us? - p We will save you time. Every CodeCombateer we list is looking for work, has demonstrated top notch technical skills, and has been personally screened by us. Stop screening and start hiring. + p + span(data-i18n="employers.why_blurb_1") We will save you time. Every CodeCombateer we feaure is + strong(data-i18n="employers.why_blurb_2") looking for work + span(data-i18n="employers.why_blurb_3") , has + strong(data-i18n="employers.why_blurb_4") demonstrated top notch technical skills + span(data-i18n="employers.why_blurb_5") , and has been + strong(data-i18n="employers.why_blurb_6") personally screened by us + span(data-i18n="employers.why_blurb_7") . Stop screening and start hiring. if !isEmployer && !me.isAdmin() h3.see-candidates-header a#see-candidates(title='Contact', tabindex=-1, data-toggle="coco-modal", data-target="modal/employer_signup", data-i18n="employers.see_candidates") Click here to see our candidates - if candidates.length ul.nav.nav-pills diff --git a/app/templates/play/ladder/ladder.jade b/app/templates/play/ladder/ladder.jade index 2334ecc87..42f55cf29 100644 --- a/app/templates/play/ladder/ladder.jade +++ b/app/templates/play/ladder/ladder.jade @@ -11,7 +11,8 @@ block content if level.get('name') == 'Greed' .tournament-blurb h2 - span(data-i18n="ladder.tournament_ends") Tournament ends + //span(data-i18n="ladder.tournament_ends") Tournament ends + span(data-i18n="ladder.tournament_ended") Tournament ended | #{tournamentTimeLeft} p span(data-i18n="ladder.tournament_blurb") Write code, collect gold, build armies, crush foes, win prizes, and upgrade your career in our $40,000 Greed tournament! Check out the details @@ -19,11 +20,9 @@ block content a(href="http://blog.codecombat.com/multiplayer-programming-tournament", data-i18n="ladder.tournament_blurb_blog") on our blog | . p - strong Tournament ended! - | At 5PM PDT, we took a snapshot of submitted code and are running an exhaustive pairwise ranking between all players. Winners will be sorted by - code wins - losses - | , and especially given deduplication on each team, final rankings may look significantly different than these preliminary rankings. - | We will announce winners as soon as we can. Thanks for playing! + strong Tournament ended! + a(href="#winners") Behold the winners + | . Thanks for playing! p | Want to commiserate? Head over to a(href="http://discourse.codecombat.com/") the forum