From: Ben Shum Date: Mon, 17 Apr 2017 21:20:25 +0000 (-0400) Subject: LP#1681864: Add pocommentclean for db.seed cleanup prior to updatepo X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2151722dfff83d4c2ccfe875b9c347cafc803168;p=contrib%2FConifer.git 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 Signed-off-by: Galen Charlton --- 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