From 8d1efb45c97554b348165ef899048c1e35b889cb Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 9 May 2013 12:16:33 -0400 Subject: [PATCH] Add targets for sources of TPAC strings from skins Primarily interested in Conifer and Laurentian skins as the most bilingual institutions, but include others as well. Signed-off-by: Dan Scott --- build/i18n/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build/i18n/Makefile b/build/i18n/Makefile index 343909a85e..3c119d204c 100644 --- a/build/i18n/Makefile +++ b/build/i18n/Makefile @@ -33,6 +33,13 @@ SQLPOT=db.seed.pot SQLPO=db.seed.po SQLOUT=950.data.seed-values TPAC_SRC=../../Open-ILS/src/templates/opac/ +TPAC_CONIFER_SRC=../../Open-ILS/src/templates_conifer/opac/ +TPAC_HUNT_SRC=../../Open-ILS/src/templates_huntington/opac/ +TPAC_NOSM_SRC=../../Open-ILS/src/templates_nosm/opac/ +TPAC_OSUL_SRC=../../Open-ILS/src/templates_laurentian/opac/ +TPAC_SJCG_SRC=../../Open-ILS/src/templates_sjcg/opac/ +TPAC_SUDBURY_SRC=../../Open-ILS/src/templates_usudbury/opac/ +TPAC_WINDSOR_SRC=../../Open-ILS/src/templates_usudbury/opac/ TT_LOCALE=../../Open-ILS/src/templates/locale/ PROGRESS=--progress none @@ -210,7 +217,7 @@ props2pot: mklocale tpac2pot: mklocale @mkdir -p po/tpac - @xgettext.pl --plugin=tt2 --directory=$(TPAC_SRC) --output-dir=po/tpac/ --output=tpac.pot + @xgettext.pl --plugin=tt2 --D=$(TPAC_SRC) -D=$(TPAC_CONIFER_SRC) -D=$(TPAC_HUNT_SRC) -D=$(TPAC_NOSM_SRC) -D=$(TPAC_OSUL_SRC) -D=$(TPAC_SJCG_SRC) -D=$(TPAC_SUDBURY_SRC) -D=$(TPAC_WINDSOR_SRC) --output-dir=po/tpac/ --output=tpac.pot mklocale: @mkdir -p locale/$(LOCALE) -- 2.11.0