Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 3f2174c

Browse files
authored
fixed translation issue for "stars" phrase
1 parent 2f6cb7d commit 3f2174c

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Review/view/frontend/templates

1 file changed

+2
-2
lines changed

app/code/Magento/Review/view/frontend/templates/form.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
<label
4141
class="rating-<?= $block->escapeHtmlAttr($iterator) ?>"
4242
for="<?= $block->escapeHtmlAttr($_rating->getRatingCode()) ?>_<?= $block->escapeHtmlAttr($_option->getValue()) ?>"
43-
title="<?= $block->escapeHtmlAttr(__('%1 %2', $iterator, $iterator > 1 ? 'stars' : 'star')) ?>"
43+
title="<?= $block->escapeHtmlAttr(__('%1 %2', $iterator, $iterator > 1 ? __('stars') : __('star'))) ?>"
4444
id="<?= $block->escapeHtmlAttr($_rating->getRatingCode()) ?>_<?= $block->escapeHtmlAttr($_option->getValue()) ?>_label">
45-
<span><?= $block->escapeHtml(__('%1 %2', $iterator, $iterator > 1 ? 'stars' : 'star')) ?></span>
45+
<span><?= $block->escapeHtml(__('%1 %2', $iterator, $iterator > 1 ? __('stars') : __('star'))) ?></span>
4646
</label>
4747
<?php $iterator++; ?>
4848
<?php endforeach; ?>

0 commit comments

Comments
 (0)