summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_dns.c2
-rw-r--r--plugins/check_procs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index dd6ebdab..c30adac7 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -196,7 +196,7 @@ main (int argc, char **argv)
196 multi_address = TRUE; 196 multi_address = TRUE;
197 197
198 printf ("DNS %s: ", _("OK")); 198 printf ("DNS %s: ", _("OK"));
199 printf (_("%.3f seconds response time "), elapsed_time); 199 printf (ngettext("%.3f second response time ", "%.3f seconds response time ", elapsed_time), elapsed_time);
200 printf (_("%s returns %s"), query_address, address); 200 printf (_("%s returns %s"), query_address, address);
201 printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); 201 printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
202 } 202 }
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index f2fc2e5b..1be93f46 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -288,7 +288,7 @@ main (int argc, char **argv)
288 printf (_("%d crit, %d warn out of "), crit, warn); 288 printf (_("%d crit, %d warn out of "), crit, warn);
289 } 289 }
290 } 290 }
291 printf ("%d %s", procs, procs == 1 ? _("process") : _("processes")); 291 printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs);
292 292
293 if (strcmp(fmt,"") != 0) { 293 if (strcmp(fmt,"") != 0) {
294 printf (_(" with %s"), fmt); 294 printf (_(" with %s"), fmt);