Bug 318311

Summary: pirut cs.po breaks pirut, pup, and puplet under cs_CZ.UTF-8 locale
Product: [Fedora] Fedora Localization Reporter: Matěj Cepl <mcepl>
Component: Other languageAssignee: Matěj Cepl <mcepl>
Status: CLOSED CURRENTRELEASE QA Contact: A S Alam <aalam>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: covex, mcepl, mshao, trans
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 26.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-26 14:19:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch against cs.po none

Description Matěj Cepl 2007-10-04 14:49:45 UTC
Description of problem:
When starting any of {pup,puplet,pirut} it breaks with the error indicating
broken Plural-Forms. Which is correct, because apparently the string got broken
somehow and it reads

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

When fixing to the form prescribed for the Czech language in gettext(info):

"Plural-Forms: nplurals=3;" 
" plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"

everything works fine. Patch is attached.

Comment 1 Matěj Cepl 2007-10-04 14:49:45 UTC
Created attachment 215881 [details]
Patch against cs.po

Comment 2 Matěj Cepl 2007-10-04 22:22:37 UTC
It is probably fixed in Rawhide pirut.

Comment 3 Adam Pribyl 2007-10-05 09:17:34 UTC
Yes, M. Trmac probably fixed this 26.9.

Comment 4 Adam Pribyl 2007-10-06 17:54:24 UTC
Please close the bug - the problem is fixed in rawhide, or does it need any
further attention?

Comment 5 Matěj Cepl 2007-10-07 20:22:39 UTC
I am not sure how does it work with Localization stuff, but does pirut
maintainer knows about this, and could he please put this into next update for
Fedora 7. It really sucks that currently pirut doesn't work at all on F7 with
the Czech locale.

Comment 6 Adam Pribyl 2007-10-08 14:11:54 UTC
I was not aware of that this also affects F7, I thought its only F8 problem. We
should report a bug against pirut then.

Comment 7 Matěj Cepl 2007-10-23 12:06:58 UTC
(In reply to comment #6)
> I was not aware of that this also affects F7, I thought its only F8 problem. We
> should report a bug against pirut then.

Did it happen or should I file the bug?

Comment 8 Adam Pribyl 2007-10-23 14:21:19 UTC
I have F7 installed and I do not see this problem to occure. Are you
experiencing this problem? If yes then please report it.

Comment 9 Matěj Cepl 2007-10-23 15:29:43 UTC
OK, then close the bug. Unfortunately I don't have any F7 system anymore (which
is shame, I should have).

Comment 10 Dimitris Glezos 2008-01-26 14:19:29 UTC
From what I understand this is now fixed. If F7 pirut needs an update, a bug
report should be opened against it.

Closing bug report.