Re: [Vala] extract translatable strings from VALA files



في خ، 25-08-2011 عند 17:06 +0200 ، كتب Christoph Mende:
On Wed, 2011-08-24 at 22:52 +0200, rastersoft wrote:
Hi all:

I've been able to extract the translatable strings from VALA files using

    xgettext -o po/untitled.pot -L c# -k_ *.vala

Your shell stops interpreting right at the #, because it thinks you're
starting a comment. To actually pass the # put it in "".

No, it doesn't: try running 'echo c#' in a terminal ;-)

It starts a comment only if it is after a space (and maybe after other
things, I'm not sure). But you're right, it's better to quote a #
anyway.




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