From 2d57c1f09ed707c6e6e136881624a4db0c064c0f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 7 Apr 2008 22:50:22 +0200 Subject: [PATCH] mkfs.cramfs: switch on localization. Signed-off-by: Benno Schulenberg --- disk-utils/mkfs.cramfs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index e61ac9e1..8f3feb6e 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -745,6 +745,10 @@ int main(int argc, char **argv) progname = p+1; } + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + /* command line options */ while ((c = getopt(argc, argv, "hb:Ee:i:n:psVvz")) != EOF) { switch (c) { -- 2.39.5