summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.language/languages/os.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/src/mediawiki.language/languages/os.js')
-rw-r--r--resources/src/mediawiki.language/languages/os.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/src/mediawiki.language/languages/os.js b/resources/src/mediawiki.language/languages/os.js
index 554e99d4..3e0f279d 100644
--- a/resources/src/mediawiki.language/languages/os.js
+++ b/resources/src/mediawiki.language/languages/os.js
@@ -14,8 +14,8 @@ mediaWiki.language.convertGrammar = function ( word, form ) {
// Variable for ending
ending = '';
- if ( grammarForms && grammarForms[form] ) {
- return grammarForms[form][word];
+ if ( grammarForms && grammarForms[ form ] ) {
+ return grammarForms[ form ][ word ];
}
// Checking if the $word is in plural form
if ( word.match( /тæ$/i ) ) {