From e404f5e6d3001906c11b82a532db518720caebfd Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 Apr 2020 20:17:15 +0530 Subject: add test case for i18n, fix react i18n bug --- contrib/po2ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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); -- cgit v1.2.3