diff --git a/data/categories.txt b/data/categories.txt index da31eda62..f00f5310f 100644 --- a/data/categories.txt +++ b/data/categories.txt @@ -4886,7 +4886,7 @@ fi:Koirapuisto he:גינת כלבים ja:ドッグラン -leisure-dance|amenity-dancing_school|@category_entertainment +leisure-dance|@category_entertainment en:4Dance|Dancing school leisure-garden diff --git a/editor/editor_tests/new_feature_categories_test.cpp b/editor/editor_tests/new_feature_categories_test.cpp index 379d83296..4b37f2d26 100644 --- a/editor/editor_tests/new_feature_categories_test.cpp +++ b/editor/editor_tests/new_feature_categories_test.cpp @@ -18,8 +18,6 @@ UNIT_TEST(NewFeatureCategories_UniqueNames) for (auto const & locale : CategoriesHolder::kLocaleMapping) { std::string const lang(locale.m_name); - if (base::IsExist(CategoriesHolder::kDisabledLanguages, lang)) - continue; categories.AddLanguage(lang); auto names = categories.GetAllCreatableTypeNames(); std::sort(names.begin(), names.end()); diff --git a/indexer/categories_holder.cpp b/indexer/categories_holder.cpp index ddc9ed1e3..eaa5f276d 100644 --- a/indexer/categories_holder.cpp +++ b/indexer/categories_holder.cpp @@ -6,7 +6,7 @@ #include "coding/reader_streambuf.hpp" #include "base/logging.hpp" -#include "base/stl_helpers.hpp" + namespace { @@ -309,7 +309,6 @@ int8_t CategoriesHolder::MapLocaleToInteger(std::string_view const locale) ASSERT(!kLocaleMapping.empty(), ()); ASSERT_EQUAL(kLocaleMapping[0].m_name, std::string_view("en"), ()); ASSERT_EQUAL(kLocaleMapping[0].m_code, kEnglishCode, ()); - ASSERT(!base::IsExist(kDisabledLanguages, std::string_view("en")), ()); for (auto it = kLocaleMapping.crbegin(); it != kLocaleMapping.crend(); ++it) { diff --git a/indexer/categories_holder.hpp b/indexer/categories_holder.hpp index 3659d5e8a..fd237a160 100644 --- a/indexer/categories_holder.hpp +++ b/indexer/categories_holder.hpp @@ -117,10 +117,6 @@ public: {"zh-Hant", kTraditionalChineseCode}, }}; - // List of languages that are currently disabled in the application - // because their translations are not yet complete. - static std::array constexpr kDisabledLanguages = {"sw"}; - explicit CategoriesHolder(std::unique_ptr && reader); template