UML class fix bigtime.
[dia.git] / lib / intl.h
blob390879b39df1fa219a6e015c4cbe946c518daf88
1 #ifndef INTL_H
2 #define INTL_H
4 #include <glib.h>
5 #ifdef GNOME
6 # include <libgnome/gnome-i18n.h>
7 #else
8 # ifdef ENABLE_NLS
9 # include <libintl.h>
10 # define _(String) gettext(String)
11 # ifdef gettext_noop
12 # define N_(String) gettext_noop(String)
13 # else
14 # define N_(String) (String)
15 # endif
16 # else /* NLS is disabled */
17 # define _(String) (String)
18 # define N_(String) (String)
19 # define gettext(String) (String)
20 # define textdomain(Domain)
21 # define bindtextdomain(Package, Directory)
22 # endif
23 #endif
25 const GList *intl_get_language_list (void);
26 int intl_score_locale (const gchar *locale);
28 #endif