~ubuntu-branches/ubuntu/dapper/xscreensaver/dapper-updates

« back to all changes in this revision

Viewing changes to utils/xscreensaver-intl.h

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Hildebrandt
  • Date: 2005-04-09 00:06:43 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050409000643-z0abtifbt9s20pcc
Tags: 4.21-3
Patch by Joachim Breitner to check more frequently if DPMS kicked in (closes: #303374, #286664).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* xscreensaver, Copyright (c) 2002 Jamie Zawinski <jwz@jwz.org>
 
2
 *
 
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 
 
9
 * implied warranty.
 
10
 */
 
11
 
 
12
#ifndef __XSCREENSAVER_INTL_H__
 
13
#define __XSCREENSAVER_INTL_H__
 
14
 
 
15
#ifdef ENABLE_NLS
 
16
# include <libintl.h>
 
17
# define _(String) dgettext(GETTEXT_PACKAGE,(String))
 
18
# ifdef gettext_noop
 
19
#  define N_(String) gettext_noop((String))
 
20
# else  /* !gettext_noop */
 
21
#  define N_(String) (String)
 
22
# endif /* !gettext_noop */
 
23
 
 
24
#else  /* !ENABLE_NLS */
 
25
 
 
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) 
 
33
 
 
34
#endif /* !ENABLE_NLS */
 
35
 
 
36
#endif /* __XSCREENSAVER_INTL_H__ */