All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug#634952: xfsprogs: xfs_quota commands are internationalized
@ 2011-07-21  8:56 Cajus Pollmeier
  2011-07-21  9:50 ` Arkadiusz Miskiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Cajus Pollmeier @ 2011-07-21  8:56 UTC (permalink / raw)
  To: Debian Bug Tracking System


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



_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug#634952: xfsprogs: xfs_quota commands are internationalized
  2011-07-21  8:56 Bug#634952: xfsprogs: xfs_quota commands are internationalized Cajus Pollmeier
@ 2011-07-21  9:50 ` Arkadiusz Miskiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Arkadiusz Miskiewicz @ 2011-07-21  9:50 UTC (permalink / raw)
  To: xfs, Cajus Pollmeier, 634952; +Cc: Debian Bug Tracking System

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/

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-21  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21  8:56 Bug#634952: xfsprogs: xfs_quota commands are internationalized Cajus Pollmeier
2011-07-21  9:50 ` Arkadiusz Miskiewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.