summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.language/languages/sl.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/src/mediawiki.language/languages/sl.js')
-rw-r--r--resources/src/mediawiki.language/languages/sl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/src/mediawiki.language/languages/sl.js b/resources/src/mediawiki.language/languages/sl.js
index d20d0b34..3d8bdfde 100644
--- a/resources/src/mediawiki.language/languages/sl.js
+++ b/resources/src/mediawiki.language/languages/sl.js
@@ -4,8 +4,8 @@
mediaWiki.language.convertGrammar = function ( word, form ) {
var grammarForms = mediaWiki.language.getData( 'sl', 'grammarForms' );
- if ( grammarForms && grammarForms[form] ) {
- return grammarForms[form][word];
+ if ( grammarForms && grammarForms[ form ] ) {
+ return grammarForms[ form ][ word ];
}
switch ( form ) {
case 'mestnik': // locative