[Po4a-devel] CDATA end sequence added to msgid

Denis Barbier bouzim at gmail.com
Tue Oct 19 12:48:21 UTC 2010


On 2010/10/19 Renato Botelho:
> On Tue, Oct 19, 2010 at 10:26 AM, Denis Barbier <bouzim at gmail.com> wrote:
>> On 2010/10/19 Renato Botelho wrote:
>>> On Tue, Oct 19, 2010 at 10:07 AM, Denis Barbier <bouzim at gmail.com> wrote:
>>>> On 2010/10/19 Renato Botelho wrote:
>>>>> Hello guys,
>>>>>
>>>>> First, i would like to congrats developers for this fantastic
>>>>> tool.
>>>>>
>>>>> I've started using po4a few weeks ago, and yesterday i had
>>>>> this problem. After generate a .po file with po4a-gettextize
>>>>> I realized it added the CDATA end sequence ']]' to msgid.
>>>>>
>>>>> Is it an expected behaviour?
>>>>
>>>> Hello Renato,
>>>>
>>>> I agree that this behaviour has to be fixed.
>>>> Here is a patch.
>>>
>>> I tried this change before open ticket, it has a problem
>>> because it understand the line that just contain a string
>>> like this:
>>>
>>>          ]]>
>>>
>>> as a new msgid.
>>
>> I cannot reproduce it here, can you please provide a very simple test case?
>
> I really sorry for the noise. My eyes just made a trick with me and i
> look the diff wrong.
>
> The patch worked perfectly. I'll apply thins on FreeBSD ports.
>
> Thank you for quick response.

Great, I'll apply this fix and add a test case.
Thanks for your report.

Denis



More information about the Po4a-devel mailing list