xfs
[Top] [All Lists]

Bug#634952: xfsprogs: xfs_quota commands are internationalized

To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: Bug#634952: xfsprogs: xfs_quota commands are internationalized
From: Cajus Pollmeier <pollmeier@xxxxxxxxxx>
Date: Thu, 21 Jul 2011 10:56:13 +0200
Delivered-to: submit@xxxxxxxxxxxxxxx
Organization: GONICUS GmbH
Reply-to: Cajus Pollmeier <pollmeier@xxxxxxxxxx>, 634952@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Thu, 21 Jul 2011 09:06:01 +0000
Resent-from: Cajus Pollmeier <pollmeier@xxxxxxxxxx>
Resent-message-id: <handler.634952.B.131123902829445@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
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



<Prev in Thread] Current Thread [Next in Thread>