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: translationsSeverity: 3 - Normal
Item Group: displayStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 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;

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

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

Russian
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
http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html#Plural-forms

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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
  • -unavailable- added by m4v (Updated the item)
  • -unavailable- added by golemj (Updated the item)
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Jan 2010 09:58:41 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sun 20 Sep 2009 12:22:00 PM UTCflashcodeStatusIn Progress=>Fixed
    Sun 13 Sep 2009 07:14:32 PM UTCm4vAttached File-=>Added plural-forms-entry-for-cs.patch, #18710
    Sun 13 Sep 2009 09:29:37 AM UTCgolemjAttached File-=>Added diff_plurals_20090913.diff, #18706
    Sun 13 Sep 2009 07:33:01 AM UTCflashcodeStatusNone=>In Progress
      CategoryNone=>translations
      Item GroupNone=>display
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1