__ngettext() correction by nbachiyski. fixes #3508
git-svn-id: https://develop.svn.wordpress.org/trunk@4669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7607c269e6
commit
e576c9a998
@ -754,7 +754,7 @@ function human_time_diff( $from, $to = '' ) {
|
||||
if ($days <= 1) {
|
||||
$days = 1;
|
||||
}
|
||||
$since = sprintf(__('%s day', '%s days', $days), $days);
|
||||
$since = sprintf(__ngettext('%s day', '%s days', $days), $days);
|
||||
}
|
||||
return $since;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user