From 6205ff26ae20e8edfc941cd5841c0533df847f0b Mon Sep 17 00:00:00 2001 From: "Sean P. Kane" Date: Sat, 25 Jul 2015 14:05:32 -0700 Subject: [PATCH 1/2] Add a tip for the loading screen #710 --- app/locale/en-US.coffee | 1 + app/templates/play/level/level_loading.jade | 1 + 2 files changed, 2 insertions(+) diff --git a/app/locale/en-US.coffee b/app/locale/en-US.coffee index 13fe9c9ea..c6754480b 100644 --- a/app/locale/en-US.coffee +++ b/app/locale/en-US.coffee @@ -306,6 +306,7 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English # tip_scrub_shortcut: "Use Ctrl+[ and Ctrl+] to rewind and fast-forward." # tip_guide_exists: "Click the guide, inside game menu (at the top of the page), for useful info." # tip_open_source: "CodeCombat is 100% open source!" +# tip_tell_friends: "Enjoying CodeCombat? Tell your friends about us!" # tip_beta_launch: "CodeCombat launched its beta in October, 2013." # tip_think_solution: "Think of the solution, not the problem." # tip_theory_practice: "In theory, there is no difference between theory and practice. But in practice, there is. - Yogi Berra" diff --git a/app/templates/play/level/level_loading.jade b/app/templates/play/level/level_loading.jade index 807d7a856..781e0692e 100644 --- a/app/templates/play/level/level_loading.jade +++ b/app/templates/play/level/level_loading.jade @@ -29,6 +29,7 @@ strong.tip(data-i18n='play_level.tip_scrub_shortcut') Ctrl+[ and Ctrl+] rewind and fast-forward. strong.tip(data-i18n='play_level.tip_guide_exists') Click the guide, inside game menu (at the top of the page), for useful info. strong.tip(data-i18n='play_level.tip_open_source') CodeCombat is 100% open source! + strong.tip(data-i18n='play_level.tip_tell_friends') Enjoying CodeCombat? Tell your friends about us! strong.tip(data-i18n='play_level.tip_beta_launch') CodeCombat launched its beta in October, 2013. strong.tip(data-i18n='play_level.tip_think_solution') Think of the solution, not the problem. strong.tip(data-i18n='play_level.tip_theory_practice') In theory there is no difference between theory and practice; in practice there is. - Yogi Berra From d5f81b8f51d3a7ea616eea4e302b3ffc60c31daa Mon Sep 17 00:00:00 2001 From: "Sean P. Kane" Date: Sat, 25 Jul 2015 19:29:13 -0700 Subject: [PATCH 2/2] Move tip into correct language file --- app/locale/en-US.coffee | 1 - app/locale/en.coffee | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/locale/en-US.coffee b/app/locale/en-US.coffee index c6754480b..13fe9c9ea 100644 --- a/app/locale/en-US.coffee +++ b/app/locale/en-US.coffee @@ -306,7 +306,6 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English # tip_scrub_shortcut: "Use Ctrl+[ and Ctrl+] to rewind and fast-forward." # tip_guide_exists: "Click the guide, inside game menu (at the top of the page), for useful info." # tip_open_source: "CodeCombat is 100% open source!" -# tip_tell_friends: "Enjoying CodeCombat? Tell your friends about us!" # tip_beta_launch: "CodeCombat launched its beta in October, 2013." # tip_think_solution: "Think of the solution, not the problem." # tip_theory_practice: "In theory, there is no difference between theory and practice. But in practice, there is. - Yogi Berra" diff --git a/app/locale/en.coffee b/app/locale/en.coffee index f53c32b07..3c988cb5f 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -293,6 +293,7 @@ tip_scrub_shortcut: "Use Ctrl+[ and Ctrl+] to rewind and fast-forward." tip_guide_exists: "Click the guide, inside game menu (at the top of the page), for useful info." tip_open_source: "CodeCombat is 100% open source!" + tip_tell_friends: "Enjoying CodeCombat? Tell your friends about us!" tip_beta_launch: "CodeCombat launched its beta in October, 2013." tip_think_solution: "Think of the solution, not the problem." tip_theory_practice: "In theory, there is no difference between theory and practice. But in practice, there is. - Yogi Berra"