From 5966735547a7e8a39693b64c438c0eb5efd7b1bb Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 19 Nov 2021 09:37:33 +0100 Subject: [PATCH] po: Pick up also strings with specified context Strings like `_("Context", "String to translate")` were not picked up. Taken from https://github.com/cockpit-project/cockpit/commit/ba95d680d2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b869d58..dc2cf09 100644 --- a/Makefile +++ b/Makefile @@ -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 \