From 9e9d69ec9b17b47bea177fa8e113063a4a4db8db Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Tue, 30 Dec 2014 16:24:31 -0800 Subject: [PATCH] Removed try_it text (which was accidentally used in the wrong place anyway). --- app/locale/en.coffee | 3 +-- app/templates/play/ladder_home.jade | 2 +- app/views/HomeView.coffee | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/locale/en.coffee b/app/locale/en.coffee index ccf0c6584..945ecc668 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -3,8 +3,7 @@ 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 just starts playing a level - try_it: "Try It" # Alternate wording for Play button + play: "Play" # The big play button that opens up the campaign view. 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." diff --git a/app/templates/play/ladder_home.jade b/app/templates/play/ladder_home.jade index 77eff846f..4a12d7683 100644 --- a/app/templates/play/ladder_home.jade +++ b/app/templates/play/ladder_home.jade @@ -24,4 +24,4 @@ block content span.spl.spr - #{playCount.sessions} span(data-i18n="play.players") players .play-text-container - .overlay-text.play-text= playText + .overlay-text.play-text(data-i18n="home.play") Play diff --git a/app/views/HomeView.coffee b/app/views/HomeView.coffee index b07fbcaf2..21a7ea1c9 100644 --- a/app/views/HomeView.coffee +++ b/app/views/HomeView.coffee @@ -32,9 +32,6 @@ module.exports = class HomeView extends RootView c.explainsHourOfCode = @explainsHourOfCode c.isMobile = @isMobile() c.isIPadBrowser = @isIPadBrowser() - c.playText = $.i18n.t('home.try_it', false) - if c.playText is 'home.try_it' - c.playText = $.i18n.t 'home.play' # Temporary fallback for not having many try_it translations yet. c onClickBeginnerCampaign: (e) ->