src/Translator.php
public function npgettext($msgctxt, $msgid, $msgidPlural, $number)
    {
        $key = implode(chr(4), [$msgctxt, $msgid]);
        $ret = $this->ngettext($key, $msgidPlural, $number);
        if (strpos($ret, chr(4)) !== false) {
            return $msgid;
        }

        return $ret;
    }
public function npgettext($msgctxt, $msgid, $msgidPlural, $number)
    {
        $key = implode(chr(4), [$msgctxt, $msgid]);
        $ret = $this->ngettext($key, $msgidPlural, $number);
        if (strpos($ret, chr(4)) !== false) {
            return $msgid;
        }

        return $ret;
    }
public function npgettext ( $ msgctxt , $ msgid , $ msgidPlural , $ number ) { $ key = implode ( chr ( 4 ) , [ $ msgctxt , $ msgid ] ) ; $ ret = $ this -> ngettext ( $ key , $ msgidPlural , $ number ) ; if ( strpos ( $ ret , chr ( 4 ) ) !== false ) { return $ msgid ; } return $ ret ; }
Plural version of pgettext.

@param string $msgctxt     Context
@param string $msgid       Single form
@param string $msgidPlural Plural form
@param int    $number      Number of objects

@return string translated plural form
Plural version of pgettext .