From d3f9415518b2bdf2661adc5ad0bbce536fcce1a1 Mon Sep 17 00:00:00 2001 From: Florian Fuchs Date: Mon, 23 Jan 2017 17:22:18 +0100 Subject: [PATCH] Add pattern option to po2json call The po2json call needs a "-m" (pattern) option, which currently isn't part of the script in package.json or described in the README. Since the pattern doesn't change, adding it to the appropriate script in package.json is probably the best place for this. Change-Id: Ibbf3313e7de36174f3ddd1251a8a2769be149fc7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c8943810..584cf79d 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "test": "karma start --single-run", "test:watch": "karma start", "json2pot": "rip json2pot ./i18n/extracted-messages/**/*.json -o ./messages.pot", - "po2json": "rip po2json" + "po2json": "rip po2json -m ./i18n/extracted-messages/**/*.json" }, "repository": { "type": "git",