Makefile: have xgettext extract translator comments
This commit is contained in:
parent
58e40f033f
commit
ff488f37ae
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -49,6 +49,7 @@ LINGUAS=$(basename $(notdir $(wildcard po/*.po)))
|
|||
|
||||
po/$(PACKAGE_NAME).js.pot:
|
||||
xgettext --default-domain=$(PACKAGE_NAME) --output=$@ --language=C --keyword= \
|
||||
--add-comments=Translators: \
|
||||
--keyword=_:1,1t --keyword=_:1c,2,2t --keyword=C_:1c,2 \
|
||||
--keyword=N_ --keyword=NC_:1c,2 \
|
||||
--keyword=gettext:1,1t --keyword=gettext:1c,2,2t \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue