Index: branches/jsgrammar/resources/mediawiki.language/mediawiki.language.js |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | } |
47 | 47 | // Restore the count into a Number ( if it got converted earlier ) |
48 | 48 | var count = mw.language.convertNumber( template.title, true ); |
49 | | - // Do convertPlural call |
| 49 | + // Do convertPlural call |
50 | 50 | return mw.language.convertPlural( parseInt( count, 10 ), template.parameters ); |
51 | 51 | } |
52 | 52 | // Could not process plural return first form or nothing |
— | — | @@ -118,7 +118,7 @@ |
119 | 119 | * Provides an alternative text depending on specified gender. |
120 | 120 | * Usage {{gender:[gender|user object]|masculine|feminine|neutral}}. |
121 | 121 | * If second or third parameter are not specified, masculine is used. |
122 | | - * |
| 122 | + * |
123 | 123 | * These details may be overriden per language. |
124 | 124 | * |
125 | 125 | * @param gender string male, female, or anything else for neutral. |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | /** |
144 | 144 | * Grammatical transformations, needed for inflected languages. |
145 | 145 | * Invoked by putting {{grammar:form|word}} in a message |
146 | | - * The rules can be defined in wgGrammarForms global or grammar |
| 146 | + * The rules can be defined in wgGrammarForms global or grammar |
147 | 147 | * forms can be dynamically calculated by overriding this per language |
148 | 148 | * |
149 | 149 | * @param word string |
— | — | @@ -152,7 +152,7 @@ |
153 | 153 | convertGrammar: function( word, form ) { |
154 | 154 | var grammarForms = mw.language.data[mw.config.get( 'wgContentLanguage' )].get( 'grammarForms' ); |
155 | 155 | if ( grammarForms && grammarForms[form] ) { |
156 | | - return grammarForms[form][word] || word ; |
| 156 | + return grammarForms[form][word] || word; |
157 | 157 | } |
158 | 158 | return word; |
159 | 159 | }, |