bug-gnu-utils
[Top][All Lists]
Advanced

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

php concatenation unknown to xgettext


From: Jan Engelhardt
Subject: php concatenation unknown to xgettext
Date: Wed, 4 Jul 2007 23:34:28 +0200 (CEST)

Hello,


the following minimal php source is not correctly parsed by xgettext:

        <?php
        _("foo"."bar");
        ?>

ran through `xgettext -o /dev/stdout test.php` gives:

        msgid "foo"
        msgstr ""

expected result:

        msgid "foobar"
        msgstr ""

The dot is the concatenation operator and is very handy when dealing 
with longer strings (esp when they take up more than 80 columns).


$ xgettext --version
xgettext (GNU gettext-tools) 0.15



Thanks,
        Jan
-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]