Skip to content

Commit cf523d7

Browse files
committed
Translation fixes 2
1 parent 99233e4 commit cf523d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/docs/typechecking-with-proptypes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ MyComponent.propTypes = {
9797
customProp: function(props, propName, componentName) {
9898
if (!/matchme/.test(props[propName])) {
9999
return new Error(
100-
'Geçersiz prop `' + propName + '`, `' +
101-
componentName + '` bileşenine verildi. Doğrulama başarısız.'
100+
'Invalid prop `' + propName + '` supplied to' +
101+
' `' + componentName + '`. Validation failed.'
102102
);
103103
}
104104
},
@@ -111,8 +111,8 @@ MyComponent.propTypes = {
111111
customArrayProp: PropTypes.arrayOf(function(propValue, key, componentName, location, propFullName) {
112112
if (!/matchme/.test(propValue[key])) {
113113
return new Error(
114-
'Geçersiz prop `' + propFullName + '`, `' +
115-
componentName + '` bileşenine verildi. Doğrulama başarısız.'
114+
'Invalid prop `' + propFullName + '` supplied to' +
115+
' `' + componentName + '`. Validation failed.'
116116
);
117117
}
118118
})

0 commit comments

Comments
 (0)