Skip to content

Commit

Permalink
IBX-7409: Changed Content Type to content type (#43)
Browse files Browse the repository at this point in the history
* IBX-7409: Changed Content Type to Content type

* Changed Content type to content type
  • Loading branch information
Gengar-i authored Jan 22, 2024
1 parent aaa3ed1 commit f1ffcee
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/bundle/Resources/translations/ibexa_search.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<note>key: pagination.viewing</note>
</trans-unit>
<trans-unit id="2c0d71c1688c1f04ff156bb9dff167ca5ae663b6" resname="search.any.content.type">
<source>Any Content Type</source>
<target>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">
<source>Content Type</source>
<target>Content Type</target>
<source>Content type</source>
<target state="new">Content type</target>
<note>key: search.content.type</note>
</trans-unit>
<trans-unit id="738c66eb92535505455b34b383f8089fb1bc0479" resname="search.created">
Expand Down Expand Up @@ -102,8 +102,8 @@
<note>key: search.translations</note>
</trans-unit>
<trans-unit id="0c9866a19fd5d3074bdb05b339df05b7c05a5661" resname="search.type">
<source>Content Type</source>
<target>Content Type</target>
<source>Content type</source>
<target state="new">Content type</target>
<note>key: search.type</note>
</trans-unit>
<trans-unit id="fa5761c7de14d55bfe7d064dbed7b0414618d0ee" resname="sort_definition.date_modified_asc.label">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div>
<div>
<div>
<label>{{ 'search.content.type'|trans|desc('Content Type') }}:</label>
<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
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<tr>
<th>{{ 'search.name'|trans|desc('Name') }}</th>
<th>{{ 'search.modified'|trans|desc('Modified') }}</th>
<th>{{ 'search.type'|trans|desc('Content Type') }}</th>
<th>{{ 'search.type'|trans|desc('Content type') }}</th>
{% if form.search_language.vars.choices|length > 1 %}
<th>{{ 'search.translations'|trans|desc('Translations') }}</th>
{% endif %}
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 f1ffcee

Please sign in to comment.