*** empty log message ***
[midnight-commander.git] / src / i18n.h
blob2b77e9c6688926041f6f7b5c87a8a474846aebc1
1 /* GNOME already handles the intenrationalization issues */
2 #ifndef _MC_I18N_H_
3 #define _MC_I18N_H_
5 #ifdef VFS_STANDALONE /* We do not want vfs code to depend on internationalization, do we? */
6 #undef ENABLE_NLS
7 #endif
9 #ifndef HAVE_GNOME
10 # ifdef ENABLE_NLS
11 # include <libintl.h>
12 # define _(String) gettext (String)
13 # ifdef gettext_noop
14 # define N_(String) gettext_noop (String)
15 # else
16 # define N_(String) (String)
17 # endif
18 # else
19 /* Stubs that do something close enough. */
20 # define textdomain(String)
21 # define gettext(String) (String)
22 # define dgettext(Domain,Message) (Message)
23 # define dcgettext(Domain,Message,Type) (Message)
24 # define bindtextdomain(Domain,Directory)
25 # define _(String) (String)
26 # define N_(String) (String)
27 # endif
28 #endif /* !HAVE_GNOME */
30 #endif /* _MC_I18N_H_ */