Index: trunk/phase3/resources/mediawiki.language/languages/lt.js |
— | — | @@ -3,15 +3,12 @@ |
4 | 4 | */ |
5 | 5 | |
6 | 6 | mediaWiki.language.convertPlural = function( count, forms ) { |
7 | | - if ( forms.length == 2 ) { |
8 | | - return count == 1 ? forms[0] : forms[1]; |
9 | | - } |
10 | 7 | forms = mediaWiki.language.preConvertPlural( forms, 3 ); |
11 | 8 | if ( count % 10 == 1 && count % 100 != 11 ) { |
12 | 9 | return forms[0]; |
13 | 10 | } |
14 | 11 | if ( count % 10 >= 2 && ( count % 100 < 10 || count % 100 >= 20 ) ) { |
15 | | - return forms[1]; |
| 12 | + return forms[1]; |
16 | 13 | } |
17 | 14 | return forms[2]; |
18 | 15 | }; |