diff -r 9bcc185dc151 -r 85f91037cd4f includes/tagcloud.php --- a/includes/tagcloud.php Tue Jan 29 17:29:08 2008 -0500 +++ b/includes/tagcloud.php Tue Jan 29 23:15:44 2008 -0500 @@ -132,6 +132,7 @@ function make_html($span_class = 'normal', $div_align = 'center') { + global $lang; $html = array(); $max = max($this->words); $size = $this->get_cloud_size(); @@ -147,8 +148,8 @@ $newline = ( $inc == 5 ) ? "
" : ''; ( $inc == 5 ) ? $inc = 0 : null; $url = makeUrlNS('Special', 'TagCloud/' . htmlspecialchars($word)); - $s = ( $popularity != 1 ) ? 's' : ''; - $html[] = "$word"; // $newline"; + $popstring = ( $popularity == 1 ) ? $lang->get('pagetools_tagcloug_tip_popularity_one') : $lang->get('pagetools_tagcloug_tip_popularity_plural', array('popularity' => $popularity)); + $html[] = "$word"; // $newline"; } } $html = '
' . implode("\n", $html) . '
';