From 4e05ca524fd75bccbb87d790f10118c650320cda Mon Sep 17 00:00:00 2001 From: Burt P Date: Mon, 31 Jul 2017 21:56:17 -0500 Subject: Call setlocale() to clear the default "C" locale for CLI Fixes strings not being translated in the CLI. Signed-off-by: Burt P --- hardinfo/hardinfo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hardinfo') diff --git a/hardinfo/hardinfo.c b/hardinfo/hardinfo.c index 72abfde6..8c19150c 100644 --- a/hardinfo/hardinfo.c +++ b/hardinfo/hardinfo.c @@ -33,6 +33,7 @@ int main(int argc, char **argv) { GSList *modules; + setlocale(LC_ALL, ""); bindtextdomain("hardinfo", LOCALEDIR); textdomain("hardinfo"); -- cgit v1.2.3