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
path: root/editor
diff options
context:
space:
mode:
authorArsentiy Milchakov <milcars@mapswithme.com>2018-09-20 15:11:06 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2018-09-25 11:56:55 +0300
commit5d9fb552e1cc821a25369e1c960c5597fbbf93b5 (patch)
tree3b66c6261373ea80493fd2898e1189605b12e4d9 /editor
parent0a254cf68ae046596dc19b41e377fa29f9b265af (diff)
[types_strings][bookmarks] bookmarks localization logic is moved to platforms
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_tests/new_feature_categories_test.cpp2
-rw-r--r--editor/new_feature_categories.cpp2
-rw-r--r--editor/new_feature_categories.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_tests/new_feature_categories_test.cpp b/editor/editor_tests/new_feature_categories_test.cpp
index 7e8020863e..e629cc6350 100644
--- a/editor/editor_tests/new_feature_categories_test.cpp
+++ b/editor/editor_tests/new_feature_categories_test.cpp
@@ -31,7 +31,7 @@ UNIT_TEST(NewFeatureCategories_UniqueNames)
if (find(disabled.begin(), disabled.end(), lang) != disabled.end())
continue;
categories.AddLanguage(lang);
- auto names = categories.GetAllCategoryNames();
+ auto names = categories.GetAllCreatableTypeNames();
auto result = std::unique(names.begin(), names.end());
diff --git a/editor/new_feature_categories.cpp b/editor/new_feature_categories.cpp
index 94bc195b9b..5c320bffe4 100644
--- a/editor/new_feature_categories.cpp
+++ b/editor/new_feature_categories.cpp
@@ -75,7 +75,7 @@ NewFeatureCategories::TypeNames NewFeatureCategories::Search(string const & quer
return result;
}
-NewFeatureCategories::TypeNames const & NewFeatureCategories::GetAllCategoryNames() const
+NewFeatureCategories::TypeNames const & NewFeatureCategories::GetAllCreatableTypeNames() const
{
return m_types;
}
diff --git a/editor/new_feature_categories.hpp b/editor/new_feature_categories.hpp
index 1ddea98c4d..b31fcb6f29 100644
--- a/editor/new_feature_categories.hpp
+++ b/editor/new_feature_categories.hpp
@@ -45,7 +45,7 @@ public:
// types corresponding to these names. The language must have been added before.
// If |lang| is not supported, "en" is used.
// The returned list is sorted.
- TypeNames const & GetAllCategoryNames() const;
+ TypeNames const & GetAllCreatableTypeNames() const;
private:
indexer::CategoriesIndex m_index;