Update TranslationsType.php

That should avoid the incoming deprecation