git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk translation updates needed?

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 3, 2010, 22:20 UTC
Message-ID
<7v636ec677.fsf@alter.siamese.dyndns.org>
In-Reply-To
<201002032156.16101.barra_cuda@katamail.com>
Michele Ballabio <barra_cuda@katamail.com> writes:
Show 19 quoted lines
>>  $ make po/gitk.pot
>>  $ msgmerge -U po/it.po po/gitk.pot ;# and for other languages...
>>  $ make po/it.msg
>
> Yes, 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?
Previous: Junio C HamanoNext: Junio C Hamano
Message 11 of 15 in “git-gui translation updates needed”
  1. Shawn O. PearceFeb 1, 2010
  2. git-gui: update Japanese translationNanako Shiraishi, Feb 2, 2010
  3. git-gui: update french translationEmmanuel Trillaud, Feb 2, 2010
  4. Junio C HamanoFeb 3, 2010
  5. gitk translation updates needed?Junio C Hamano, Feb 3, 2010
  6. Michele BallabioFeb 3, 2010
  7. Junio C HamanoFeb 3, 2010
  8. Michele BallabioFeb 3, 2010
  9. Paul MackerrasFeb 3, 2010
  10. Junio C HamanoFeb 3, 2010
  11. Junio C HamanoFeb 3, 2010
  12. Junio C HamanoFeb 3, 2010
  13. Michele BallabioFeb 3, 2010
  14. Junio C HamanoFeb 3, 2010
  15. Shawn O. PearceFeb 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.