Bug 318311 - pirut cs.po breaks pirut, pup, and puplet under cs_CZ.UTF-8 locale
Summary: pirut cs.po breaks pirut, pup, and puplet under cs_CZ.UTF-8 locale
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora Localization
Classification: Fedora
Component: Other language
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matěj Cepl
QA Contact: A S Alam
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-04 14:49 UTC by Matěj Cepl
Modified: 2018-04-11 18:32 UTC (History)
4 users (show)

Fixed In Version: 26.9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-26 14:19:29 UTC
Embargoed:


Attachments (Terms of Use)
Patch against cs.po (574 bytes, patch)
2007-10-04 14:49 UTC, Matěj Cepl
no flags Details | Diff

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.


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