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:
authorArsentiy Milchakov <milcars@mapswithme.com>2017-04-25 18:50:16 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-05-19 14:38:33 +0300
commite0dd57c50e6f4995bd1e9faccd9e86aeade64d72 (patch)
tree5dad70ab9b4d47ff8c6fa6d474055a24013bb03a /indexer/feature_utils.hpp
parent865e7f38c869ae2b562161137c9695e79868e6e5 (diff)
extended languages for device language
Diffstat (limited to 'indexer/feature_utils.hpp')
-rw-r--r--indexer/feature_utils.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/indexer/feature_utils.hpp b/indexer/feature_utils.hpp
index 7b91c797d9..fca3da00bc 100644
--- a/indexer/feature_utils.hpp
+++ b/indexer/feature_utils.hpp
@@ -16,7 +16,7 @@ namespace feature
int GetFeatureViewportScale(TypesHolder const & types);
/// Primary name using priority:
- /// - device language name;
+ /// - device language name (or extended device languages if provided);
/// - international name;
/// - english name;
/// - transliterated name (if allowed).
@@ -30,15 +30,17 @@ namespace feature
void GetPreferredNames(RegionData const & regionData, StringUtf8Multilang const & src,
int8_t const deviceLang, bool allowTranslit, string & primary, string & secondary);
- /// When MWM contains user's language, the priority is the following:
- /// - device language name;
+ /// When MWM contains user's language (or extended device languages if provided),
+ /// the priority is the following:
+ /// - device language name (or extended device languages if provided);
/// - default name;
/// - international name;
/// - english name;
/// - transliterated name (if allowed);
/// - country language name.
- /// When MWM does not contain user's language, the priority is the following:
- /// - device language name;
+ /// When MWM does not contain user's language (or extended device languages),
+ /// the priority is the following:
+ /// - device language name (or extended device languages if provided);
/// - international name;
/// - english name;
/// - transliterated name (if allowed);