Skip to content

Commit

Permalink
Changed Content type to content type
Browse files Browse the repository at this point in the history
  • Loading branch information
Gengar-i committed Jan 9, 2024
1 parent f68da8c commit f05d4df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Resources/translations/ibexa_search.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<note>key: pagination.viewing</note>
</trans-unit>
<trans-unit id="2c0d71c1688c1f04ff156bb9dff167ca5ae663b6" resname="search.any.content.type">
<source>Any Content type</source>
<target state="new">Any Content type</target>
<source>Any content type</source>
<target state="new">Any content type</target>
<note>key: search.any.content.type</note>
</trans-unit>
<trans-unit id="52574f2c1d5e0b3ffcd4f105b770e91ae1e519fa" resname="search.content.type">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div>
<label>{{ 'search.content.type'|trans|desc('Content type') }}:</label>
<select hidden>
<option data-default="{{ 'search.any.content.type'|trans|desc('Any Content type') }}" value="">{{ 'search.any.content.type'|trans|desc('Any Content type') }}</option>
<option data-default="{{ 'search.any.content.type'|trans|desc('Any content type') }}" value="">{{ 'search.any.content.type'|trans|desc('Any content type') }}</option>
</select>
{{ form_widget(form.content_types, {'attr': {'class': 'ibexa-filters__select'}}) }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Mapper/PagerSearchContentToDataMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f05d4df

Please sign in to comment.