[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xgettext missed strings with perl ?:
From: |
Karl Berry |
Subject: |
Re: xgettext missed strings with perl ?: |
Date: |
Mon, 14 Jun 2010 21:59:27 GMT |
I see, thanks for the explanation.
<http://www.gnu.org/software/gettext/manual/html_node/General-Problems.html>
The end of that node seems to suggest, as one alternative,
$x = somefunc() ? 1 : 0;
But that is what I'm doing in:
my $inf = foo() ? gettext("aaa") : 0;
.. isn't it?
I did see that
my $inf = (foo()) ? gettext("aaa") : 0;
works (marks "aaa" translatable).
If it's intentional that the outer parentheses are now required,
I suggest explicitly saying this in the doc.
Thanks,
Karl