From f2679810a9c59cab4a53b3c77c3525395aadff53 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Wed, 7 Oct 2015 02:11:23 -0700 Subject: [PATCH] fix some typos in commit and getting started --- seed/challenges/getting-started.json | 2 +- server/boot/commit.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seed/challenges/getting-started.json b/seed/challenges/getting-started.json index cfdca8f1fe1..8f8b559eb73 100644 --- a/seed/challenges/getting-started.json +++ b/seed/challenges/getting-started.json @@ -140,7 +140,7 @@ [ "http://i.imgur.com/FkEzbto.gif", "A gif showing how you can click your profile image in your upper right hand corner to your code portfolio and connect GitHub.", - "Check out your code portfolio. Click your picture your upper right hand corner. To activate your code portfolio, you'll need to link your GitHub account with Free Code Camp.", + "Check out your code portfolio. Click your picture in your upper right hand corner. To activate your code portfolio, you'll need to link your GitHub account with Free Code Camp.", "" ], [ diff --git a/server/boot/commit.js b/server/boot/commit.js index 9a48ea5236b..4ba0f3801ee 100644 --- a/server/boot/commit.js +++ b/server/boot/commit.js @@ -158,11 +158,11 @@ export default function commit(app) { return saveInstance(pledge); }) .subscribe( - ({ nonprofit, goal, amount }) => { + ({ displayName, goal, amount }) => { req.flash('success', { msg: dedent` Congratulations, you have committed to giving - ${nonprofit} $${amount} each month until you have completed + ${displayName} $${amount} each month until you have completed your ${goal}. ` });