{"Hi"|gettext} {User::getDisplayNameStatic($cUser)}, {if $cVote.vote_type eq 'updown' || $cVote.vote_type eq 'up'} {if $cVote.vote_direction eq 1} {"Your post"|gettext} "{$cPost.post_title}" {"in [[COMMUNITY_NAME]] has just been voted up!"|gettext} {if isset($addedScore)}{"Congratulations, this has earned you"|gettext} {$addedScore} {"points"|gettext}. {"This brings your total number of points earned so far in"|gettext} {$cHubbub->data.hubbub_name} {"to"|gettext} {$cUserranking.userranking_score} {"points"|gettext}.{/if} {else} {"Your post"|gettext} "{$cPost.post_title}" {"in [[COMMUNITY_NAME]] has just been voted down!"|gettext} {if isset($addedScore)}{"No points awarded for that I'm afraid."|gettext} {"Your total number of points earned so far in"|gettext} {$cHubbub->data.hubbub_name} {"is"|gettext} {$cUserranking.userranking_score} {"points"|gettext}.{/if} {/if} {elseif $cVote.vote_type eq 'stars'} {"Your post"|gettext} {$cPost.post_title} {"on [[COMMUNITY_NAME]] has just been rated"|gettext} {$cVote.vote_direction} {"stars"|gettext}. {if isset($addedScore)}{"Congratulations, this has earned you"|gettext} {$addedScore} {"points"|gettext}. {"This brings your total number of points earned so far in [[COMMUNITY_NAME]] to"|gettext} {$cUserranking.userranking_score} {"points"|gettext}.{/if} {elseif $cVote.vote_type eq 'pointsAward'} {"Your post"|gettext} {$cPost.post_title} {"on [[COMMUNITY_NAME]] has just been awarded "|gettext} {if $cVote.vote_average}{$cVote.vote_average}{else}{$cVote.vote_direction}{/if} {if $cVote.vote_direction eq 1}{"point"|gettext}{else}{"points"|gettext}{/if}. {if isset($addedScore)}{"Congratulations, this has earned you"|gettext} {$addedScore} {"points"|gettext}. {"This brings your total number of points earned so far in [[COMMUNITY_NAME]] to"|gettext} {$cUserranking.userranking_score} {"points"|gettext}.{/if} {/if} {if isset($addedScore)}{"You are currently ranked"|gettext} {$cUserranking.userranking_ranking} {"in this community."|gettext}{/if} {"View idea"|gettext} {$cHubbub->getLink()}post/{$cPost.post_id}