fix code formatting in Gettext adapter