Issue #2839630 by venu_gopal: WARNING | t() calls should be avoided in classes, use dependency | | injection and $this->t() instead