Bug 1568999

Summary: ValueError: plural forms expression could be dangerous
Product: [Fedora] Fedora Reporter: Nerijus Baliūnas <nerijus>
Component: newtAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: mlichvar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: newt-0.52.21-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-27 13:36:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nerijus Baliūnas 2018-04-18 13:37:42 UTC
Please see bug 1334960 and bug 1364114.

There is a typo in newt/po/lt.po (Lithuanian translation):

"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 or n%100>=20) 

should be ("or" is considered to be an identifier by gettext):

"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20)

Please fix Plural-Forms headers (s/or/||/).

Comment 1 Miroslav Lichvar 2018-04-18 13:49:00 UTC
Should be fixed in upstream git now. Thanks!

Comment 2 Nerijus Baliūnas 2019-05-02 20:38:01 UTC
Unfortunately it is still not fixed in newt-0.52.20-14.fc30.

Comment 3 Miroslav Lichvar 2019-05-27 13:36:21 UTC
The new upstream release is now in Fedora.