Broken xfce4-about / Maybe bug in libxfce4util

Enrico Tröger enrico.troeger at uvena.de
Sat May 10 09:50:42 CEST 2008


On Tue, 08 Apr 2008 10:33:30 -0700, "Brian J. Tarricone"
<bjt23 at cornell.edu> wrote:

> Enrico Tröger wrote:
> > Hi all,
> > 
> > I was just about writing a German localized version of the Info
> > text in xfce4-about. While testing I noticed it isn't used at all.
> > 
> > After reading the code to get an idea what's going wrong, I noticed
> > something strange in xfce_localize_path_internal()
> > (libxfce4util/trunk/libxfce4util/xfce-i18n.c:95).
> > There is a check:
> > 
> > if (G_LIKELY (lang != NULL && strchr (lang, '/') != NULL))
> > 
> > I don't understand why lang should contain a '/'. This is why it
> > doesn't work for me. My locale is "de_DE.UTF-8".
> > 
> > If I run xfce4-about with
> > LANG=de_DE.UTF-8/ xfce4-about
> > it works because the check for the '/' is TRUE and the localized
> > version is used. But when are '/' are used in locales? I've never
> > seen this before.
> > 
> > Is this a bug or am I missing something?
> 
> That's pretty strange... I think Benny wrote that code; maybe he can 
> shed some light on it.

Just for the general "on the mailing list it get lost"
phenomenon, I filed a bug report.

http://bugzilla.xfce.org/show_bug.cgi?id=4071

There seems to be no component for libxfce4util or similar, so I filed
it in "general".

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080510/0387b84f/attachment.pgp>


More information about the Xfce4-dev mailing list