protected function add($type, $message, ...$text) { $this->init(); $this->getMessagesStore()[$type][] = Translator::translate($message, ...$text); }