Skip to content

Commit 765aaf7

Browse files
yuryleb1ec5
authored andcommitted
Russian grammar update with missing 'chord' status street name (#245)
* Missing Moscow 'chord' status street name * Change log update
1 parent 827cd43 commit 765aaf7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. For change
66
- Added a Finnish localization. [#239](https://github.com/Project-OSRM/osrm-text-instructions/pull/239)
77
- Added a Korean localization. [#243](https://github.com/Project-OSRM/osrm-text-instructions/pull/243)
88
- Updated translations in Simplified Chinese. [#233](https://github.com/Project-OSRM/osrm-text-instructions/pull/233)
9+
- Updated Russian grammar with 'chord' status street name. [#245](https://github.com/Project-OSRM/osrm-text-instructions/pull/245)
910
- Added Russian church names abbreviations. [#237](https://github.com/Project-OSRM/osrm-text-instructions/pull/237)
1011

1112
## 0.13.0 2018-04-11

languages/grammar/ru.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
["^ [Дд]орожка ", " дорожку "],
8989

9090
["^ (\\S+)ая [Кк]оса ", " $1ую косу "],
91+
["^ (\\S+)ая [Хх]орда ", " $1ую хорду "],
9192

9293
["^ [Дд]убл[её]р ", " дублёр "]
9394
],
@@ -177,6 +178,7 @@
177178

178179
["^ (\\S+)во [Пп]оле ", " $1ву полю "],
179180
["^ (\\S+)ая [Кк]оса ", " $1ой косе "],
181+
["^ (\\S+)ая [Хх]орда ", " $1ой хорде "],
180182
["^ (\\S+)[иоы]й [Пп]роток ", " $1ому протоку "],
181183

182184
["^ (\\S+н)ий [Бб]ульвар ", " $1ему бульвару "],
@@ -478,6 +480,7 @@
478480

479481
["^ (\\S+)во [Пп]оле ", " $1ва поля "],
480482
["^ (\\S+)ая [Кк]оса ", " $1ой косы "],
483+
["^ (\\S+)ая [Хх]орда ", " $1ой хорды "],
481484
["^ (\\S+)[иоы]й [Пп]роток ", " $1ого протока "],
482485

483486
["^ (\\S+н)ий [Бб]ульвар ", " $1его бульвара "],
@@ -778,6 +781,7 @@
778781

779782
["^ (\\S+)во [Пп]оле ", " $1вом поле "],
780783
["^ (\\S+)ая [Кк]оса ", " $1ой косе "],
784+
["^ (\\S+)ая [Хх]орда ", " $1ой хорде "],
781785
["^ (\\S+)[иоы]й [Пп]роток ", " $1ом протоке "],
782786

783787
["^ (\\S+н)ий [Бб]ульвар ", " $1ем бульваре "],

test/grammar_test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ const grammarTests = {
6969
['Шаморовская трасса', 'dative', 'Шаморовской трассе'],
7070
['Шаморовская трасса', 'genitive', 'Шаморовской трассы'],
7171
['Шаморовская трасса', 'prepositional', 'Шаморовской трассе'],
72+
['Северо-восточная хорда', 'accusative', 'Северо-восточную хорду'],
73+
['Северо-восточная хорда', 'dative', 'Северо-восточной хорде'],
74+
['Северо-восточная хорда', 'genitive', 'Северо-восточной хорды'],
75+
['Северо-восточная хорда', 'prepositional', 'Северо-восточной хорде'],
7276
['Самотёчная эстакада', 'accusative', 'Самотёчную эстакаду'],
7377
['Самотёчная эстакада', 'dative', 'Самотёчной эстакаде'],
7478
['Самотёчная эстакада', 'genitive', 'Самотёчной эстакады'],

0 commit comments

Comments
 (0)