Remove gettext markup from diagnostic string.