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

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

Re: Glitch with msgmerge --previous and untranslated plural


From: Bruno Haible
Subject: Re: Glitch with msgmerge --previous and untranslated plural
Date: Tue, 5 Feb 2008 00:39:41 +0100
User-agent: KMail/1.5.4

Hello,

Chusslove Illich wrote in 
http://lists.gnu.org/archive/html/bug-gnu-utils/2008-02/msg00011.html:
> If the message in the PO is:
> 
>   #, c-format
>   msgid "One object"
>   msgid_plural "%n objects"
>   msgstr[0] ""
>   msgstr[1] ""
> 
> exactly like this, untranslated, and the POT changes to:
> 
>   #, kde-format
>   msgid "One object"
>   msgid_plural "%1 objects"
>   msgstr[0] ""
>   msgstr[1] ""
> 
> then after merging with --previous the PO contains:
> 
>   #, kde-format
>   #| msgid "One object"
>   #| msgid_plural "%n objects"
>   msgid "One object"
>   msgid_plural "%1 objects"
>   msgstr[0] ""
>   msgstr[1] ""

Thank you for reporting this. The next gettext release will avoid to emit
the #| lines in this case, when a message is untranslated - not fuzzy. Find
below the ChangeLog entry.

Bruno


2008-02-04  Bruno Haible  <address@hidden>

        * src/msgmerge.c (match_domain): Remove the prev_msgid fields also
        from the untranslated messages.
        * tests/msgmerge-23: New file.
        * tests/Makefile.am (TESTS): Add it.
        Reported by Yukiko Bando <address@hidden> via
        Chusslove Illich (Часлав Илић) <address@hidden>.






reply via email to

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