From bccd959833cd9b8ca2d0617406f8dc26562d5a96 Mon Sep 17 00:00:00 2001 From: Johns Date: Wed, 13 Feb 2013 22:46:08 +0100 Subject: Fix .pot file generation, support _ and _N macros. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 723747d..3467573 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,9 @@ I18Npot = $(PODIR)/$(PLUGIN).pot msgfmt -c -o $@ $< $(I18Npot): $(SRCS) - xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='' -o $@ `ls $^` + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP \ + -k_ -k_N --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) \ + --msgid-bugs-address='' -o $@ `ls $^` %.po: $(I18Npot) msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< -- cgit v1.2.3