WordPress.org

Make WordPress Core

Ticket #3508: formatting-i18n.diff

File formatting-i18n.diff, 408 bytes (added by nbachiyski, 7 years ago)
  • wp-includes/formatting.php

     
    754754                if ($days <= 1) { 
    755755                        $days = 1; 
    756756                } 
    757                 $since = sprintf(__('%s day', '%s days', $days), $days); 
     757                $since = sprintf(__ngettext('%s day', '%s days', $days), $days); 
    758758        } 
    759759        return $since; 
    760760}