pnmixer
Volume mixer for the system tray
support-intl.h
Go to the documentation of this file.
1 /* support-intl.h
2  * PNmixer is written by Nick Lanham, a fork of OBmixer
3  * which was programmed by Lee Ferrett, derived
4  * from the program "AbsVolume" by Paul Sherman
5  * This program is free software; you can redistribute
6  * it and/or modify it under the terms of the GNU General
7  * Public License v3. source code is available at
8  * <http://github.com/nicklan/pnmixer>
9  */
10 
17 #ifndef _SUPPORT_INTL_H_
18 #define _SUPPORT_INTL_H_
19 
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23 
24 #ifdef ENABLE_NLS
25 
26 #include <libintl.h>
27 
28 /* Standard gettext macros */
29 
30 #undef _
31 #define _(String) dgettext (PACKAGE, String)
32 #define Q_(String) g_strip_context ((String), gettext (String))
33 #ifdef gettext_noop
34 #define N_(String) gettext_noop (String)
35 #else
36 #define N_(String) (String)
37 #endif
38 #else
39 #define textdomain(String) (String)
40 #define gettext(String) (String)
41 #define dgettext(Domain, Message) (Message)
42 #define dcgettext(Domain, Message, Type) (Message)
43 #define bindtextdomain(Domain, Directory) (Domain)
44 #define _(String) (String)
45 #define Q_(String) g_strip_context ((String), (String))
46 #define N_(String) (String)
47 
48 #endif
49 
50 void intl_init(void);
51 
52 #endif // _SUPPORT_INTL_H_
53 
void intl_init(void)
Definition: support-intl.c:27