summaryrefslogtreecommitdiff
path: root/camlibs/docupen/docupen.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/docupen/docupen.c')
-rw-r--r--camlibs/docupen/docupen.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/camlibs/docupen/docupen.c b/camlibs/docupen/docupen.c
index 373ddebe1..9490ff936 100644
--- a/camlibs/docupen/docupen.c
+++ b/camlibs/docupen/docupen.c
@@ -25,21 +25,10 @@
#include <gphoto2/gphoto2-result.h>
#include <libgphoto2/gphoto2-endian.h>
+#include "libgphoto2/i18n.h"
+
#include "docupen.h"
-#ifdef ENABLE_NLS
-# include <libintl.h>
-# undef _
-# define _(String) dgettext (GETTEXT_PACKAGE, String)
-# ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-# else
-# define N_(String) (String)
-# endif
-#else
-# define _(String) (String)
-# define N_(String) (String)
-#endif
#if 0
static const struct {