Index: branches/jsgrammar/tests/qunit/suites/resources/mediawiki/mediawiki.language.test.js |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | test: [], |
14 | 14 | }, options); |
15 | 15 | // The test works only if the content language is opt.language |
16 | | - // because it require [lang].js to be loaded. |
| 16 | + // because it requires [lang].js to be loaded. |
17 | 17 | if( mw.config.get ( 'wgContentLanguage' ) === opt.language ) { |
18 | 18 | test( "-- Grammar Test for "+ opt.language, function() { |
19 | 19 | expect( opt.test.length); |
— | — | @@ -37,7 +37,8 @@ |
38 | 38 | { word: "ויקיפדיה", grammarForm: 'prefixed', expected: "וויקיפדיה", description: 'Grammar test for Hebrew, Duplicate the "Waw" if prefixed' }, |
39 | 39 | { word: "וולפגנג", grammarForm: 'prefixed', expected: "וולפגנג", description: 'Grammar test for Hebrew, Duplicate the "Waw" if prefixed, but not if it is already duplicated.' }, |
40 | 40 | { word: "הקובץ", grammarForm: 'prefixed', expected: "קובץ", description: 'Grammar test for Hebrew, Remove the "He" if prefixed' }, |
41 | | - { word: 'wikipedia', grammarForm: 'תחילית', expected: '־wikipedia', description: 'Grammar test for Hebrew, Add a hyphen (maqaf) if non-Hebrew letters' } |
| 41 | + { word: 'Wikipedia', grammarForm: 'תחילית', expected: '־Wikipedia', description: 'Grammar test for Hebrew, Add a hyphen (maqaf) before non-Hebrew letters' } |
| 42 | + { word: '1995', grammarForm: 'תחילית', expected: '־1995', description: 'Grammar test for Hebrew, Add a hyphen (maqaf) before numbers' } |
42 | 43 | ] |
43 | 44 | }); |
44 | 45 | |
— | — | @@ -75,11 +76,11 @@ |
76 | 77 | mw.language.grammartest({ |
77 | 78 | language: 'ru', |
78 | 79 | test: [ |
79 | | - { word: 'честь', grammarForm: 'genitive', expected: 'честя', description: 'Grammar test for Russian, genitive case' }, |
80 | | - { word: 'проведения', grammarForm: 'genitive', expected: 'проведении', description: 'Grammar test for Russian, genitive case' }, |
81 | | - { word: 'Оснабрюка', grammarForm: 'genitive', expected: 'Оснабрюки', description: 'Grammar test for Russian, genitive case' }, |
82 | | - { word: 'почти', grammarForm: 'genitive', expected: 'почтей', description: 'Grammar test for Russian, genitive case' }, |
83 | | - { word: 'годы', grammarForm: 'genitive', expected: 'годов', description: 'Grammar test for Russian, genitive case' }, |
| 80 | + { word: 'тесть', grammarForm: 'genitive', expected: 'тестя', description: 'Grammar test for Russian, genitive case' }, |
| 81 | + { word: 'привилегия', grammarForm: 'genitive', expected: 'привилегии', description: 'Grammar test for Russian, genitive case' }, |
| 82 | + { word: 'установка', grammarForm: 'genitive', expected: 'установки', description: 'Grammar test for Russian, genitive case' }, |
| 83 | + { word: 'похоти', grammarForm: 'genitive', expected: 'похотей', description: 'Grammar test for Russian, genitive case' }, |
| 84 | + { word: 'доводы', grammarForm: 'genitive', expected: 'доводов', description: 'Grammar test for Russian, genitive case' }, |
84 | 85 | { word: 'песчаник', grammarForm: 'genitive', expected: 'песчаника', description: 'Grammar test for Russian, genitive case' } |
85 | 86 | ] |
86 | 87 | }); |