WordPress.org

GlotPress

Changeset 493


Ignore:
Timestamp:
06/02/10 21:27:48 (4 years ago)
Author:
nbachiyski
Message:

e the correct Serbian plural. Fixes #89, props dimadin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gp-includes/locales.php

    r492 r493  
    11431143        $sr->slug = 'sr'; 
    11441144        $sr->google_code = 'sr'; 
    1145         $sr->nplurals = 4; 
    1146         $sr->plural_expression = 'n==1? 3 : n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2'; 
     1145        $sr->nplurals = 3; 
     1146        $sr->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 or n%100>=20) ? 1 : 2)'; 
    11471147 
    11481148        $su = new GP_Locale(); 
Note: See TracChangeset for help on using the changeset viewer.