Skip to content

Commit c6c4313

Browse files
authored
fixed translation issue for "stars" phrase
1 parent 2e9f1db commit c6c4313

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
@@ -42,9 +42,9 @@
4242
<label
4343
class="rating-<?php /* @escapeNotVerified */ echo $iterator; ?>"
4444
for="<?php echo $block->escapeHtml($_rating->getRatingCode()) ?>_<?php /* @escapeNotVerified */ echo $_option->getValue() ?>"
45-
title="<?php /* @escapeNotVerified */ echo __('%1 %2', $iterator, $iterator > 1 ? 'stars' : 'star') ?>"
45+
title="<?php /* @escapeNotVerified */ echo __('%1 %2', $iterator, $iterator > 1 ? __('stars') : __('star')) ?>"
4646
id="<?php echo $block->escapeHtml($_rating->getRatingCode()) ?>_<?php /* @escapeNotVerified */ echo $_option->getValue() ?>_label">
47-
<span><?php /* @escapeNotVerified */ echo __('%1 %2', $iterator, $iterator > 1 ? 'stars' : 'star') ?></span>
47+
<span><?php /* @escapeNotVerified */ echo __('%1 %2', $iterator, $iterator > 1 ? __('stars') : __('star')) ?></span>
4848
</label>
4949
<?php $iterator++; ?>
5050
<?php endforeach; ?>

0 commit comments

Comments
 (0)