After #1813762: Change notice: Introduce unified interfaces, use dependency injection for interface translation landed, using an injected service instead of t() is now possible..
which itself is a great win in terms of unit-testability, but there is a DX drawback
t()
becomes$this->translation->translate()