Do not include <libintl.h> without ENABLE_NLS
parent
6c18bdb717
commit
a247cfecf1
|
@ -15,13 +15,11 @@
|
|||
|
||||
#include <config.h>
|
||||
#include <glib/gstrfuncs.h>
|
||||
#include <libintl.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
|
||||
#include <libintl.h>
|
||||
|
||||
#define _(String) moo_gettext (String)
|
||||
#define Q_(String) g_strip_context ((String), moo_gettext (String))
|
||||
#define N_(String) (String)
|
||||
|
@ -54,11 +52,12 @@ G_BEGIN_DECLS
|
|||
#endif /* !ENABLE_NLS */
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
const char *moo_gettext (const char *string);
|
||||
const char *_moo_gsv_gettext (const char *string);
|
||||
char *_moo_gsv_dgettext (const char *domain, const char *string);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* MOO_I18N_H */
|
||||
|
|
Loading…
Reference in New Issue