make gettext *really* behave correctly

Commit 67a38b06 has a few mistakes (basically the lines inside the if are also duplicated outside, so they are always executed). I fixed that and made some small improvements.

Fixes #178

Merge request reports

Loading