libyui-gtk  2.43.7
 All Classes
YGi18n.h
1 /********************************************************************
2  * YaST2-GTK - http://en.opensuse.org/YaST2-GTK *
3  ********************************************************************/
4 
5 #ifndef YGi18n_h
6 #define YGi18n_h
7 
8 #include <libintl.h>
9 #define TEXTDOMAIN "gtk"
10 
11 static inline const char *_(const char *msgid)
12 { return dgettext (TEXTDOMAIN, msgid); }
13 
14 #ifndef YGI18N_C
15 static inline const char * _(const char * msgid1, const char *msgid2, unsigned long int n)
16 { return dngettext(TEXTDOMAIN, msgid1, msgid2, n); }
17 #endif
18 
19 #endif /*YGi18n_h*/
20