aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2026-03-19 17:06:25 +0800
committerJiang Xin <worldhello.net@gmail.com>2026-03-20 09:31:04 +0800
commitf697d08df7419d5d6256d15028a8d0a42c39ff3c (patch)
tree9449c90242db48fc4d6198f8fe1dc0950c77df5c
parentddae547e3775638c238c11f30120f1e7e763fba8 (diff)
downloadgit-f697d08df7419d5d6256d15028a8d0a42c39ff3c.tar.xz
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 <worldhello.net@gmail.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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