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:
authorAlex Zolotarev <alex@maps.me>2015-10-19 06:57:45 +0300
committerAlex Zolotarev <alex@maps.me>2015-10-22 10:09:18 +0300
commit2fa5ed29f1250346f9adc3efa6be8e94d44980b0 (patch)
treef41587dd5f66f16b6ce851518e236a1f2d472740 /indexer/categories_holder.cpp
parent6b1d28eda86c9a14416a24de41947ddc9b8dd657 (diff)
Minor improvements & comments.
Diffstat (limited to 'indexer/categories_holder.cpp')
-rw-r--r--indexer/categories_holder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/categories_holder.cpp b/indexer/categories_holder.cpp
index d07dea2c36..f2f4819331 100644
--- a/indexer/categories_holder.cpp
+++ b/indexer/categories_holder.cpp
@@ -212,6 +212,8 @@ int8_t CategoriesHolder::MapLocaleToInteger(string const & locale)
char const * m_name;
int8_t m_code;
};
+ // TODO(AlexZ): These constants should be updated when adding new
+ // translation into categories.txt
static const Mapping mapping[] = {
{"en", 1 },
{"ru", 2 },