Skip to content

Commit

Permalink
Translation fixes reactjs#2
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmett committed Mar 16, 2019
1 parent 99233e4 commit 513d163
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/typechecking-with-proptypes.md
Expand Up @@ -97,8 +97,8 @@ MyComponent.propTypes = {
customProp: function(props, propName, componentName) {
if (!/matchme/.test(props[propName])) {
return new Error(
'Geçersiz prop `' + propName + '`, `' +
componentName + '` bileşenine verildi. Doğrulama başarısız.'
'Invalid prop `' + propName + '` supplied to' +
' `' + componentName + '`. Validation failed.'
);
}
},
Expand All @@ -111,8 +111,8 @@ MyComponent.propTypes = {
customArrayProp: PropTypes.arrayOf(function(propValue, key, componentName, location, propFullName) {
if (!/matchme/.test(propValue[key])) {
return new Error(
'Geçersiz prop `' + propFullName + '`, `' +
componentName + '` bileşenine verildi. Doğrulama başarısız.'
'Invalid prop `' + propFullName + '` supplied to' +
' `' + componentName + '`. Validation failed.'
);
}
})
Expand Down

0 comments on commit 513d163

Please sign in to comment.