- 'title' => t('See environment indicator for %name', ['%name' => $environment->name]),
- 'description' => t('See the environment indicator if the user is in the %name environment.', ['%name' => $environment->name]),
+ 'title' => $this->t('See environment indicator for %name', ['%name' => $environment->name]),
+ 'description' => $this->t('See the environment indicator if the user is in the %name environment.', ['%name' => $environment->name]),