library/Translator.php
protected function _isTranslateAble($sString)
    {
        $sPattern = $this->getTranslationPattern();
        $aMatches = array();
        if (is_array($sString)) {
            $sString = implode('_DELIMITER_', $sString);
        }
        preg_match_all("|{$sPattern}|", $sString, $aMatches);

        if ($aMatches['key'] > 0) {
            $this->_setKeys($aMatches['key']);
            return true;
        }
        return false;
    }
protected function _isTranslateAble($sString)
    {
        $sPattern = $this->getTranslationPattern();
        $aMatches = array();
        if (is_array($sString)) {
            $sString = implode('_DELIMITER_', $sString);
        }
        preg_match_all("|{$sPattern}|", $sString, $aMatches);

        if ($aMatches['key'] > 0) {
            $this->_setKeys($aMatches['key']);
            return true;
        }
        return false;
    }
protected function _isTranslateAble ( $ sString ) { $ sPattern = $ this -> getTranslationPattern ( ) ; $ aMatches = array ( ) ; if ( is_array ( $ sString ) ) { $ sString = implode ( '_DELIMITER_' , $ sString ) ; } preg_match_all ( "|{$sPattern}|" , $ sString , $ aMatches ) ; if ( $ aMatches [ 'key' ] > 0 ) { $ this -> _setKeys ( $ aMatches [ 'key' ] ) ; return true ; } return false ; }
Checks if string can be translated

@param $sString

@return bool
Checks if string can be translated