Merge pull request #1119 from FlyingSky-CN/patch-1

fix #1118;
This commit is contained in:
joyqi 2021-07-28 22:21:07 +08:00 committed by GitHub
commit a38571bc64
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) {