summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.language/languages/hy.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/src/mediawiki.language/languages/hy.js')
-rw-r--r--resources/src/mediawiki.language/languages/hy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/src/mediawiki.language/languages/hy.js b/resources/src/mediawiki.language/languages/hy.js
index c4a1cf73..935d466d 100644
--- a/resources/src/mediawiki.language/languages/hy.js
+++ b/resources/src/mediawiki.language/languages/hy.js
@@ -5,8 +5,8 @@
mediaWiki.language.convertGrammar = function ( word, form ) {
/*jshint onecase:true */
var grammarForms = mediaWiki.language.getData( 'hy', 'grammarForms' );
- if ( grammarForms && grammarForms[form] ) {
- return grammarForms[form][word];
+ if ( grammarForms && grammarForms[ form ] ) {
+ return grammarForms[ form ][ word ];
}
// These rules are not perfect, but they are currently only used for site names so it doesn't