From 2f33b939c5dc73364a0e2073ea9410516d66242f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 16 Aug 2004 18:02:48 +0000 Subject: - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter. --- modules/poll/poll.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/poll/poll.module') diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 214145848..fb364b309 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -385,14 +385,14 @@ function poll_vote(&$node) { db_query("UPDATE {poll_choices} SET chvotes = chvotes + 1 WHERE nid = %d AND chorder = %d", $node->nid, $choice); $node->allowvotes = false; $node->choice[$choice]['chvotes']++; - drupal_set_message(t('your vote was recorded.')); + drupal_set_message(t('Your vote was recorded.')); } else { - drupal_set_message(t("you're not allowed to vote on this poll."), 'error'); + drupal_set_message(t("You're not allowed to vote on this poll."), 'error'); } } else { - drupal_set_message(t("you didn't specify a valid poll choice."), 'error'); + drupal_set_message(t("You didn't specify a valid poll choice."), 'error'); } drupal_goto('node/'. $nid); -- cgit v1.2.3