WordPress.org

Make WordPress Core

Changeset 6227


Ignore:
Timestamp:
10/12/07 19:49:25 (8 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r6125 r6227  
    377377        $tag_link = clean_url($tag_links[$tag]); 
    378378        $tag = str_replace(' ', ' ', wp_specialchars( $tag )); 
    379         $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __('%d topics'), $count ) ) . "'$rel style='font-size: " . 
     379        $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: " . 
    380380            ( $smallest + ( ( $count - $min_count ) * $font_step ) ) 
    381381            . "$unit;'>$tag</a>"; 
Note: See TracChangeset for help on using the changeset viewer.