Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker

git-svn-id: http://svn.automattic.com/wordpress/trunk@6227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2007-10-12 19:49:25 +00:00
parent fe3b6ca4ac
commit cd8dcf0046
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) {
$tag_id = $tag_ids[$tag];
$tag_link = clean_url($tag_links[$tag]);
$tag = str_replace(' ', ' ', wp_specialchars( $tag ));
$a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __('%d topics'), $count ) ) . "'$rel style='font-size: " .
$a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __ngettext('%d topic','%d topics',$count), $count ) ) . "'$rel style='font-size: " .
( $smallest + ( ( $count - $min_count ) * $font_step ) )
. "$unit;'>$tag</a>";
}