[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4417: 23.1.50; vc-hg is broken in non-English locales
From: |
Sven Joachim |
Subject: |
bug#4417: 23.1.50; vc-hg is broken in non-English locales |
Date: |
Tue, 22 Sep 2009 20:48:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
On 2009-09-22 20:14 +0200, Dan Nicolaescu wrote:
> Sven Joachim <svenjoac@gmx.de> writes:
>
> > Setting LANG to C works around the problems. For the reference, this is
> > my mercurial version:
> >
> > ,----
> > | % hg --version
> > | Mercurial Distributed SCM (version 1.3.1)
> > `----
>
> I have:
> hg --version
> Mercurial Distributed SCM (version 1.3)
Should not matter, the German translation has apparently not been
updated between 1.3 and 1.3.1.
> > When opening a file in a mercurial-controlled directory, the modeline
> > shows "Hg-0" instead of the revision number in my de_DE.UTF-8 locale.
> > Moreover, after pressing "C-x v l", the *vc-change-log* buffer is
> > unfontified, and standard keys (d, f) do not work there, because hg's
> > output is in German:
> >
> > ,----
> > | Ă„nderung: 1587:1cdfa7c5503e
> > | Vorgänger: 1585:ef75fa728cca
> > | Nutzer: Daniel Burrows <dburrows@debian.org>
> > | Datum: Sun Jul 20 12:31:09 2008 -0700
> > | Zusammenfassung: Document how aptitude handles double-quotes.
> > `----
>
> I can't reproduce this, doing:
>
> env LANG=de_DE.UTF-8 hg log
>
> does not print German headings.
>
> so it looks like this might be a bug in 1.3.1 or maybe in your
> installation.
Well, I would not call it a bug if a program puts out messages in a
language that it has been asked for. I rather think it's a bug in your
installation that it does not do that.
> Can you please check?
I'm not familiar with the gory details of Debian's Python setup.
The message catalog for mercurial is in a strange directory, namely
/usr/share/pyshared/mercurial/locale/de/LC_MESSAGES, rather than the
usual /usr/share/locale/de/LC_MESSAGES that all other programs use.
Sven