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:
parent
833326148f
commit
5966735547
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -26,7 +26,7 @@ LINGUAS=$(basename $(notdir $(wildcard po/*.po)))
|
||||||
|
|
||||||
po/$(PACKAGE_NAME).js.pot:
|
po/$(PACKAGE_NAME).js.pot:
|
||||||
xgettext --default-domain=cockpit --output=$@ --language=C --keyword= \
|
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=N_ --keyword=NC_:1c,2 \
|
||||||
--keyword=gettext:1,1t --keyword=gettext:1c,2,2t \
|
--keyword=gettext:1,1t --keyword=gettext:1c,2,2t \
|
||||||
--keyword=ngettext:1,2,3t --keyword=ngettext:1c,2,3,4t \
|
--keyword=ngettext:1,2,3t --keyword=ngettext:1c,2,3,4t \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue