aboutsummaryrefslogtreecommitdiff
path: root/node_modules/po2json
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-14 05:01:11 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-14 05:02:09 +0200
commit363723fc84f7b8477592e0105aeb331ec9a017af (patch)
tree29f92724f34131bac64d6a318dd7e30612e631c7 /node_modules/po2json
parent5634e77ad96bfe1818f6b6ee70b7379652e5487f (diff)
downloadwallet-core-363723fc84f7b8477592e0105aeb331ec9a017af.tar.xz
node_modules
Diffstat (limited to 'node_modules/po2json')
-rw-r--r--node_modules/po2json/README.md11
1 files changed, 3 insertions, 8 deletions
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