From: Michael Date: Tue, 31 Aug 2021 05:51:08 +0000 (+0000) Subject: Fix translations for singular/plural strings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80b13ec232a2101ea03337e38328854ed21f8a88;p=friendica.git Fix translations for singular/plural strings --- diff --git a/src/Core/L10n.php b/src/Core/L10n.php index dc31b41832..2a2988341f 100644 --- a/src/Core/L10n.php +++ b/src/Core/L10n.php @@ -314,7 +314,7 @@ class L10n if (is_null($s) && $this->stringPluralSelectDefault($count)) { $s = $plural; - } else { + } elseif (is_null($s)) { $s = $singular; }