po: do not hardcode the domain name
Use $(PACKAGE_NAME) to represent the current project.
This commit is contained in:
parent
e10a8702a7
commit
19300113fc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -26,7 +26,7 @@ all: $(WEBPACK_TEST)
|
||||||
LINGUAS=$(basename $(notdir $(wildcard po/*.po)))
|
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=$(PACKAGE_NAME) --output=$@ --language=C --keyword= \
|
||||||
--keyword=_:1,1t --keyword=_:1c,2,2t --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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue