function __construct() { parent::__construct(kgettext('Search.'), kgettext('Search keyword not set or too short.')); }
public function __construct($text) { $_['title'] = kgettext('Programmer is not paranoic!'); $_['text'] = kgettext('This shit finally happen: %s. Thats it.'); $_['text'] = sprintf($_['text'], $text); $_['image'] = Config::DIR_PATH . '/img/exceptions/default.png'; $this->message_data = $_; parent::__construct($_['text']); }