Skip to content

Commit

Permalink
Fix translation front
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-dsm committed Feb 29, 2024
1 parent a63d5be commit 96cf974
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.0.8</version>
<version>1.0.9</version>
<authors>
<author>
<name>Chabreuil Antoine</name>
Expand Down
8 changes: 4 additions & 4 deletions templates/frontOffice/default/product/product-review.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<section class="guaranteed_opinion_product_container">
{if !empty($product_reviews[0]) }
<div class="guaranteed_opinion_product_title">
<h2>{intl l="Lastest customer reviews" d="guaranteedopinion.fo.module"} </h2>
<h2>{intl l="Lastest customer reviews" d="guaranteedopinion.fo.default"} </h2>
</div>

<ul class="guaranteed_review_list">
Expand All @@ -65,19 +65,19 @@ <h2>{intl l="Lastest customer reviews" d="guaranteedopinion.fo.module"} </h2>
<span>{$rating->getName()} </span>
</div>
<div class="guaranteed_opinion_date">
{intl l="The" d="guaranteedopinion.fo.module"} {$rating->getReviewDate()|date_format:"%d/%m/%Y"}
{intl l="The" d="guaranteedopinion.fo.default"} {$rating->getReviewDate()|date_format:"%d/%m/%Y"}
</div>
<div class="guaranteed_opinion_review_text">{$rating->getReview()|truncate:190:"..."}</div>
</li>
{/foreach}
</ul>

<div class="guaranteed_opinion_product_show_all_btn">
<a href="{$show_rating_url}" target="_blank">{intl l="Show all reviews" d="guaranteedopinion.fo.module"}</a>
<a href="{$show_rating_url}" target="_blank">{intl l="Show all reviews" d="guaranteedopinion.fo.default"}</a>
</div>
{else}
<div class="guaranteed_opinion_product_title">
<h2>{intl l="No Reviews for this product" d="guaranteedopinion.fo.module"}</h2>
<h2>{intl l="No Reviews for this product" d="guaranteedopinion.fo.default"}</h2>
</div>
{/if}
</section>

0 comments on commit 96cf974

Please # to comment.