osrm-text-instructions.swift
osrm-text-instructions.swift copied to clipboard
Apply grammar rules to token replacement values
Upgraded to osrm-text-instructions v0.9.0. The only substantive change is that Russian grammar rules are now applied to a token replacement value before modification by the client and insertion into the overall instruction string.
The sole unit test for this feature doesn’t run by default: it only runs when the environment is in Russian, since that’s the only language for which grammar rules have been supplied so far.
Fixes #48.
/cc @bsudekum @frederoni @yuryleb