Debian Bug report logs - #634952
xfsprogs: xfs_quota commands are internationalized

version graph

Package: xfsprogs; Maintainer for xfsprogs is XFS Development Team <linux-xfs@vger.kernel.org>; Source for xfsprogs is src:xfsprogs (PTS, buildd, popcon).

Reported by: Cajus Pollmeier <pollmeier@gonicus.de>

Date: Thu, 21 Jul 2011 09:06:01 UTC

Severity: normal

Found in version xfsprogs/3.1.5

Fixed in version xfsprogs/3.1.6

Done: Eric Sandeen <sandeen@sandeen.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#634952; Package xfsprogs. (Thu, 21 Jul 2011 09:06:10 GMT) (full text, mbox, link).


Acknowledgement sent to Cajus Pollmeier <pollmeier@gonicus.de>:
New Bug report received and forwarded. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Thu, 21 Jul 2011 09:06:14 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Cajus Pollmeier <pollmeier@gonicus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xfsprogs: xfs_quota commands are internationalized
Date: Thu, 21 Jul 2011 10:56:13 +0200
Package: xfsprogs
Version: 3.1.5
Severity: normal


If your system locale is non english and you use the xfs_quota tool, you
run into problems if you do not set LC_ALL=C in front of your command:

# xfs_quota -x -c report /home
Befehl »report« nicht gefunden

vs

# LC_ALL=C xfs_quota -x -c report /home
...

The command registration uses gettext for the command 'name', which
makes it work like this:

# xfs_quota -x -c Bericht /home
...

The manualpage does not give any hints to the fact that commands are
translated and I'd recommend to remove the _() around the registered
names to not confuse users.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





Information forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#634952; Package xfsprogs. (Thu, 21 Jul 2011 10:00:17 GMT) (full text, mbox, link).


Acknowledgement sent to Arkadiusz Miskiewicz <arekm@maven.pl>:
Extra info received and forwarded to list. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Thu, 21 Jul 2011 10:00:26 GMT) (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Arkadiusz Miskiewicz <arekm@maven.pl>
To: xfs@oss.sgi.com, Cajus Pollmeier <pollmeier@gonicus.de>, 634952@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#634952: xfsprogs: xfs_quota commands are internationalized
Date: Thu, 21 Jul 2011 11:50:49 +0200
On Thursday 21 of July 2011, Cajus Pollmeier wrote:
> Package: xfsprogs
> Version: 3.1.5
> Severity: normal

Will be fixed in next release. In meantime backport this patch from git
http://oss.sgi.com/cgi-
bin/gitweb.cgi?p=xfs/cmds/xfsprogs.git;a=commit;h=ad76559588085a614402ef6fecbaee0acc41c033

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/




Information forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#634952; Package xfsprogs. (Thu, 21 Jul 2011 10:00:33 GMT) (full text, mbox, link).


Acknowledgement sent to Arkadiusz Miskiewicz <arekm@maven.pl>:
Extra info received and forwarded to list. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Thu, 21 Jul 2011 10:00:35 GMT) (full text, mbox, link).


Reply sent to Eric Sandeen <sandeen@sandeen.net>:
You have taken responsibility. (Thu, 05 Jan 2017 23:42:03 GMT) (full text, mbox, link).


Notification sent to Cajus Pollmeier <pollmeier@gonicus.de>:
Bug acknowledged by developer. (Thu, 05 Jan 2017 23:42:03 GMT) (full text, mbox, link).


Message #20 received at 634952-done@bugs.debian.org (full text, mbox, reply):

From: Eric Sandeen <sandeen@sandeen.net>
To: 634952-done@bugs.debian.org
Subject: close
Date: Thu, 5 Jan 2017 17:30:53 -0600
Package: xfsprogs
Version: 3.1.6

Fixed with:

commit ad76559588085a614402ef6fecbaee0acc41c033
Author: Arkadiusz Miśkiewicz <arekm@maven.pl>
Date:   Fri Apr 15 09:07:18 2011 +0000

    xfsprogs: Don't translate command name
    
    Command names should never be translated. Currently there is
    'xfs_quota -x -c "project"...' in one locale (C) while
    'xfs_quota -x -c "projekt"...' in another (pl_PL).
    
    Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
    Signed-off-by: Alex Elder <aelder@sgi.com>



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 03 Feb 2017 07:26:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 22:38:47 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.