From 19300113fc17c1064d3942b189ce75084a75a823 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 9 Mar 2022 08:27:20 +0100 Subject: [PATCH] po: do not hardcode the domain name Use $(PACKAGE_NAME) to represent the current project. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 68e84c1..442fc22 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ all: $(WEBPACK_TEST) LINGUAS=$(basename $(notdir $(wildcard po/*.po))) 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=N_ --keyword=NC_:1c,2 \ --keyword=gettext:1,1t --keyword=gettext:1c,2,2t \