git-svn-id: http://svn.automattic.com/wordpress/trunk@2454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-17 18:15:18 +00:00
parent 3e2b1f0d75
commit cb76d37c05
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;
}
}