code/libraries/joomlatools/library/translator/catalogue/abstract.php
public function add(array $translations, $override = false)
    {
        if ($override) {
            $this->_data = array_merge($this->_data, $translations);
        } else {
            $this->_data = array_merge($translations, $this->_data);
        }

        return true;
    }
public function add(array $translations, $override = false)
    {
        if ($override) {
            $this->_data = array_merge($this->_data, $translations);
        } else {
            $this->_data = array_merge($translations, $this->_data);
        }

        return true;
    }
public function add ( array $ translations , $ override = false ) { if ( $ override ) { $ this -> _data = array_merge ( $ this -> _data , $ translations ) ; } else { $ this -> _data = array_merge ( $ translations , $ this -> _data ) ; } return true ; }
Add translations to the catalogue.

@param array  $translations Associative array containing translations.
@param bool   $override     If TRUE override existing translations. Default is FALSE.
@return bool True on success, false otherwise.
Add translations to the catalogue .