bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] msgmerge --diff-to-previous (feature request)


From: Alexander Potashev
Subject: Re: [bug-gettext] msgmerge --diff-to-previous (feature request)
Date: Sun, 30 Oct 2011 23:02:30 +0400

2011/10/30 Ineiev <address@hidden>:
> On 10/30/2011 05:19 PM, Alexander Potashev wrote:
>> What I have checked with the above msgid_diff/msgid_plural_diff lines:
>> 1. Lokalize (not sure about the version, must be around KDE SC 4.7.*)
>> with its own parser.
>> It thinks of concatenated msgid_diff+msgid_plural_diff as of plain "#|
>> msgid" and "#| msg_plurals". In your case it thinks that the previous
>> original text for the message was "(diff to previous msgid) (diff to
>> previous msgid_plural)" for both singular (msgid) and plural
>> (msgid_plural) forms.
>
> Probably all programs would be happy if msgmerge used something like "# |"
> for diffs, but such lines would accumulate on every subsequent merging.

Do you mean "# |" with a space in between? That would work as
translators' comments ("human" comments), so that you'll break human
comments.

>> «#* msgid "(diff to previous msgid)"» gets accepted silently by
>> Lokalize and even by libgettextpo-0.18.1.1.
>
> Do they add it to human comments?

Lokalize doesn't add "#* msgid" into translators' ("human") comments,
it most likely just ignores all "#* ..." lines. Don't know about
libgettextpo (should I check it?)


-- 
Alexander Potashev



reply via email to

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