Skip to content

Commit

Permalink
[docs] Add a translation badge to readme, and update URLs (mui#13128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes authored Oct 6, 2018
1 parent e849589 commit 0429ea3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
[![Dependencies](https://img.shields.io/david/mui-org/material-ui.svg)](https://david-dm.org/mui-org/material-ui?path=packages/material-ui)
[![DevDependencies](https://img.shields.io/david/dev/mui-org/material-ui.svg)](https://david-dm.org/mui-org/material-ui?type=dev)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/mui-org/material-ui.svg)](http://isitmaintained.com/project/mui-org/material-ui "Average time to resolve an issue")
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/material-ui-docs/localized.svg)](https://translate.material-ui.com/project/material-ui-docs)

</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/notifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
},
{
"id": 20,
"text": "Let's localize! <a style=\"color: white;\" target=\"_blank\" href=\"https://crowdin.com/project/material-ui-docs/zh-CN#\">帮助 Material-UI 将文档翻译成中文</a>."
"text": "Let's localize! <a style=\"color: white;\" target=\"_blank\" href=\"https://translate.material-ui.com/project/material-ui-docs\">帮助 Material-UI 将文档翻译成中文</a>."
}
]
2 changes: 1 addition & 1 deletion docs/src/modules/components/MarkdownDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ${headers.components

const button =
context.userLanguage === 'zh' ? (
<Button component="a" href="https://crowdin.com/project/material-ui-docs/zh-CN#">
<Button component="a" href="https://translate.material-ui.com/project/material-ui-docs">
{'将此页面翻译成中文'}
</Button>
) : (
Expand Down

0 comments on commit 0429ea3

Please sign in to comment.