mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix .pot file generation, support _ and _N macros.
This commit is contained in:
parent
240fc17471
commit
bccd959833
4
Makefile
4
Makefile
@ -152,7 +152,9 @@ I18Npot = $(PODIR)/$(PLUGIN).pot
|
|||||||
msgfmt -c -o $@ $<
|
msgfmt -c -o $@ $<
|
||||||
|
|
||||||
$(I18Npot): $(SRCS)
|
$(I18Npot): $(SRCS)
|
||||||
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -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='<see README>' -o $@ `ls $^`
|
||||||
|
|
||||||
%.po: $(I18Npot)
|
%.po: $(I18Npot)
|
||||||
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
|
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
|
||||||
|
Loading…
Reference in New Issue
Block a user