Skip to content

Commit

Permalink
Adds the ability to translate the 'filter item title'
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagorodriguesdutra committed Feb 22, 2024
1 parent 42dde0b commit bca6945
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import './PriceFilter.scss';
import { _ } from '@evershop/evershop/src/lib/locale/translate';

export function PriceFilter({
priceRange: { min: minPrice, max: maxPrice },
Expand Down Expand Up @@ -131,7 +132,7 @@ export function PriceFilter({

return (
<div className="price-filter">
<div className="filter-item-title">Price</div>
<div className="filter-item-title">{_('Price')}</div>
<div className="rangeslider">
<input
className="min"
Expand Down

0 comments on commit bca6945

Please sign in to comment.