Fixed ngettext macros and MOO_LOCALE_DIR
parent
e4dd7d96f6
commit
5f7f9d83c3
|
@ -245,7 +245,7 @@ AM_CFLAGS = \
|
||||||
$(pcre_include) \
|
$(pcre_include) \
|
||||||
$(MOO_CFLAGS) \
|
$(MOO_CFLAGS) \
|
||||||
$(MOO_DEBUG_CFLAGS) \
|
$(MOO_DEBUG_CFLAGS) \
|
||||||
-DMOO_LOCALE_DIR=\"${localedir}\"
|
-DMOO_LOCALE_DIR=\"$(datadir)/locale\"
|
||||||
|
|
||||||
if MOO_INSTALL_HEADERS
|
if MOO_INSTALL_HEADERS
|
||||||
mooutils_includedir = $(moo_includedir)/mooutils
|
mooutils_includedir = $(moo_includedir)/mooutils
|
||||||
|
|
|
@ -47,8 +47,8 @@ G_BEGIN_DECLS
|
||||||
#define gettext(String) (String)
|
#define gettext(String) (String)
|
||||||
#define dgettext(Domain,String) (String)
|
#define dgettext(Domain,String) (String)
|
||||||
#define dcgettext(Domain,String,Type) (String)
|
#define dcgettext(Domain,String,Type) (String)
|
||||||
#define ngettext(str,str_pl,n) ((n) > 1 ? (str_pl) ? (str))
|
#define ngettext(str,str_pl,n) ((n) > 1 ? (str_pl) : (str))
|
||||||
#define dngettext(dom,str,str_pl,n) ((n) > 1 ? (str_pl) ? (str))
|
#define dngettext(dom,str,str_pl,n) ((n) > 1 ? (str_pl) : (str))
|
||||||
#define bindtextdomain(Domain,Directory) (Domain)
|
#define bindtextdomain(Domain,Directory) (Domain)
|
||||||
#define bind_textdomain_codeset(Domain,Codeset) (Codeset)
|
#define bind_textdomain_codeset(Domain,Codeset) (Codeset)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue