diff options
author | rbuj <[email protected]> | 2021-01-23 13:52:08 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-07 21:38:35 +0100 |
commit | 6de5a2680760436fe15ee16ed530f23ef1ced33a (patch) | |
tree | be4c64c279750dab39534f9963ef228c3246fd24 /libcaja-extension/caja-extension-i18n.h | |
parent | cb9ed81342334d3ef5dde43a60ab0325930a2874 (diff) | |
download | caja-6de5a2680760436fe15ee16ed530f23ef1ced33a.tar.bz2 caja-6de5a2680760436fe15ee16ed530f23ef1ced33a.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'libcaja-extension/caja-extension-i18n.h')
-rw-r--r-- | libcaja-extension/caja-extension-i18n.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libcaja-extension/caja-extension-i18n.h b/libcaja-extension/caja-extension-i18n.h deleted file mode 100644 index 34e1b3e6..00000000 --- a/libcaja-extension/caja-extension-i18n.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef CAJA_EXTENSION_I18N_H -#define CAJA_EXTENSION_I18N_H - -#include "config.h" - -#ifdef ENABLE_NLS -#include<libintl.h> -#define _(String) dgettext(GETTEXT_PACKAGE,String) -#ifdef gettext_noop -#define N_(String) gettext_noop(String) -#else -#define N_(String) (String) -#endif -#else /* NLS is disabled */ -#define _(String) (String) -#define N_(String) (String) -#define textdomain(String) (String) -#define gettext(String) (String) -#define dgettext(Domain,String) (String) -#define dcgettext(Domain,String,Type) (String) -#define bindtextdomain(Domain,Directory) (Domain) -#endif - -#endif |