diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-07 20:17:15 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-07 20:17:15 +0530 |
commit | e404f5e6d3001906c11b82a532db518720caebfd (patch) | |
tree | a79cdd669c6a65b2453f9a1ae3e5d8aabac8d7b1 /contrib | |
parent | 322359e5535c50f4ef4ba7be3d39efc047efa8fa (diff) |
add test case for i18n, fix react i18n bug
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/po2ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/po2ts b/contrib/po2ts index 4d349663d..a135da61b 100755 --- a/contrib/po2ts +++ b/contrib/po2ts @@ -36,7 +36,7 @@ if (!m) { } const lang = m[1]; -const pojson = po2json.parseFileSync(filename); +const pojson = po2json.parseFileSync(filename, { format: "jed1.x", fuzzy: true }); const s = "strings['" + lang + "'] = " + JSON.stringify(pojson, null, " ") + ";\n"; console.log(s); |