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:
parent
fe3b6ca4ac
commit
cd8dcf0046
|
@ -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>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue