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

git-svn-id: https://develop.svn.wordpress.org/trunk@6227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2007-10-12 19:49:25 +00:00
parent f5c0b18865
commit c0e3dc42d7
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>";
}