git-svn-id: https://develop.svn.wordpress.org/trunk@2454 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-03-17 18:15:18 +00:00
parent d381ae36da
commit 85c7025241
1 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,10 @@ function __ngettext($single, $plural, $number, $domain = 'default') {
if (isset($l10n[$domain])) {
return $l10n[$domain]->ngettext($single, $plural, $number);
} else {
return $text;
if ($number != 1)
return $plural;
else
return $single;
}
}