bug-gettext
[Top][All Lists]
Advanced

[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
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=805b7597fe5d59c38584fe670d6daa1484ddbfee

> 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:

  <https://savannah.gnu.org/bugs/?62677>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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