Prado\I18N\TChoiceFormat::translateText PHP Метод

translateText() защищенный Метод

Overrides the parent method, also calls parent's renderBody to translate.
protected translateText ( $text, $subs )
    protected function translateText($text, $subs)
    {
        $text = parent::translateText($text, $subs);
        $choice = new ChoiceFormat();
        $value = $this->getValue();
        $string = $choice->format($text, $value);
        if ($string) {
            return strtr($string, array('{Value}' => $value));
        }
    }