Skip to content

Commit f697d08

Browse files
committed
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>
1 parent ddae547 commit f697d08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ gitk-wish: gitk GIT-TCLTK-VARS
6868
$(SHELL_PATH) ./generate-tcl.sh "$(TCLTK_PATH_SQ)" "$<" "$@"
6969

7070
$(PO_TEMPLATE): gitk
71-
$(XGETTEXT) -kmc -LTcl -o $@ gitk
71+
$(XGETTEXT) -kmc -LTcl --package-name=Gitk -o $@ gitk
7272
update-po:: $(PO_TEMPLATE)
7373
$(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; )
7474
$(ALL_MSGFILES): %.msg : %.po

0 commit comments

Comments
 (0)