@see #1118
This commit is contained in:
FlyingSky 2021-07-23 17:23:36 +08:00 committed by GitHub
parent 27e6801e15
commit 79179fb65a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,8 @@ class Typecho_I18n_GetTextMulti
*/
public function ngettext($single, $plural, $number)
{
$count = -1;
foreach ($this->_handles as $handle) {
$string = $handle->ngettext($single, $plural, $number, $count);
if (-1 != $count) {