Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-03-28 15:16:47 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-03-30 14:54:36 +0300
commit8c3d4f78c7df9ae3fcb0fa912f9ea18803dd7e40 (patch)
treebb1016f27e80664676e8f11db6d06db8972e1e2b /indexer/feature.cpp
parent2d5a2fd236c095bc1053a12fa4f4862e4b3693a6 (diff)
Corrected priority of transliteration.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r--indexer/feature.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp
index d5d35dec64..0c1b23d506 100644
--- a/indexer/feature.cpp
+++ b/indexer/feature.cpp
@@ -503,7 +503,8 @@ void FeatureType::GetPreferredNames(string & primary, string & secondary) const
ParseCommon();
auto const deviceLang = StringUtf8Multilang::GetLangIndex(languages::GetCurrentNorm());
- ::GetPreferredNames(mwmInfo->GetRegionData(), GetNames(), deviceLang, primary, secondary);
+ ::GetPreferredNames(mwmInfo->GetRegionData(), GetNames(), deviceLang, true /* allowTranslit */,
+ primary, secondary);
}
void FeatureType::GetReadableName(string & name) const
@@ -518,7 +519,7 @@ void FeatureType::GetReadableName(string & name) const
ParseCommon();
auto const deviceLang = StringUtf8Multilang::GetLangIndex(languages::GetCurrentNorm());
- ::GetReadableName(mwmInfo->GetRegionData(), GetNames(), deviceLang, name);
+ ::GetReadableName(mwmInfo->GetRegionData(), GetNames(), deviceLang, true /* allowTranslit */, name);
}
string FeatureType::GetHouseNumber() const