Skip to content

Commit

Permalink
fix(docs): fixing translation messup
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed May 14, 2017
1 parent 8f6906e commit bb9e4f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ _Translations: [español](README.es.md)_
* [Features](#features)
* [Contributing](#contributing)
* [API](#api)
* [Usando el API en español](#localized-api)
* [Using localized APIs](#localized-api)
* Reading
* [`ls`](#ls)
* [`ls.stream`](#ls-stream)
Expand Down Expand Up @@ -109,7 +109,7 @@ Happy hacking!

### API

#### <a name="localized-api"></a> Usando el API in English
#### <a name="localized-api"></a> Using localized APIs

cacache includes a complete API in English, with the same features as other
translations. To use the English API as documented in this README, use
Expand All @@ -120,6 +120,10 @@ cacache also supports other languages! You can find the list of currently
supported ones my looking in `./locales` in the source directory. You can use
the API in that language with `require('cacache/<lang>')`.

Want to add support for a new language? Please go ahead! You should be able to
copy `./locales/en.js` and `./locales/en.json` and fill them in. Translating the
`README.md` is a bit more work, but also appreciated if you get around to it. 👍🏼

#### <a name="ls"></a> `> cacache.ls(cache) -> Promise<Object>`

Lists info for all entries currently in the cache as a single large object. Each
Expand Down

0 comments on commit bb9e4f9

Please sign in to comment.