From: Peter Verthez Date: Mon, 4 Nov 2002 18:14:40 +0000 (+0000) Subject: Use dgettext instead of gettext. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=349d849a4f6cfad7a5f2badcda0e3c5799f0302f;p=gedcom-parse.git Use dgettext instead of gettext. --- diff --git a/gedcom/gedcom_internal.h b/gedcom/gedcom_internal.h index 9947c9b..7e4fc78 100644 --- a/gedcom/gedcom_internal.h +++ b/gedcom/gedcom_internal.h @@ -33,7 +33,7 @@ #endif #include -#define _(string) gettext(string) +#define _(string) dgettext(PACKAGE, string) #define N_(string) (string) #define MAXGEDCLEVEL 99 diff --git a/gom/gom_internal.h b/gom/gom_internal.h index 0ef609b..2038c26 100644 --- a/gom/gom_internal.h +++ b/gom/gom_internal.h @@ -27,10 +27,13 @@ #include #include #include +#ifdef HAVE_CONFIG_H +#include +#endif #include "gom.h" #include "gedcom.h" -#define _(string) gettext(string) +#define _(string) dgettext(PACKAGE, string) #define N_(string) (string) #ifdef __GNUC__