'\r ' code

Hannie Dumoleyn lafeber-dumoleyn2 at zonnet.nl
Thu Mar 16 07:59:11 UTC 2017


Op 15-03-17 om 21:13 schreef Gunnar Hjalmarsson:
> On 2017-03-15 09:26, Hannie Dumoleyn wrote:
>> After merging ubuntu-help xenial and zesty, I got about 8 warnings
>> like this:
>>
>> ubuntu-help-xenial_nl_ubuntu-help-nl.po:1513: warning:
>> internationalized messages should not contain '\r'-codes
>>
>> I assume that \r means carriage returns, but I cannot find them in
>> Lokalize or gedit. I have uploaded the file anyway, hoping these \r
>> codes are no problem for the end result.
>
> Hannie,
>
> Did it complain about '\r' in any of the msgid strings? I just checked 
> the POT file, and couldn't find any `\r'.
Hi Gunnar,
This is what I got:
============================
~/merge$ msgmerge ubuntu-help-xenial_nl_ubuntu-help-nl.po 
ubuntu-help-zesty_nl_ubuntu-help-nl.po > 
ubuntu-help-zestymerged_nl_ubuntu-help-nl.po

ubuntu-help-xenial_nl_ubuntu-help-nl.po:1513: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:7141: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:9236: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:15204: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:16669: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:17043: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:17615: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
ubuntu-help-xenial_nl_ubuntu-help-nl.po:1513: waarschuwing: 
geïnternationaliseerde berichten horen geen '\r'-stuurcodes te bevatten
=========================
It looks like ubuntu-help-xenial is the culprit, not zesty (merged). 
That is why you do not find the \r code in the zesty pot file.
Regards,
Hannie





More information about the ubuntu-doc mailing list