Adding default locative rule for Ukrainian
Prepending a default preposition to locative GRAMMAR forms in Ukrainian language Bug: T149550 Change-Id: I4649549dc3c722e53c7ea3accb6747df420e56f7
This commit is contained in:
parent
43b2322379
commit
1f44fd171a
2 changed files with 10 additions and 1 deletions
|
|
@ -3,7 +3,8 @@
|
|||
"authors": [
|
||||
"Gutsul",
|
||||
"Amir E. Aharoni (amir.aharoni@mail.huji.ac.il)",
|
||||
"Eugene Gvozdetsky (epgvozdet@gmail.com)"
|
||||
"Eugene Gvozdetsky (epgvozdet@gmail.com)",
|
||||
"Base"
|
||||
],
|
||||
"comment": "These rules don't cover the whole grammar of the language, and are intended only for names of languages and Wikimedia projects."
|
||||
},
|
||||
|
|
@ -16,6 +17,9 @@
|
|||
"accusative": [
|
||||
[ "(.+)ія$", "$1ію" ]
|
||||
],
|
||||
"locative": [
|
||||
[ "(.+)$", "у $1" ]
|
||||
],
|
||||
"languagegen": [
|
||||
[ "@metadata", [
|
||||
"comment", "мова в родовому відмінку: '(з) української'"
|
||||
|
|
|
|||
|
|
@ -104,6 +104,11 @@ class LanguageUkTest extends LanguageClassesTestCase {
|
|||
'Вікіпедія',
|
||||
'accusative',
|
||||
],
|
||||
[
|
||||
'у MediaWiki',
|
||||
'MediaWiki',
|
||||
'locative',
|
||||
]
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue