glib-gettextize patch to handle Intltool [] tags



Hi,

The attached patch contains support for the Intltool tags that are used in
POTFILES.in. The Makefile.in.in installed by glib-gettextize is changed to
remove [.*] entries.

Please approve the attached patch.

	Cactus

-- 
   .--= ULLA! =----------------------.   `We are not here to give users what
   \    http://cactus.rulez.org       \   they want'  -- RMS, at GUADEC 2001
    `-----= cactus cactus rulez org =--'
Az "ígéret" szép szó, de a "dnyepropetrovszk" még szebb.
? glib-gettextize-intltool-tag.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/glib/po/ChangeLog,v
retrieving revision 1.70
diff -u -u -r1.70 ChangeLog
--- ChangeLog	2002/01/21 00:29:11	1.70
+++ ChangeLog	2002/01/23 17:55:18
@@ -1,3 +1,8 @@
+2002-01-23  ERDI Gergo  <cactus cactus rulez org>
+
+	* Makefile.in.in (POTFILES): Remove inlttool [] tags from
+	POTFILE.in
+
 2002-01-21  Zbigniew Chyla  <cyba gnome pl>
 
 	* pl.po: Updated Polish translation by
Index: Makefile.in.in
===================================================================
RCS file: /cvs/gnome/glib/po/Makefile.in.in,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile.in.in
--- Makefile.in.in	2001/10/28 16:34:24	1.6
+++ Makefile.in.in	2002/01/23 17:55:19
@@ -241,8 +241,9 @@
 	    posrcprefix="../"; \
 	  fi; \
 	  rm -f $ -t $@ \
-	    && (sed -e '/^#/d' -e '/^[ 	]*$$/d' \
-		    -e "s  *@	$$posrcprefix& \\\\@" < $(srcdir)/$  in \
+	    && (sed -e "s/\[.*\] +//" 					\
+		    -e '/^#/d' -e '/^[ 	]*$$/d' 			\
+		    -e "s  *@	$$posrcprefix& \\\\@" < $(srcdir)/$  in	\
 		| sed -e '$$s/\\$$//') > $ -t \
 	    && chmod a-w $ -t \
 	    && mv $ -t $@ )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]