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


bug #27430: bad plural forms in po files

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

Add a New Comment Rich Markup

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)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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 CategoryNone translations
        Item GroupNone display
        StatusNone In Progress
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.13-c54d.
    Corresponding source code