bugGNU gettext - Bugs: bug #60765, msgmerge seems not to use plural...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60765: msgmerge seems not to use plural forms from compendium

Submitter:  Eric Greveson <ericgreveson>
Submitted:  Thu 10 Jun 2021 12:42:54 PM UTC
   
 
Category:  Plural forms Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Thu 10 Jun 2021 12:42:54 PM UTC, original submission:  

I have come across behaviour that I think might be a bug in msgmerge (it's possible that I have misunderstood something or made a mistake elsewhere, but I've read the docs and tried the latest release of msgmerge, and I don't see anything obvious).

The issue is with plural forms in a compendium (supplied with -C flag to msgmerge) not being used to update empty translations in a target po-file. Repro case files attached. To reproduce, run the following command:
msgmerge --update repro.po repro.po -C comp.po

Expected behaviour: both strings in repro.po get updated with the translations in comp.po.

Observed behaviour: the (non-plural) translation for "Active filters" gets applied to repro.po successfully, but the plural translation "Since yesterday" remains blank (untranslated).

Please let me know if any more info is required; also, if this is a bug, but you think there is an easy workaround, that would be helpful to know as well.

Eric Greveson <ericgreveson>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #51536:  comp.po added by ericgreveson (416B - application/octet-stream - Repro case)
file #51537:  repro.po added by ericgreveson (361B - application/octet-stream - Repro case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ericgreveson (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-10 ericgreveson Attached File- Added comp.po, #51536
        Attached File- Added repro.po, #51537

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code