summaryrefslogtreecommitdiff
path: root/camlibs/st2205/library.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/st2205/library.c')
-rw-r--r--camlibs/st2205/library.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/camlibs/st2205/library.c b/camlibs/st2205/library.c
index ea00b1125..f599c6ceb 100644
--- a/camlibs/st2205/library.c
+++ b/camlibs/st2205/library.c
@@ -33,21 +33,11 @@
#include <gphoto2/gphoto2-result.h>
#include <gphoto2/gphoto2-port.h>
#include <gphoto2/gphoto2-setting.h>
+
+#include "libgphoto2/i18n.h"
+
#include "st2205.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
int
camera_id (CameraText *id)