Re: gitk translation updates needed?
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:10
Michele Ballabio [off-list ref] writes:
quoted
$ make po/gitk.pot $ msgmerge -U po/it.po po/gitk.pot ;# and for other languages... $ make po/it.msgYes, with these steps it.po now contains: #: gitk:2782 #, fuzzy msgid "" "\n" "Gitk - a commit viewer for git\n" "\n" "Copyright ©9 2005-2009 Paul Mackerras\n" "\n" "Use and redistribute under the terms of the GNU General Public License" The "fuzzy" attribute is bogus but is understandable, because the msgid changed: "©" became "©9". What I don't get is: why "©" became "©9"? Was it a needed change or just an oversight?
Very interesting.
The last commit that touched the copyright line in gitk was aa43561 (gitk:
Don't compare fake children when comparing commits, 2009-09-10) that
updated the years. But the commit did not change the circle-c symbol at
all:
$ git show --format='%H' -U1 aa43561a | head -n 10 | tail -n 2 | od -cx
0000000 - # C o p y r i g h t 302 251
232d 4320 706f 7279 6769 7468 c220 20a9
0000020 2 0 0 5 - 2 0 0 8 P a u l M
...
0000100 + # C o p y r i g h t 302 251
232b 4320 706f 7279 6769 7468 c220 20a9
0000120 2 0 0 5 - 2 0 0 9 P a u l M
"make po/gitk.pot" which is "xgettext -kmc -LTcl -o po/gitk.pot gitk"
however produces this:
$ grep Paul po/gitk.pot | od -cx
0000000 " C o p y r i g h t 302 251 9 2
4322 706f 7279 6769 7468 c220 39a9 3220
0000020 0 0 5 - 2 0 0 9 P a u l M a
...
Notice that "302 251 9"?
Is this a bug in "gettext", perhaps?