Removed try_it text (which was accidentally used in the wrong place anyway).

This commit is contained in:
Nick Winter 2014-12-30 16:24:31 -08:00
parent 72be5c35f0
commit 9e9d69ec9b
3 changed files with 2 additions and 6 deletions

View file

@ -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."

View file

@ -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

View file

@ -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) ->