diff --git a/CHANGELOG.md b/CHANGELOG.md index fe5c5881ba..3a406f0483 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Moved phrase from compare.html to en.json for increasing localization. [#1972](https://github.com/bigcommerce/cornerstone/pull/1972) - Fixed focus for sort by dropdown on reloading page. [#1964](https://github.com/bigcommerce/cornerstone/pull/1964) - Fixed filtered selection not announced by screen reader. [#1966](https://github.com/bigcommerce/cornerstone/pull/1966) diff --git a/lang/en.json b/lang/en.json index e37d42f658..8cddd9845a 100755 --- a/lang/en.json +++ b/lang/en.json @@ -722,6 +722,7 @@ "5": "5 stars (best)" }, "write_a_review": "Write a Review", + "no_reviews": "No Reviews", "form_write": { "name": "Name", "email": "Email", diff --git a/templates/pages/compare.html b/templates/pages/compare.html index 012f416d39..05f518ce2c 100644 --- a/templates/pages/compare.html +++ b/templates/pages/compare.html @@ -96,7 +96,7 @@

{{#if rating}} {{> components/products/ratings rating=rating}} {{else}} - No Reviews + {{lang 'products.reviews.no_reviews'}} {{/if}} {{/each}}