bugWeeChat - Bugs: bug #27430, bad plural forms in po files


bug #27430: bad plural forms in po files

Submitted by:  None
Submitted on:  Sun 13 Sep 2009 01:36:19 AM UTC  
Category:  translations Severity:  3 - Normal
Item Group:  display Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.3.0
IRC nick:  m4v

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 13 Sep 2009 07:14:32 PM UTC, comment #1: 

golemj, the patch miss to update the plural-form entry in cs.po
I'm submitting a patch for that.

And I made a mistake, the polish plural form was correct, scratch that in my last comment. sorry.

(file #18710)

Elián Hanisch <m4v>
Sun 13 Sep 2009 01:36:19 AM UTC, original submission:  

according to gettext's manual plural forms in Spanish, German, Hungarian, Czech, Polish and Russian are wrong

Spanish, German and Hungarian should use
Plural-Forms: nplurals=2; plural=n != 1;

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

Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;

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

I submitted a patch for fix the Spanish case, but since I don't speak any other of the above languages I submit this report for review by the translators/devs

gettext manual



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #18706:  diff_plurals_20090913.diff added by golemj (2KiB - application/octet-stream - fix cs.po plurals)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by m4v (Updated the item)
  • -email is unavailable- added by golemj (Updated the item)
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-23 flashcode Open/ClosedOpen => Closed
    2009-09-20 flashcode StatusIn Progress => Fixed
    2009-09-13 m4v Attached File- => Added plural-forms-entry-for-cs.patch, #18710
    2009-09-13 golemj Attached File- => Added diff_plurals_20090913.diff, #18706
    2009-09-13 flashcode StatusNone => In Progress
        CategoryNone => translations
        Item GroupNone => display
        Assigned toNone => flashcode

    Back to the top

    Powered by Savane 3.7