[Top][All Lists]

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

[bug #62677] Uniqueness of source identifier not clear

From: Bruno Haible
Subject: [bug #62677] Uniqueness of source identifier not clear
Date: Sun, 3 Jul 2022 05:22:58 -0400 (EDT)

Update of bug #62677 (project gettext):

                  Status:                    None => Fixed                  
             Assigned to:                    None => haible                 
             Open/Closed:                    Open => Closed                 
                 Summary: Uniquness of source identifier not clear =>
Uniqueness of source identifier not clear


Follow-up Comment #1:

Thanks for the report. It's now fixed through

> Unfortunately for Drupal this does not match our implemented understanding
of the .po format, where we understood that the msgid_plural part of a
singular/plural definition is not ignored for uniqueness but rather considered
part of the source identifier (its name is msgid_... after all).

I agree that this was an unfortunate misunderstanding.

> So why are gettext tools consider the msgid as a standalone identifier
regardless of the msgid_plural alongside it then?

I guess the answer is simplicity: the msgid is the lookup key for the entry.
It would have been possible to use the pair (msgid, msgid_plural), but that
would have been more complex.


Reply to this item at:


Message sent via Savannah

reply via email to

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