aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-13 00:27:19 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-13 00:27:19 -0200
commit290775e2f07f454002edc589046e92b3a1d9f734 (patch)
treea55389859743da406bc6c21bc3c3d835f0d8a3e5
parente006ec8f6963103733f2007068317710a899d9a0 (diff)
dvbv5-zap: Add missing init code for locale
Without the init code, the translations won't happen. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--utils/dvb/dvbv5-zap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
index 794d9709..5a99ae39 100644
--- a/utils/dvb/dvbv5-zap.c
+++ b/utils/dvb/dvbv5-zap.c
@@ -743,6 +743,10 @@ int main(int argc, char **argv)
.args_doc = N_("<channel name> [or <frequency> if in monitor mode]"),
};
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
memset(&args, 0, sizeof(args));
args.sat_number = -1;
args.lna = LNA_AUTO;

Privacy Policy