From e1f208de7dfadbd84d2e5aa75204f04f60ad49e0 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 1 May 2002 23:26:42 +0000 Subject: Set the gettext-domain here. 2002-05-01 Christopher James Lahey * gal/e-text/e-completion-view.c (simple_spec), gal/widgets/e-categories-master-list-dialog.c (SPEC), gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain here. * gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the different cases. From gal/e-table/ChangeLog: 2002-05-01 Christopher James Lahey * e-table-config.c, e-table-config.h, e-table-specification.c, e-table-specification.h, e-table-utils.c, e-table-utils.h, e-table.c, e-table.h: Made these pay attention to the gettext-domain in the etspec. * e-table-config.c: Set the gettext-domain in the etspec here. From gal/menus/ChangeLog: 2002-05-01 Christopher James Lahey * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658 --- e-util/e-i18n.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'e-util') diff --git a/e-util/e-i18n.h b/e-util/e-i18n.h index c376a22014..48c9f90458 100644 --- a/e-util/e-i18n.h +++ b/e-util/e-i18n.h @@ -45,8 +45,12 @@ BEGIN_GNOME_DECLS # undef _ # ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN # define _(String) dgettext (GNOME_EXPLICIT_TRANSLATION_DOMAIN, String) +/* No parentheses allowed here since that breaks string concatenation. */ +# define E_I18N_DOMAIN GNOME_EXPLICIT_TRANSLATION_DOMAIN # else # define _(String) dgettext (PACKAGE, String) +/* No parentheses allowed here since that breaks string concatenation. */ +# define E_I18N_DOMAIN PACKAGE # endif # ifdef gettext_noop # define N_(String) gettext_noop (String) @@ -62,6 +66,8 @@ BEGIN_GNOME_DECLS # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) +/* No parentheses allowed here since that breaks string concatenation. */ +# define E_I18N_DOMAIN "" #endif /* -- cgit v1.2.3