Bug 1569009 - ValueError: plural forms expression could be dangerous
Summary: ValueError: plural forms expression could be dangerous
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-viewer
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-18 13:44 UTC by Nerijus Baliūnas
Modified: 2019-03-21 13:43 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-03-21 13:43:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

There is a typo in virt-viewer/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 Daniel Berrangé 2019-03-21 13:43:56 UTC
Fixed upstream in 

commit cebaaa22ffae6b7548f9ed723e80c80573ad45f2
Author: Daniel P. Berrangé <berrange>
Date:   Thu Mar 7 13:41:39 2019 +0000

    po: fix syntax error in plural forms for lt language
    
    Signed-off-by: Daniel P. Berrangé <berrange>

So subsequent Fedora will get the fix.


Note You need to log in before you can comment on or make changes to this bug.