From 72dbc81f48008909473e67eb23e61e05ff4d8057 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 12 May 2004 03:36:37 +0000 Subject: make the Because cases the same. 2004-05-12 Not Zed * e-system-errors.xml: make the Because cases the same. * e-system-errors.xml.h: add for translators. * e-error.c (ee_load): just use _() to do i18n rather than the nasty lang stuff. (find_node): no longer needed. * Makefile.am (%.xml.h): setup the build rules for the i18n file for the errors. * e-system-errors.xml.in: Removed, renamed to .xml and removed the _ stuff. svn path=/trunk/; revision=25871 --- widgets/misc/Makefile.am | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'widgets/misc/Makefile.am') diff --git a/widgets/misc/Makefile.am b/widgets/misc/Makefile.am index cacf891cba..57b552b67a 100644 --- a/widgets/misc/Makefile.am +++ b/widgets/misc/Makefile.am @@ -72,10 +72,11 @@ libemiscwidgets_la_SOURCES = \ MARSHAL_GENERATED = e-util-marshal.c e-util-marshal.h @EVO_MARSHAL_RULE@ -error_in_files = e-system-errors.xml.in -error_DATA = $(error_in_files:.xml.in=.xml) +error_DATA = e-system-errors.xml +error_i18n = $(error_DATA:.xml=.xml.h) errordir = $(privdatadir)/errors -@INTLTOOL_XML_RULE@ +%.xml.h: %.xml + $(top_builddir)/e-util/e-error-tool $^ libemiscwidgets_la_LIBADD = $(top_builddir)/e-util/libeutil.la \ $(top_builddir)/a11y/widgets/libevolution-widgets-a11y.la \ @@ -176,11 +177,12 @@ test_error_LDADD = \ $(GNOME_FULL_LIBS) -BUILT_SOURCES = $(MARSHAL_GENERATED) $(error_DATA) +BUILT_SOURCES = $(MARSHAL_GENERATED) $(error_i18n) CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = \ - $(error_in_files) \ + $(error_DATA) \ + $(error_i18n) \ e-util-marshal.list \ ChangeLog.pre-1-4 -- cgit v1.2.3