Update settings search category names

To make it consistent with the rest of product:

`Settings` category is renamed to `Control Panel`
`Modern Settings` category is renamed to `Settings`
This commit is contained in:
ge0rdi
2020-10-18 10:59:34 +02:00
parent ca576a0224
commit 312bfd99d5
4 changed files with 89 additions and 89 deletions

View File

@@ -2873,7 +2873,7 @@ bool CMenuContainer::InitSearchItems( void )
items.reserve(count);
for (std::vector<const CItemManager::ItemInfo*>::const_iterator it=s_SearchResults.metrosettings.begin();it!=s_SearchResults.metrosettings.end() && (int)items.size()<count;++it)
items.push_back(SearchItem(*it));
name=FindTranslation(L"Search.CategoryPCSettings", L"Modern Settings");
name=FindTranslation(L"Search.CategoryPCSettings", L"Settings");
}
else if (idx==2)
{
@@ -2883,7 +2883,7 @@ bool CMenuContainer::InitSearchItems( void )
items.reserve(count);
for (std::vector<const CItemManager::ItemInfo*>::const_iterator it=s_SearchResults.settings.begin();it!=s_SearchResults.settings.end() && (int)items.size()<count;++it)
items.push_back(SearchItem(*it));
name=FindTranslation(L"Search.CategorySettings",L"Settings");
name=FindTranslation(L"Search.CategorySettings",L"Control Panel");
}
else
{