Index: branches/jsgrammar/tests/qunit/suites/resources/mediawiki/mediawiki.jqueryMsg.test.js |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | expect( 5 ); |
48 | 48 | var parser = mw.jqueryMsg.getMessageFunction(); |
49 | 49 | ok( parser, 'Parser Function initialized' ); |
50 | | - // Hope the grammar form rammar_case_foo is not valid in any language |
| 50 | + // Hope the grammar form grammar_case_foo is not valid in any language |
51 | 51 | ok( mw.messages.set( 'grammar-msg', 'Przeszukaj {{GRAMMAR:grammar_case_foo|{{SITENAME}}}}' ), 'mw.messages.set: Register' ); |
52 | 52 | equal( parser( 'grammar-msg' ) , 'Przeszukaj ' + mw.config.get( 'wgSiteName' ) , 'Grammar Test with sitename' ); |
53 | 53 | ok( mw.messages.set( 'grammar-msg-wrong-syntax', 'Przeszukaj {{GRAMMAR:grammar_case_xyz}}' ), 'mw.messages.set: Register' ); |
Index: branches/jsgrammar/resources/mediawiki/mediawiki.jqueryMsg.js |
— | — | @@ -672,7 +672,7 @@ |
673 | 673 | grammar: function( nodes ) { |
674 | 674 | var form = nodes[0]; |
675 | 675 | var word = nodes[1]; |
676 | | - return word && form && this.language.convertGrammar( word, form ); |
| 676 | + return word && form && this.language.convertGrammar( word, form ); |
677 | 677 | } |
678 | 678 | }; |
679 | 679 | |