bugGNU gettext - Bugs: bug #51547, PO mode does not properly count...


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

bug #51547: PO mode does not properly count untranslated messages

Submitted by:  Lele Gaifax <lele>
Submitted on:  Sun 23 Jul 2017 12:33:48 PM UTC  
Category:  PO mode Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sun 23 Jul 2017 12:33:48 PM UTC, original submission:

When a catalog contains a plural form untranslated message, it fails to recognize it in `po-compute-counters`, and although it correctly sees it when doing `po-next-untranslated-entry`, the information in the mode-line is wrong.

I think it's due to the `po-untranslated-regexp` that is matched while the point is on the first "msgstr[0]" line.

See the attached file for a made-up example.

Lele Gaifax <lele>


Attached Files
file #44704:  gettext.diff added by lele (953B - text/x-patch - The attached diff fixed the issue for me: feel free to suggest a better way to submit it.)
file #41299:  sample.po added by lele (621B - text/x-gettext-translation)


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-04 lele Attached File- => Added gettext.diff, #44704
    2017-07-23 lele Attached File- => Added sample.po, #41299

    Back to the top

    Powered by Savane 3.4