bug-gettext
[Top][All Lists]
Advanced

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

[bug #48747] Multiline invocation of *gettext has confusing translation


From: Bruno Haible
Subject: [bug #48747] Multiline invocation of *gettext has confusing translation comments syntax
Date: Sat, 21 Sep 2024 10:35:02 -0400 (EDT)

Follow-up Comment #3, bug #48747 (group gettext):

With this input:

<?php
// L10N: Comment 1
gettext(
    // L10N: Comment 2
    'Some text'
);
?>


only the Comment 2 is extracted.

Whereas with this input:

<?php
// L10N: Comment 1
gettext(// L10N: Comment 2
        'Some text'
);
?>


both comments are extracted.

I think it is reasonable and can be inferred from the term "immediately
precede".


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?48747>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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