Skip to content

Commit

Permalink
Merge pull request PrestaShop#603 from yannicka/search-translation
Browse files Browse the repository at this point in the history
Search: fix string for translation
  • Loading branch information
Hlavtox authored Feb 23, 2024
2 parents 733a70c + a3647ed commit fdbfebb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/catalog/listing/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

{block name='product_list_header'}
<h1 id="js-product-list-header" class="h4">
{if empty($smarty.get.s)}
{if empty($search_string)}
{l s='Nothing to search for' d='Shop.Theme.Catalog'}
{else}
{if $listing.products|count}
{l s='Search results for' d='Shop.Theme.Catalog'}
{l s='Search results for "%search_term%"' sprintf=['%search_term%' => $search_string] d='Shop.Theme.Catalog'}
{else}
{l s='No search results for' d='Shop.Theme.Catalog'}
{/if} "{$smarty.get.s}"
{l s='No search results for "%search_term%"' sprintf=['%search_term%' => $search_string] d='Shop.Theme.Catalog'}
{/if}
{/if}
</h1>
{/block}

0 comments on commit fdbfebb

Please sign in to comment.