Browse files

README was out of date with apparent state of the code; small formatt…

…ing fix.
  • Loading branch information...
darobin committed Jan 9, 2012
1 parent 09b9aca commit fa744c91c4700b71b76f6f08e94f7e1153dcaa30
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -61,7 +61,7 @@ req.locale() // returns current user's chosen locale, stored in session if avail
Store your messages
-There is only one messages store currently supported is "module", which means you store your messages as a Node.js module.
+There are multiple message stores currently supported, details for which are provided below.
Store: module
@@ -211,6 +211,7 @@ The hierarchy is fully similar with the file storage, except that files are expe
This store uses Javascript implementation of Gettext, and interprets directly ".po" files. No need to compile.
The PO format won't be described here, use it as expected :) Some notes though:
* Generic plural forms handler implemented by jus-i18n is not used here, we directly use gettext's one.
* Plural forms API in jus-i18n expects only one parameter "msg". If your `msgid` and `msgid_plural` values are not the same in your PO file, then you'll simply have to provide an array `[msgid, msgid_plural]`.
* Contexts are supported by gettext, but jus-i18n context handling will still be used. This is expected to change.

0 comments on commit fa744c9

Please sign in to comment.