diff --git a/src/bundle/Resources/translations/ibexa_search.en.xliff b/src/bundle/Resources/translations/ibexa_search.en.xliff index 636f128..e08eab4 100644 --- a/src/bundle/Resources/translations/ibexa_search.en.xliff +++ b/src/bundle/Resources/translations/ibexa_search.en.xliff @@ -12,13 +12,13 @@ key: pagination.viewing - Any Content Type - Any Content Type + Any content type + Any content type key: search.any.content.type - Content Type - Content Type + Content type + Content type key: search.content.type @@ -102,8 +102,8 @@ key: search.translations - Content Type - Content Type + Content type + Content type key: search.type diff --git a/src/bundle/Resources/views/themes/standard/search/form.html.twig b/src/bundle/Resources/views/themes/standard/search/form.html.twig index d557554..7f46fff 100644 --- a/src/bundle/Resources/views/themes/standard/search/form.html.twig +++ b/src/bundle/Resources/views/themes/standard/search/form.html.twig @@ -15,9 +15,9 @@
- + {{ form_widget(form.content_types, {'attr': {'class': 'ibexa-filters__select'}}) }}
diff --git a/src/bundle/Resources/views/themes/standard/search/index.html.twig b/src/bundle/Resources/views/themes/standard/search/index.html.twig index 4b66e77..a1b32a8 100644 --- a/src/bundle/Resources/views/themes/standard/search/index.html.twig +++ b/src/bundle/Resources/views/themes/standard/search/index.html.twig @@ -36,7 +36,7 @@ {{ 'search.name'|trans|desc('Name') }} {{ 'search.modified'|trans|desc('Modified') }} - {{ 'search.type'|trans|desc('Content Type') }} + {{ 'search.type'|trans|desc('Content type') }} {% if form.search_language.vars.choices|length > 1 %} {{ 'search.translations'|trans|desc('Translations') }} {% endif %} diff --git a/src/lib/Mapper/PagerSearchContentToDataMapper.php b/src/lib/Mapper/PagerSearchContentToDataMapper.php index 4dbcedc..356866c 100644 --- a/src/lib/Mapper/PagerSearchContentToDataMapper.php +++ b/src/lib/Mapper/PagerSearchContentToDataMapper.php @@ -143,7 +143,7 @@ protected function getContributor(ContentInfo $contentInfo): ?User */ protected function setTranslatedContentTypesNames(array &$data, array $contentTypeIds): void { - // load list of Content Types with proper translated names + // load list of content types with proper translated names $contentTypes = $this->contentTypeService->loadContentTypeList( array_unique($contentTypeIds), $this->userLanguagePreferenceProvider->getPreferredLanguages()