Commit 9c3ed3f2 authored by David Woodhouse's avatar David Woodhouse

Use dgettext() so the domain is always correct even in libopenconnect

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent eef00ae2
......@@ -238,7 +238,6 @@ int main(int argc, char **argv)
#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
textdomain("openconnect");
#endif
openconnect_init_openssl();
......
......@@ -41,7 +41,7 @@
#endif
#ifdef ENABLE_NLS
#include <libintl.h>
#define _(s) gettext(s)
#define _(s) dgettext("openconnect", s)
#else
#define _(s) s
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment