1 /* xscreensaver, Copyright (c) 2002 Jamie Zawinski <jwz@jwz.org>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
12 #ifndef __XSCREENSAVER_INTL_H__
13 #define __XSCREENSAVER_INTL_H__
18 # define _(String) dgettext(GETTEXT_PACKAGE,(String))
20 # define N_(String) gettext_noop((String))
21 # else /* !gettext_noop */
22 # define N_(String) (String)
23 # endif /* !gettext_noop */
25 #else /* !ENABLE_NLS */
27 # define _(String) (String)
28 # define N_(String) (String)
29 # define textdomain(String) (String)
30 # define gettext(String) (String)
31 # define dgettext(Domain,String) (String)
32 # define dcgettext(Domain,String,Type) (String)
33 # define bindtextdomain(Domain,Directory) (Domain)
35 #endif /* !ENABLE_NLS */
37 #ifndef HAVE_BINDTEXTDOMAIN_CODESET
38 # define bindtextdomain_codeset(Domain,Codeset) (Domain)
41 #endif /* __XSCREENSAVER_INTL_H__ */