Skip to content

Commit 5b371de

Browse files
Fix wording on the filter item
1 parent 6a95192 commit 5b371de

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

app/code/Magento/LayeredNavigation/view/frontend/templates/layer/filter.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $viewModel = $block->getData('product_layer_view_model');
2828
if ($filterItem->getCount() == 1): ?>
2929
<?= $escaper->escapeHtml(__('item')) ?><?php
3030
else:
31-
?><?= $escaper->escapeHtml(__('item')) ?><?php
31+
?><?= $escaper->escapeHtml(__('items')) ?><?php
3232
endif;?></span></span>
3333
<?php endif; ?></a>
3434
<?php else: ?>
@@ -38,7 +38,7 @@ $viewModel = $block->getData('product_layer_view_model');
3838
<?= /* @noEscape */ $localeFormatter->formatNumber((int) $filterItem->getCount()) ?><span
3939
class="filter-count-label"><?php
4040
if ($filterItem->getCount() == 1): ?>
41-
<?= $escaper->escapeHtml(__('items')) ?><?php
41+
<?= $escaper->escapeHtml(__('item')) ?><?php
4242
else:
4343
?><?= $escaper->escapeHtml(__('items')) ?><?php
4444
endif;?></span></span>

0 commit comments

Comments
 (0)