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__
17 # define _(String) dgettext(GETTEXT_PACKAGE,(String))
19 # define N_(String) gettext_noop((String))
20 # else /* !gettext_noop */
21 # define N_(String) (String)
22 # endif /* !gettext_noop */
24 #else /* !ENABLE_NLS */
26 # define _(String) (String)
27 # define N_(String) (String)
28 # define textdomain(String) (String)
29 # define gettext(String) (String)
30 # define dgettext(Domain,String) (String)
31 # define dcgettext(Domain,String,Type) (String)
32 # define bindtextdomain(Domain,Directory) (Domain)
34 #endif /* !ENABLE_NLS */
36 #endif /* __XSCREENSAVER_INTL_H__ */