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-02-14 16:19:51 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-02-14 16:33:07 +0300
commitf1eeef458bc5177db98d840d75f24e77e0dd4938 (patch)
tree5845098d211c378d48cf61b106de482cc553854d /indexer/categories_holder.hpp
parent1c7b0ae8d7e324a6f14a7840aabad261a2a577f5 (diff)
Use en category name if there is no translation for current locale language.
Diffstat (limited to 'indexer/categories_holder.hpp')
-rw-r--r--indexer/categories_holder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/categories_holder.hpp b/indexer/categories_holder.hpp
index ba40e43460..84800bf9b0 100644
--- a/indexer/categories_holder.hpp
+++ b/indexer/categories_holder.hpp
@@ -118,7 +118,7 @@ public:
inline GroupTranslations const & GetGroupTranslations() const { return m_groupTranslations; }
/// Search name for type with preffered locale language.
- /// If no name for this language, return first (en) name.
+ /// If no name for this language, return en name.
/// @return false if no categories for type.
bool GetNameByType(uint32_t type, int8_t locale, string & name) const;