From e599eba36877f716e11026ab0f24fcc0fc2b531e Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Mon, 17 Apr 2017 17:20:25 -0400 Subject: [PATCH] LP#1681864: Add pocommentclean for db.seed cleanup prior to updatepo By adding a segment to run pocommentclean against the db.seed locale file prior to doing updatepo against the file from the PO template, we clear any unwanted old and outdated comment IDs prior to applying clean newly synchronized comment IDs from the PO template. Signed-off-by: Ben Shum Signed-off-by: Chris Sharp --- build/i18n/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/build/i18n/Makefile b/build/i18n/Makefile index cb5d33c9fc..6888ea9717 100644 --- a/build/i18n/Makefile +++ b/build/i18n/Makefile @@ -166,6 +166,7 @@ updatepo: prep_output @pot2po $(PROGRESS) -i po/common.properties/common.properties.pot -o $(PO)/common.properties/$(LOCALE).po -t $(PO)/common.properties/$(LOCALE).po @pot2po $(PROGRESS) -i po/conify.dtd/conify.dtd.pot -o $(PO)/conify.dtd/$(LOCALE).po -t $(PO)/conify.dtd/$(LOCALE).po @pot2po $(PROGRESS) -i po/conify.js/conify.js.pot -o $(PO)/conify.js/$(LOCALE).po -t $(PO)/conify.js/$(LOCALE).po + pocommentclean $(PO)/db.seed/$(LOCALE).po @pot2po $(PROGRESS) -i po/db.seed/db.seed.pot -o $(PO)/db.seed/$(LOCALE).po -t $(PO)/db.seed/$(LOCALE).po @pot2po $(PROGRESS) -i po/fm_IDL.dtd/fm_IDL.dtd.pot -o $(PO)/fm_IDL.dtd/$(LOCALE).po -t $(PO)/fm_IDL.dtd/$(LOCALE).po @pot2po $(PROGRESS) -i po/ils_events.xml/ils_events.xml.pot -o $(PO)/ils_events.xml/$(LOCALE).po -t $(PO)/ils_events.xml/$(LOCALE).po -- 2.11.0