docs: Rephrase 500 error (#23570)

* Rephrase 500 error

'Server is wrong' is not a clear sentence for users. I propose to use 'Something went wrong' with 500.

* Update demo.test.js.snap
This commit is contained in:
ibrahim velinov 2020-04-25 12:16:12 +02:00 committed by GitHub
parent 175e0aaa14
commit 336a6fba42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1005,7 +1005,7 @@ exports[`renders ./components/result/demo/500.md correctly 1`] = `
<div
class="ant-result-subtitle"
>
Sorry, the server is wrong.
Sorry, something went wrong.
</div>
<div
class="ant-result-extra"

View File

@ -11,7 +11,7 @@ title:
## en-US
The server is wrong.
Something went wrong on server.
```jsx
import { Result, Button } from 'antd';
@ -20,7 +20,7 @@ ReactDOM.render(
<Result
status="500"
title="500"
subTitle="Sorry, the server is wrong."
subTitle="Sorry, something went wrong."
extra={<Button type="primary">Back Home</Button>}
/>,
mountNode,