po: Pick up also strings with specified context

Strings like `_("Context", "String to translate")` were not picked up.

Taken from ba95d680d2
This commit is contained in:
Martin Pitt 2021-11-19 09:37:33 +01:00 committed by Matej Marusak
parent 833326148f
commit 5966735547

View file

@ -26,7 +26,7 @@ LINGUAS=$(basename $(notdir $(wildcard po/*.po)))
po/$(PACKAGE_NAME).js.pot:
xgettext --default-domain=cockpit --output=$@ --language=C --keyword= \
--keyword=_:1,1t --keyword=_:1c,2,1t --keyword=C_:1c,2 \
--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 \
--keyword=ngettext:1,2,3t --keyword=ngettext:1c,2,3,4t \