Skip to content

Commit fb088f2

Browse files
authored
Merge pull request #53 from panpanc/master
fix example syntax error
2 parents b977327 + 5ee3a20 commit fb088f2

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@
123123
"contributions": [
124124
"code"
125125
]
126+
},
127+
{
128+
"login": "panpanc",
129+
"name": "Michael Pan",
130+
"avatar_url": "https://avatars2.githubusercontent.com/u/29132669?v=4",
131+
"profile": "https://github.com/panpanc",
132+
"contributions": [
133+
"example"
134+
]
126135
}
127136
],
128137
"repoType": "github",

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)
55
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
66
[![MIT License](https://img.shields.io/npm/l/nps.svg?style=flat-square)](./license)
7-
[![All Contributors](https://img.shields.io/badge/all_contributors-12-orange.svg?style=flat-square)](#contributors-)
7+
[![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-)
88

99
This package will generate json or yaml files from a glob. It will generate one file per locale, with the ids of each message defined by the [`defineMessages`](https://github.com/yahoo/react-intl/wiki/API#definemessages) function of [react-intl](https://github.com/yahoo/react-intl). The value of each of these keys will be an empty string, except for your `defaultLocale` which will be populated with the [`defaultMessage`](https://github.com/yahoo/react-intl/wiki/API#message-descriptor).
1010

@@ -45,7 +45,7 @@ export const SubmitButton = () => {
4545
defaultMessage: 'Submit Button'
4646
})
4747
return <button aria-label={label}>{label}</button>
48-
})
48+
}
4949
```
5050

5151
### Run Script
@@ -200,6 +200,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
200200
<td align="center"><a href="http://bradbarrow.com"><img src="https://avatars3.githubusercontent.com/u/1264276?v=4" width="100px;" alt="bradbarrow"/><br /><sub><b>bradbarrow</b></sub></a><br /><a href="https://github.com/akameco/extract-react-intl-messages/issues?q=author%3Abradbarrow" title="Bug reports">🐛</a> <a href="https://github.com/akameco/extract-react-intl-messages/commits?author=bradbarrow" title="Code">💻</a> <a href="https://github.com/akameco/extract-react-intl-messages/commits?author=bradbarrow" title="Tests">⚠️</a></td>
201201
<td align="center"><a href="http://ddem.us/"><img src="https://avatars1.githubusercontent.com/u/290457?v=4" width="100px;" alt="Gregor MacLennan"/><br /><sub><b>Gregor MacLennan</b></sub></a><br /><a href="https://github.com/akameco/extract-react-intl-messages/commits?author=gmaclennan" title="Code">💻</a></td>
202202
<td align="center"><a href="https://github.com/zarv1k"><img src="https://avatars1.githubusercontent.com/u/6296643?v=4" width="100px;" alt="Dmitry Zarva"/><br /><sub><b>Dmitry Zarva</b></sub></a><br /><a href="https://github.com/akameco/extract-react-intl-messages/commits?author=zarv1k" title="Code">💻</a></td>
203+
<td align="center"><a href="https://github.com/panpanc"><img src="https://avatars2.githubusercontent.com/u/29132669?v=4" width="100px;" alt="Michael Pan"/><br /><sub><b>Michael Pan</b></sub></a><br /><a href="#example-panpanc" title="Examples">💡</a></td>
203204
</tr>
204205
</table>
205206

0 commit comments

Comments
 (0)