aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-05-02 07:26:42 +0800
committerChris Lahey <clahey@src.gnome.org>2002-05-02 07:26:42 +0800
commite1f208de7dfadbd84d2e5aa75204f04f60ad49e0 (patch)
tree08088fc548e31986fc29b715d489eb6389fd77d4 /e-util
parent6be9006f3fa356bf1402067ec60aa278871562bb (diff)
downloadgsoc2013-evolution-e1f208de7dfadbd84d2e5aa75204f04f60ad49e0.tar.gz
gsoc2013-evolution-e1f208de7dfadbd84d2e5aa75204f04f60ad49e0.tar.zst
gsoc2013-evolution-e1f208de7dfadbd84d2e5aa75204f04f60ad49e0.zip
Set the gettext-domain here.
2002-05-01 Christopher James Lahey <clahey@ximian.com> * 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 <clahey@ximian.com> * 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 <clahey@ximian.com> * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-i18n.h6
1 files changed, 6 insertions, 0 deletions
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
/*