From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/po2json/README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'node_modules/po2json') diff --git a/node_modules/po2json/README.md b/node_modules/po2json/README.md index 434b7474e..bff9b9705 100644 --- a/node_modules/po2json/README.md +++ b/node_modules/po2json/README.md @@ -41,6 +41,9 @@ Parse a PO buffer to JSON * `jed1.x` produces an output that is 100% compatible with Jed >= 1.1.0 * `mf` produces simple key:value output. * `domain` - the domain the messages will be wrapped inside. Only has effect if `format: 'jed'`. + * `fallback-to-msgid` If `true`, for those entries that would be omitted (fuzzy entries without the fuzzy flag) and for those + that are empty, the msgid will be used as translation in the json file. If the entry is plural, msgid_plural will be used for + msgstr[1]. This means that this option makes sense only for those languages that have nplurals=2. Parse a PO file to JSON @@ -55,14 +58,6 @@ Parse a PO file to JSON (synchronous) * `fileName` - path to the po file * `options` - same as for `po2json.parse` -#### fallback-to-msgid -If `fallback-to-msgid` is set, for those entries that would be omitted -(fuzzy entries without the fuzzy flag) and for those that are empty, -the msgid will be used as translation in the json file. -If the entry is plural, msgid_plural will be used for msgstr[1]. -This means that this option makes sense only for those languages -that have nplurals=2. - ### Command Line Arguments po2json in command-line parametrization support added to allow override -- cgit v1.2.3