summaryrefslogtreecommitdiff
path: root/camlibs/jd11/jd11.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/jd11/jd11.c')
-rw-r--r--camlibs/jd11/jd11.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/camlibs/jd11/jd11.c b/camlibs/jd11/jd11.c
index 7d49fd346..3fdd02dfa 100644
--- a/camlibs/jd11/jd11.c
+++ b/camlibs/jd11/jd11.c
@@ -27,22 +27,11 @@
#include <gphoto2/gphoto2.h>
#include <gphoto2/gphoto2-port.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
+#include "libgphoto2/i18n.h"
#include "serial.h"
+
int camera_id (CameraText *id)
{
strcpy(id->text, "JD11");