On Tue, 2008-10-28 at 11:28 +1000, Magnus Boman wrote:
Hello,
I was spying on Fedoras GDM package and came across something interesting:
======== # strip unneeded translations from .mo files # ideally intltool (ha!) would do that for us # http://bugzilla.gnome.org/show_bug.cgi?id=474987 cd po grep -v ".*[.]desktop[.]in.*\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep mv POTFILES.keep POTFILES.in intltool-update --pot for p in *.po; do msgmerge $p %{name}.pot > $p.out msgfmt -o `basename $p .po`.gmo $p.out done ========
Looks interesting indeed, but it needs to be done via an RPM macro or not at all. Michael. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org