summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-07 20:17:15 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-07 20:17:15 +0530
commite404f5e6d3001906c11b82a532db518720caebfd (patch)
treea79cdd669c6a65b2453f9a1ae3e5d8aabac8d7b1 /contrib
parent322359e5535c50f4ef4ba7be3d39efc047efa8fa (diff)
downloadwallet-core-e404f5e6d3001906c11b82a532db518720caebfd.tar.gz
wallet-core-e404f5e6d3001906c11b82a532db518720caebfd.tar.bz2
wallet-core-e404f5e6d3001906c11b82a532db518720caebfd.zip
add test case for i18n, fix react i18n bug
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/po2ts2
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);