src/Charcoal/Admin/Template/ElfinderTemplate.php
public function removeLocalization($ident)
    {
        if (!is_string($ident)) {
            throw new InvalidArgumentException(sprintf(
                'Translation key must be a string, received %s',
                (is_object($ident) ? get_class($ident) : gettype($ident))
            ));
        }

        unset($this->localizations[$ident]);

        return $this;
    }
public function removeLocalization($ident)
    {
        if (!is_string($ident)) {
            throw new InvalidArgumentException(sprintf(
                'Translation key must be a string, received %s',
                (is_object($ident) ? get_class($ident) : gettype($ident))
            ));
        }

        unset($this->localizations[$ident]);

        return $this;
    }
public function removeLocalization ( $ ident ) { if ( ! is_string ( $ ident ) ) { throw new InvalidArgumentException ( sprintf ( 'Translation key must be a string, received %s' , ( is_object ( $ ident ) ? get_class ( $ ident ) : gettype ( $ ident ) ) ) ) ; } unset ( $ this -> localizations [ $ ident ] ) ; return $ this ; }
Remove the translations for the given message ID.

@param  string $ident The message ID to remove.
@throws InvalidArgumentException If the message ID is not a string.
@return self
Remove the translations for the given message ID .