Fixed a few snafus with the gettext functions