diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-22 06:22:38 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-22 06:22:38 +0000 |
commit | 22bd672d19c378f1e6124ee18e64e5a88cf53739 (patch) | |
tree | 127016323f2f3059819f75adb5568a00a0431fc2 /plugins/check_hpjd.c | |
parent | d35f99c8a9f546a0f02f09ad3f722f66322e813d (diff) | |
download | monitoring-plugins-22bd672d19c378f1e6124ee18e64e5a88cf53739.tar.gz |
- bindtextdomain for gettext, a few other smale cleanups here and there
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@690 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r-- | plugins/check_hpjd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index edde341e..72f6bd7e 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
@@ -79,6 +79,10 @@ main (int argc, char **argv) | |||
79 | 79 | ||
80 | errmsg = malloc(MAX_INPUT_BUFFER); | 80 | errmsg = malloc(MAX_INPUT_BUFFER); |
81 | 81 | ||
82 | setlocale (LC_ALL, ""); | ||
83 | bindtextdomain (PACKAGE, LOCALEDIR); | ||
84 | textdomain (PACKAGE); | ||
85 | |||
82 | if (process_arguments (argc, argv) != OK) | 86 | if (process_arguments (argc, argv) != OK) |
83 | usage (_("Invalid command arguments supplied\n")); | 87 | usage (_("Invalid command arguments supplied\n")); |
84 | 88 | ||
@@ -374,6 +378,7 @@ print_help (void) | |||
374 | { | 378 | { |
375 | print_revision (progname, revision); | 379 | print_revision (progname, revision); |
376 | 380 | ||
381 | printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n")); | ||
377 | printf (_(COPYRIGHT), copyright, email); | 382 | printf (_(COPYRIGHT), copyright, email); |
378 | 383 | ||
379 | printf (_("\ | 384 | printf (_("\ |