Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #6 from Yogeshks/2.3-develop-PR-port-17575
Browse files Browse the repository at this point in the history
[Forwardport] Translated validation error messages
  • Loading branch information
yogeshks authored Aug 15, 2018
2 parents e6160d6 + cd64d22 commit 9dc9e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/CatalogSearch/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ name,name
"Minimal Query Length","Minimal Query Length"
"Maximum Query Length","Maximum Query Length"
"Rebuild Catalog product fulltext search index","Rebuild Catalog product fulltext search index"
"Please enter a valid price range.","Please enter a valid price range."
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ require([
}
},
messages: {
'price[to]': {'greater-than-equals-to': 'Please enter a valid price range.'},
'price[from]': {'less-than-equals-to': 'Please enter a valid price range.'}
'price[to]': {'greater-than-equals-to': '<?= /* @escapeNotVerified */ __('Please enter a valid price range.') ?>'},
'price[from]': {'less-than-equals-to': '<?= /* @escapeNotVerified */ __('Please enter a valid price range.') ?>'}
}
});
});
Expand Down

0 comments on commit 9dc9e98

Please sign in to comment.