Skip to content

Commit

Permalink
Internationalized aria-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDervishi committed Jul 27, 2023
1 parent ad4df10 commit ebe7002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/Components/Modals/filter_modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class FilterModal extends React.Component {
<div className={"range"} data-testid={title}>
<input
className={"input-min"}
aria-label={title + " - Min"}
aria-label={title + " - " + I18n.t("min")}
type="number"
step="any"
placeholder={I18n.t("min")}
Expand All @@ -110,7 +110,7 @@ export class FilterModal extends React.Component {
<span>{I18n.t("to")}</span>
<input
className={"input-max"}
aria-label={title + " - Max"}
aria-label={title + " - " + I18n.t("max")}
type="number"
step="any"
placeholder={I18n.t("max")}
Expand Down

0 comments on commit ebe7002

Please sign in to comment.