diff options
Diffstat (limited to 'camlibs/template/template.c')
-rw-r--r-- | camlibs/template/template.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/camlibs/template/template.c b/camlibs/template/template.c index ad5875886..d3caae51d 100644 --- a/camlibs/template/template.c +++ b/camlibs/template/template.c @@ -56,29 +56,7 @@ #include <gphoto2/gphoto2-library.h> #include <gphoto2/gphoto2-result.h> -#ifdef ENABLE_NLS -# include <libintl.h> -# undef _ -/** - * This define is the string translation macro used in - * libgphoto2. It will resolve to a dcgettext() function call and - * does both the translation itself and also marks up the string - * for the collector (xgettext). - */ -# define _(String) dgettext (GETTEXT_PACKAGE, String) -# ifdef gettext_noop -/** - * This is the noop translation macro, which does not translate the - * string, but marks it up for the extraction of translatable strings. - */ -# 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" /**********************************************************************/ |