From 56c9db8516069b34a3174ee6511d5e6962007d27 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 11 Dec 2007 05:57:35 +0000 Subject: Adding missing function calls needed for i18n (only for plugins already in POTFILES.in) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1861 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_ntp_time.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/check_ntp_time.c') diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 60e2b5a0..f414c328 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c @@ -534,6 +534,10 @@ int main(int argc, char *argv[]){ double offset=0; char *result_line, *perfdata_line; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + result = offset_result = STATE_OK; if (process_arguments (argc, argv) == ERROR) -- cgit v1.2.3-74-g34f1