From bb9e4f96590487fb334b1439c160cf6fb7e6473d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sun, 14 May 2017 16:00:05 -0700 Subject: [PATCH] fix(docs): fixing translation messup --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4136a72..ea69b8f 100644 --- a/README.md +++ b/README.md @@ -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) @@ -109,7 +109,7 @@ Happy hacking! ### API -#### Usando el API in English +#### 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 @@ -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/')`. +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. 👍🏼 + #### `> cacache.ls(cache) -> Promise` Lists info for all entries currently in the cache as a single large object. Each