/* * 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__ */ dabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
due to maintainer-timeouts and no response to email.
Commit message (Expand)AuthorAgeFilesLines
Mark Linimon2008-09-071-1/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]Martin Wilke2008-04-201-1/+1
* - Move from versioned tcl/tk CATEGORIES to simple tcl and tk categoriesPav Lucistnik2008-04-091-1/+1
* - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptRong-En Fan2007-07-231-1/+0
* - Update tcl/tkgeomap to 2.11.4Andrew Pantyukhin2007-07-182-4/+4
* - Update to 2.11.3Andrew Pantyukhin2007-06-162-5/+4
* - Welcome X.org 7.2 \o/.Florent Thoumie2007-05-201-0/+1
* - Update to 2.11.2Andrew Pantyukhin2007-05-032-5/+5
* - Convert existing ports to a new bsd.tcl.mk orderPav Lucistnik2007-04-031-2/+1
* - Update to 2.11.1Andrew Pantyukhin2007-01-243-21/+17
* - Respect X11BASEAndrew Pantyukhin2006-12-032-6/+9
* - Update tcl/tkgeomap to 2.10.1Andrew Pantyukhin2006-11-283-5/+7
* - LIB_DEPEND on Tcl/TkAndrew Pantyukhin2006-09-011-6/+3