Merge pull request #10646 from annando/fix-translation
Fix translations for singular/plural strings
This commit is contained in:
commit
01abd5b344
|
@ -314,7 +314,7 @@ class L10n
|
||||||
|
|
||||||
if (is_null($s) && $this->stringPluralSelectDefault($count)) {
|
if (is_null($s) && $this->stringPluralSelectDefault($count)) {
|
||||||
$s = $plural;
|
$s = $plural;
|
||||||
} else {
|
} elseif (is_null($s)) {
|
||||||
$s = $singular;
|
$s = $singular;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue