From: Jiang Xin Date: Thu, 19 Mar 2026 09:06:25 +0000 (+0800) Subject: gitk: i18n: use "Gitk" as package name in POT file X-Git-Tag: v2.54.0-rc0~54^2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f697d08;p=thirdparty%2Fgit.git gitk: i18n: use "Gitk" as package name in POT file Use "Gitk" instead of the placeholder "PACKAGE" in the header of the generated po/gitk.pot file. In particular, the "Project-Id-Version" field in the header entry should be set to: "Project-Id-Version: Gitk\n" New PO files generated from this POT file will inherit that package name. Signed-off-by: Jiang Xin --- diff --git a/Makefile b/Makefile index cc32dcab4b..a9675a2145 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ gitk-wish: gitk GIT-TCLTK-VARS $(SHELL_PATH) ./generate-tcl.sh "$(TCLTK_PATH_SQ)" "$<" "$@" $(PO_TEMPLATE): gitk - $(XGETTEXT) -kmc -LTcl -o $@ gitk + $(XGETTEXT) -kmc -LTcl --package-name=Gitk -o $@ gitk update-po:: $(PO_TEMPLATE) $(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; ) $(ALL_MSGFILES): %.msg : %.po