Skip to content

Commit

Permalink
Merge pull request #191 from paul-jolimoi/issue-29212
Browse files Browse the repository at this point in the history
Fix Issue : FO / Blockwishlist - Translations are not take in account for "Wishlist default title" part
  • Loading branch information
nicosomb authored Jun 12, 2023
2 parents 7e81e32 + 41b7d37 commit c1d5f80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions blockwishlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ public function hookDisplayFooter(array $params)
'deleteProductUrl' => $this->context->link->getModuleLink('blockwishlist', 'action', ['action' => 'deleteProductFromWishlist']),
'addUrl' => $this->context->link->getModuleLink('blockwishlist', 'action', ['action' => 'addProductToWishlist']),
'newWishlistCTA' => Configuration::get('blockwishlist_CreateButtonLabel', $this->context->language->id),
'wishlistsTitlePage' => Configuration::get('blockwishlist_WishlistPageName', $this->context->language->id),
]);

return $this->fetch('module:blockwishlist/views/templates/hook/displayHeader.tpl');
Expand Down
4 changes: 2 additions & 2 deletions views/templates/components/modals/add-to-wishlist.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">
{l s='Add to wishlist' d='Modules.Blockwishlist.Shop'}
{$wishlistsTitlePage}
</h5>
<button
type="button"
Expand Down Expand Up @@ -68,7 +68,7 @@
</div>
</div>

<div
<div
class="modal-backdrop fade"
{literal}
:class="{in: !isHidden}"
Expand Down

0 comments on commit c1d5f80

Please sign in to comment.