Use Translate function in some places

Use the translation function that was forgotten in some places
What was `$this->name` in your case?