public function fileType($arg) { $text = ArticleFileParams::fileType($arg); return $text ? $this->translator->trans($text) : null; }