Fixes translation string.

This commit is contained in:
mateuswetah 2023-11-14 16:16:33 -03:00
parent bfa36b9391
commit d2d3ccb844
1 changed files with 1 additions and 1 deletions

View File

@ -1476,7 +1476,7 @@ function tainacan_get_single_taxonomy_content($post, $args = []) {
if ( !$args['hide_term_items_count'] && $args['term_items_count_position'] === 'before' )
echo '<span class="term-items-count">' . $term->count . '</span>&nbsp;';
echo ($term->count == 1 || $term->count == '1') ? __('Item', 'tainacan') : __('Itens', 'tainacan');
echo ($term->count == 1 || $term->count == '1') ? __('Item', 'tainacan') : __('Items', 'tainacan');
if ( !$args['hide_term_items_count'] && $args['term_items_count_position'] !== 'before' )
echo '&nbsp;<span class="term-items-count">(' . $term->count . ')</span>';