Skip to content

Commit

Permalink
Translated validation error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshsuhagiya committed Aug 13, 2018
1 parent 08b8956 commit 47cbfff
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 47cbfff

Please sign in to comment.