Permalink
Browse files

isolating a change for cherry-picking.

Conflicts:
	applications/vanilla/views/discussions/helper_functions.php
  • Loading branch information...
1 parent 0b58547 commit 2b95da2c85d55f21e06eadb1c35a2f913ebf32c5 @markosullivan markosullivan committed with tburry Aug 25, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 applications/vanilla/views/discussions/helper_functions.php
@@ -150,9 +150,11 @@ function WriteDiscussion($Discussion, &$Sender, &$Session) {
BigPlural($Discussion->CountComments, '%s comment')));
?></span>
<span class="MItem MCount DiscussionScore Hidden"><?php
- printf(Plural($Discussion->Score,
- '%s votes', '%s votes',
- BigPlural($Discussion->Score, '%s votes')));
+ $Score = $Discussion->Score;
+ if ($Score == '') $Score = 0;
+ printf(Plural($Score,
+ '%s point', '%s points',
+ BigPlural($Score, '%s point')));
?></span>
<?php
echo NewComments($Discussion);

0 comments on commit 2b95da2

Please sign in to comment.