rfc: macros/gnome-gettext.m4 change (fwd)
- From: ERDI Gergo <cactus cactus rulez org>
- To: gnome-i18n-list gnome org, gnome-doc-list gnome org
- Subject: rfc: macros/gnome-gettext.m4 change (fwd)
- Date: Sun, 20 Jan 2002 16:43:07 +0100 (CET)
I'm told I'm having better chances of getting a reply on these lists. Of
course, the real problem is that 'macros' has no clear owner or maintainer
(the README is so old, it mentions Martin).
Please CC replies to cactus cactus rulez org
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus cactus rulez org =---'
I had my car's alignment checked. It's chaotic evil!
---------- Forwarded message ----------
Date: Sun, 20 Jan 2002 16:07:02 +0100 (CET)
From: ERDI Gergo <cactus cactus rulez org>
To: GNOME hackers <gnome-hackers gnome org>
Subject: rfc: macros/gnome-gettext.m4 change (fwd)
I'm going to be persistent on this issue.
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus cactus rulez org =---'
Would you like a Yes/No prompt? [y/N]?
---------- Forwarded message ----------
Date: Sun, 13 Jan 2002 14:03:47 +0100 (CET)
From: ERDI Gergo <cactus cactus rulez org>
To: GNOME hackers <gnome-hackers gnome org>
Subject: rfc: macros/gnome-gettext.m4 change
Hi,
If you use xml-i18n-tools/intltools to mark files to translation that are
not registered in x-i18n-t itself, you have to include their type in
POTFILES.in, e.g.:
[type: gettext/xml] target-defs/palm.guikachu-target.in
this is translated to
../[type: gettext/xml] target-defs/palm.guikachu-target.in \
in POTFILES. This, of course, leads to po/Makefile barfing. You can hack
around this by removing the [] part yourself in the configure script, but
we could automate this by allowing me to check in a change to
gnome-gettext.m4 that changed the POTFILES-generating line (at the end of
the m4 file):
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES
to
dnl Create POTFILES from POTFILES.in by including the full
dnl relative path of each source file and removing inltools
dnl markup
changequote(,)
sed -e "/^#/d" -e "/^\$/d" \
-e "s,.*, $posrcprefix& \\\\," \
-e "\$s/\(.*\) \\\\/\1/" \
-e "s/\[.*\] *//" \
< $srcdir/po/POTFILES.in > po/POTFILES
changequote([,])
As x-i18n-t gets more widespread, more and more independent projects will
want to use it for their own, unknown-to-x-i18n-t XML files, so I think
this change is worthwile to go in CVS.
Can I commit?
Cactus
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus cactus rulez org =---'
I'm a cross compiler: at weekends I dress up as Pascal...
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]