protected function _translateName( &$name, array $translations = array() )
	{
		$params = array();

		if( $this->_isFunction( $name, $params ) === true )
		{
			$transname = $name;
			if( isset( $translations[$name] ) ) {
				$transname = $translations[$name];
			}

			$find = array();
			$count = count( $params );

			for( $i = 0; $i < $count; $i++ ) {
				$find[$i] = '$' . ( $i + 1 );
			}

			return str_replace( $find, $params, $transname );
		}

		if( isset( $translations[$name] ) ) {
			return $translations[$name];
		} else {
			return $name;
		}
	}