gui: Fix compatibility with older gettext.