summaryrefslogtreecommitdiff
path: root/camlibs/fuji/fuji.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/fuji/fuji.c')
-rw-r--r--camlibs/fuji/fuji.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/camlibs/fuji/fuji.c b/camlibs/fuji/fuji.c
index 47b0f6cee..131b0b199 100644
--- a/camlibs/fuji/fuji.c
+++ b/camlibs/fuji/fuji.c
@@ -49,24 +49,8 @@
#include <gphoto2/gphoto2-port-log.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 textdomain(String) (String)
-# define gettext(String) (String)
-# define dgettext(Domain,Message) (Message)
-# define dcgettext(Domain,Message,Type) (Message)
-# define bindtextdomain(Domain,Directory) (Domain)
-# define _(String) (String)
-# define N_(String) (String)
-#endif
+#include "libgphoto2/i18n.h"
+
#ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))