Whamcloud - gitweb
libquota: remove NLS support
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Oct 2011 15:57:53 +0000 (11:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Oct 2011 23:18:15 +0000 (19:18 -0400)
commitc93c1bc24becd643ea8948b33cbfd5cedacb215e
treedf0ca179023e10b3c77b66d1bf32f55a60aa56a2
parentd6120a2a5e9825557fb36cddb028fe5d4b00afec
libquota: remove NLS support

In general libraries should never (a) call exit() or (b) print output
directly to the stdout (they might be used by GUI programs.  From (b)
follows (c), should never call internationalization functions
directly.

Also, since po/POTFILES.in wasn't edited, these strings weren't
getting included in e2fsprogs.pot for translation, so the _()
indirection didn't actually buy us anything.

We eventually need to nuke all of the log_fatal() and log_err() from
libquota, so best thing to do for now is remove NLS support
completely; no point whipsawing the translators with strings to
translate that will be disappearing soon anyway!

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/quota/common.h