Last fuzzy trimmed...
[midnight-commander.git] / src / i18n.h
blobf487eb569965fa18e35326b7e5bfeb39ef932cc5
1 #ifndef _MC_I18N_H_
2 #define _MC_I18N_H_
4 #ifdef VFS_STANDALONE /* We do not want vfs code to depend on internationalization, do we? */
5 #undef ENABLE_NLS
6 #endif
8 #ifdef ENABLE_NLS
9 # include <libintl.h>
10 # define _(String) gettext (String)
11 # ifdef gettext_noop
12 # define N_(String) gettext_noop (String)
13 # else
14 # define N_(String) (String)
15 # endif
16 #else /* Stubs that do something close enough. */
17 # define textdomain(String)
18 # define gettext(String) (String)
19 # define dgettext(Domain,Message) (Message)
20 # define dcgettext(Domain,Message,Type) (Message)
21 # define bindtextdomain(Domain,Directory)
22 # define _(String) (String)
23 # define N_(String) (String)
24 #endif /* !ENABLE_NLS */
26 #endif /* _MC_I18N_H_ */