diff options
author | Maxim Pimenov <m@maps.me> | 2017-11-10 16:31:01 +0300 |
---|---|---|
committer | Ilya Zverev <ilya@zverev.info> | 2017-11-10 17:51:00 +0300 |
commit | a9759ebf1b868b97f909dbb65d64395fa281fa67 (patch) | |
tree | 446d287084bdb49b5dc8996c3ded2446b486332d /indexer | |
parent | 0a8877c276055d0e6f9eba05b0ecb8935ce376af (diff) |
[indexer] [search] Enabled the Persian language for categories.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/categories_holder.cpp | 3 | ||||
-rw-r--r-- | indexer/categories_holder.hpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/indexer/categories_holder.cpp b/indexer/categories_holder.cpp index 2f7baf0c43..e843b766ff 100644 --- a/indexer/categories_holder.cpp +++ b/indexer/categories_holder.cpp @@ -179,7 +179,8 @@ vector<CategoriesHolder::Mapping> const CategoriesHolder::kLocaleMapping = {{"en {"fi", 27}, {"el", 28}, {"he", 29}, - {"sw", 30}}; + {"sw", 30}, + {"fa", 31}}; vector<string> CategoriesHolder::kDisabledLanguages = {"el", "he", "sw"}; CategoriesHolder::CategoriesHolder(unique_ptr<Reader> && reader) diff --git a/indexer/categories_holder.hpp b/indexer/categories_holder.hpp index 40f34bc597..4240e64f6e 100644 --- a/indexer/categories_holder.hpp +++ b/indexer/categories_holder.hpp @@ -65,7 +65,7 @@ private: public: static int8_t constexpr kEnglishCode = 1; static int8_t constexpr kUnsupportedLocaleCode = -1; - static uint8_t constexpr kMaxSupportedLocaleIndex = 30; + static uint8_t constexpr kMaxSupportedLocaleIndex = 31; static vector<Mapping> const kLocaleMapping; // List of languages that are currently disabled in the application |