Skip to content

Commit

Permalink
fixup! IBX-6338: Added translations
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Sep 5, 2023
1 parent 14a3121 commit 9c92011
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/bundle/Resources/translations/ibexa_search.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,23 @@
<target>Content Type</target>
<note>key: search.type</note>
<trans-unit id="fa5761c7de14d55bfe7d064dbed7b0414618d0ee" resname="sort_definition.date_modified_asc.label">
<source>Sort by modification date (ASC)</source>
<target state="new">Sort by modification date (ASC)</target>
<source>Sort by modification date (Oldest)</source>
<target state="new">Sort by modification date (Oldest)</target>
<note>key: sort_definition.date_modified_asc.label</note>
</trans-unit>
<trans-unit id="d347942d7df28fc0e37401cc6a4466647d5522bd" resname="sort_definition.date_modified_desc.label">
<source>Sort by modification date (DESC)</source>
<target state="new">Sort by modification date (DESC)</target>
<source>Sort by modification date (Newest)</source>
<target state="new">Sort by modification date (Newest)</target>
<note>key: sort_definition.date_modified_desc.label</note>
</trans-unit>
<trans-unit id="9bdd88504463f9d98eb8c8ba59275d1004ce7c77" resname="sort_definition.date_published_asc.label">
<source>Sort by publication date (ASC)</source>
<target state="new">Sort by publication date (ASC)</target>
<source>Sort by publication date (Oldest)</source>
<target state="new">Sort by publication date (Oldest)</target>
<note>key: sort_definition.date_published_asc.label</note>
</trans-unit>
<trans-unit id="93987e74fb2a656b65a99df21aa80c82ebe4a03d" resname="sort_definition.date_published_desc.label">
<source>Sort by publication date (DESC)</source>
<target state="new">Sort by publication date (DESC)</target>
<source>Sort by publication date (Newest)</source>
<target state="new">Sort by publication date (Newest)</target>
<note>key: sort_definition.date_published_desc.label</note>
</trans-unit>
<trans-unit id="5e8c9a364b0b2991a3ce09833b5f29cd51b3ed46" resname="sort_definition.name_asc.label">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ private function getLabel(string $identifier): string
public static function getTranslationMessages(): array
{
return [
(new Message('sort_definition.date_published_asc.label', 'ibexa_search'))->setDesc('Sort by publication date (ASC)'),
(new Message('sort_definition.date_published_desc.label', 'ibexa_search'))->setDesc('Sort by publication date (DESC)'),
(new Message('sort_definition.date_modified_asc.label', 'ibexa_search'))->setDesc('Sort by modification date (ASC)'),
(new Message('sort_definition.date_modified_desc.label', 'ibexa_search'))->setDesc('Sort by modification date (DESC)'),
(new Message('sort_definition.date_published_asc.label', 'ibexa_search'))->setDesc('Sort by publication date (Oldest)'),
(new Message('sort_definition.date_published_desc.label', 'ibexa_search'))->setDesc('Sort by publication date (Newest)'),
(new Message('sort_definition.date_modified_asc.label', 'ibexa_search'))->setDesc('Sort by modification date (Oldest)'),
(new Message('sort_definition.date_modified_desc.label', 'ibexa_search'))->setDesc('Sort by modification date (Newest)'),
];
}
}

0 comments on commit 9c92011

Please sign in to comment.