Hi,
On Wed, Aug 24, 2011 at 10:52:44PM +0200, rastersoft wrote:
> I've been able to extract the translatable strings from VALA files using
>
> xgettext -o po/untitled.pot -L c# -k_ *.vala
>
> Unfortunately, when I want to use intltool-update with a POTFILES.in
> file (setting before each VALA file the string [type: gettext/c#] to
> mark them as C# files) it doesn't work fine because I can't specify
> the "-k_" parameter, in order to make intltool-update to search for
> _("blah") instead of xgettext("blah").
>
> Does someone know how to extract the strings, then?It works fine without specifying the type. Try xgettext without the "-L c#" option (there might be some warnings), and try to remove "[type: …]" in the POTFILES.in. Regards, Sébastien
pgpdo79kC1d8u.pgp
Description: PGP signature
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
