code styling + gettext optimization