URL: <http://savannah.gnu.org/bugs/?48872>
Summary: msgfmt.exe doesn't show format specification error in msgstr[0] Project: GNU gettext Submitted by: None Submitted on: Tue 23 Aug 2016 04:08:25 PM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I have following code in test.po file: ======================================================== #: test.py:8 #, python-brace-format msgid "[{selnum} of {maxnum} object selected]" msgid_plural "[{selnum} of {maxnum} objects selected]" msgstr[0] "[{selnum123} von {maxnum} Objekt selektiert]" msgstr[1] "[{selnus} von {maxnum} Objekten selektiert]" ======================================================== {selnum123} in msgstr[0] shows no format specification error from 'msgfmt.exe' if you run with option '--check'. The same problem, if: msgstr[0] "[{selnum} {selnum123} von {maxnum} Objekt selektiert]" If you use a wrong specification in msgstr[1] its raise an error properly. Also if you work without plural. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 23 Aug 2016 04:08:25 PM UTC Name: test.po Size: 681B By: None <http://savannah.gnu.org/bugs/download.php?file_id=38330> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48872> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/