public function transform( $domain, $singular, $plural = '', $number = 1 )
	{
		if( $plural !== '' ) {
			return $this->_translator->dn( $domain, $singular, $plural, $number );
		}

		return $this->_translator->dt( $domain, $singular );
	}
public function transform( $domain, $singular, $plural = '', $number = 1 )
	{
		if( $plural !== '' ) {
			return $this->_translator->dn( $domain, $singular, $plural, $number );
		}

		return $this->_translator->dt( $domain, $singular );
	}
public function transform ( $ domain , $ singular , $ plural = '' , $ number = 1 ) { if ( $ plural !== '' ) { return $ this -> _translator -> dn ( $ domain , $ singular , $ plural , $ number ) ; } return $ this -> _translator -> dt ( $ domain , $ singular ) ; }
Returns the translated string or the original one if no translation is available.

@param string $domain Translation domain from core or an extension
@param string $singular Singular form of the text to translate
@param string $plural Plural form of the text, used if $number is greater than one
@param integer $number Amount of things relevant for the plural form
@return string Translated string
Returns the translated string or the original one if no translation is available .