Re: glib-gettextize patch to handle Intltool [] tags



ERDI Gergo <cactus cactus rulez org> writes:

> 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.

 A) Can you point me to the part of the intltool docs explaining these
    tags? I'm curious as to the format, and couldn't find them in
    a quick look in the docs or the intltool code.

 B) The patch will need an explanatory comment.

Regards,
                                        Owen

> 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]