diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-14 10:11:45 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-14 12:33:06 (GMT) |
commit | 25d1ee331dbe4977a4a1a756c67f32bd51d9b070 (patch) | |
tree | b15cfec59fdbaa8b283f8e7aa2e3d8c4207a7376 /plugins/check_nwstat.c | |
parent | b649333321701eccfd99df0d39c6b8d8c92d6a8b (diff) | |
download | monitoring-plugins-25d1ee331dbe4977a4a1a756c67f32bd51d9b070.tar.gz |
Fix translations when extra-opts aren't enabled
Bug #2832884 reported problem with translations outputting pot file
headers. This is caused by "" matching the header of the translation
files.
This patch moves gettext macros inside utils macros and update some
french translations.
Diffstat (limited to 'plugins/check_nwstat.c')
-rw-r--r-- | plugins/check_nwstat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c index 72a47b1..2c3369a 100644 --- a/plugins/check_nwstat.c +++ b/plugins/check_nwstat.c | |||
@@ -1605,10 +1605,10 @@ void print_help(void) | |||
1605 | 1605 | ||
1606 | print_usage(); | 1606 | print_usage(); |
1607 | 1607 | ||
1608 | printf (_(UT_HELP_VRSN)); | 1608 | printf (UT_HELP_VRSN); |
1609 | printf (_(UT_EXTRA_OPTS)); | 1609 | printf (UT_EXTRA_OPTS); |
1610 | 1610 | ||
1611 | printf (_(UT_HOST_PORT), 'p', myport); | 1611 | printf (UT_HOST_PORT, 'p', myport); |
1612 | 1612 | ||
1613 | printf (" %s\n", "-v, --variable=STRING"); | 1613 | printf (" %s\n", "-v, --variable=STRING"); |
1614 | printf (" %s\n", _("Variable to check. Valid variables include:")); | 1614 | printf (" %s\n", _("Variable to check. Valid variables include:")); |
@@ -1664,7 +1664,7 @@ void print_help(void) | |||
1664 | printf (" %s\n", "-o, --osversion"); | 1664 | printf (" %s\n", "-o, --osversion"); |
1665 | printf (" %s\n", _("Include server version string in results")); | 1665 | printf (" %s\n", _("Include server version string in results")); |
1666 | 1666 | ||
1667 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 1667 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
1668 | 1668 | ||
1669 | printf ("\n"); | 1669 | printf ("\n"); |
1670 | printf ("%s\n", _("Notes:")); | 1670 | printf ("%s\n", _("Notes:")); |
@@ -1675,10 +1675,10 @@ void print_help(void) | |||
1675 | printf (" %s\n", _(" when the following variables are checked: VPF, VKF, LTCH, CBUFF, DCB, ")); | 1675 | printf (" %s\n", _(" when the following variables are checked: VPF, VKF, LTCH, CBUFF, DCB, ")); |
1676 | printf (" %s\n", _(" TCB, LRUS and LRUM.")); | 1676 | printf (" %s\n", _(" TCB, LRUS and LRUM.")); |
1677 | #ifdef NP_EXTRA_OPTS | 1677 | #ifdef NP_EXTRA_OPTS |
1678 | printf (" -%s", _(UT_EXTRA_OPTS_NOTES)); | 1678 | printf (" -%s", UT_EXTRA_OPTS_NOTES); |
1679 | #endif | 1679 | #endif |
1680 | 1680 | ||
1681 | printf (_(UT_SUPPORT)); | 1681 | printf (UT_SUPPORT); |
1682 | } | 1682 | } |
1683 | 1683 | ||
1684 | 1684 | ||