Skip to content

Commit

Permalink
Merge pull request evershopcommerce#537 from ErdemGKSL/main
Browse files Browse the repository at this point in the history
more translation fields for extension product reviews
  • Loading branch information
treoden committed May 15, 2024
2 parents 1e32bbd + 0a64b83 commit 265a14f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function ReviewForm({ action, product }) {
method="POST"
onSuccess={onSuccess}
isJSON
btnText="Submit review"
btnText={_("Submit review")}
>
<label htmlFor="rating">{_('Your Rating')}</label>
<div className="rating__stars">
Expand Down Expand Up @@ -68,13 +68,13 @@ export default function ReviewForm({ action, product }) {
/>
<Field
name="customer_name"
label="Your Name"
label={_("Your Name")}
type="text"
validationRules={['notEmpty']}
/>
<Field
name="comment"
label="Your Comment"
label={_("Your Comment")}
type="textarea"
validationRules={['notEmpty']}
/>
Expand Down

0 comments on commit 265a14f

Please sign in to comment.