annotate src/intl.h @ 444:452b7ffeb7ad

Minor cleanup and code redundancy reduction.
author zas_
date Sun, 20 Apr 2008 13:42:22 +0000
parents 4b2d7f9af171
children 1646720364cf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
1 #ifndef __INTL_H__
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
2 #define __INTL_H__
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
3
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
4 #ifdef ENABLE_NLS
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
5 # include <libintl.h>
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
6 # define _(String) dgettext(PACKAGE,String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
7 # ifdef gettext_noop
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
8 # define N_(String) gettext_noop(String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
9 # else
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
10 # define N_(String) (String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
11 # endif /* gettext_noop */
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
12 #else
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
13 # define _(String) (String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
14 # define N_(String) (String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
15 # define textdomain(String) (String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
16 # define gettext(String) (String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
17 # define dgettext(Domain,String) (String)
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
18 # define dcgettext(Domain,String,Type) (String)
442
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 9
diff changeset
19 # define bindtextdomain(Domain,Directory) (Domain)
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents: 1
diff changeset
20 # define bind_textdomain_codeset(Domain,String) (Domain)
1
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
21 #endif /* ENABLE_NLS */
b3e0e515fabf Initial revision
gqview
parents:
diff changeset
22
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents: 1
diff changeset
23 #endif