/* * Copied from gnome-i18nP.h, because this header is typically not installed * * This file has to be included before any file from the GNOME libraries * to have this override the definitions that are pulled from the gnome-i18n.h * * the difference is that gnome-i18n.h is used for applications, and this is * used by libraries (because libraries have to use dcgettext instead of * gettext and they need to provide the translation domain, unlike apps). * * So you can just put this after you include config.h */ #ifndef __E_I18N_H__ #define __E_I18N_H__ #include #include "libgnome/gnome-defs.h" BEGIN_GNOME_DECLS #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else /* Stubs that do something close enough. */ # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif /* * Do not remove the following define, nor do surround it with ifdefs. * * If you get any `redefined' errors, it means that you are including * -incorrectly- a header file provided by gnome-libs before this file. * To correctly solve this issue include this file before any libgnome/ * libgnomeui headers */ #define __GNOME_I18N_H__ 1 /* This is copied staight out of the prototypes for gnome-i18n.h */ const char *gnome_i18n_get_language(void); GList *gnome_i18n_get_language_list (const gchar *category_name); void gnome_i18n_set_preferred_language (const char *val); const char *gnome_i18n_get_preferred_language (void); void gnome_i18n_init (void); END_GNOME_DECLS #endif /* __E_I18N_H__ */ ot/npm_and_yarn/devel/electron4/files/ini-1.3.7'>dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Fix build with boost 1.60amdmi32016-01-191-0/+18
* - Add LICENSE_FILEamdmi32015-08-221-17/+13
* Convert to USES=jpegantoine2015-06-231-3/+2
* converters/libiconv:tijl2015-04-152-20/+2
* Bump portrevision after png updatebapt2014-12-261-1/+1
* Add a proper patch to support png 1.5bapt2014-12-244-19/+99
* Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla intijl2014-12-091-1/+1
* - List empty directory in plistamdmi32014-11-191-0/+1
* - Drop @dirrm* from plistamdmi32014-09-241-2/+0