Skip to content

Commit

Permalink
Adjust readme example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Mar 30, 2018
1 parent 80bb7f0 commit cb84da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If the API token is missing or invalid or if you have specified a non-existent T
2. Use the URL you determined in step 1 to generate a [Shields.io dynamic badge](http://shields.io/#dynamic-badge) that shows the localization status of your Transifex project. You'll need to set the data type to JSON and the query to `$.status`.

```
https://img.shields.io/badge/dynamic/json.svg?url=<URL>&label=<LABEL>&query=$.status.&colorB=<COLOR>&prefix=<PREFIX>&suffix=%25
https://img.shields.io/badge/dynamic/json.svg?url=<URL>&label=translated&query=$.status.&colorB=<COLOR>&prefix=<PREFIX>&suffix=%25
```

This URL will produce the following badge layout with the example response in step 1:
Expand All @@ -47,4 +47,4 @@ Now you can add a badge to your GitHub readme which will reflect the current loc

## Notes

Responses from the Transifex REST API are cached for 24 hours to prevent excessive API calls, so you may not see the changes immediately.
Responses from the Transifex REST API are cached for 24 hours to prevent excessive API calls, so you may not see the changes immediately.

0 comments on commit cb84da5

Please sign in to comment.