From e0b6d59597a1766b4127f071852745a98670d583 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 10 Dec 2004 00:20:23 +0000 Subject: Reverting back ngettext calls git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1017 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_procs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_procs.c') 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) printf (_("%d crit, %d warn out of "), crit, warn); } } - printf ("%d %s", procs, procs == 1 ? _("process") : _("processes")); + printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs); if (strcmp(fmt,"") != 0) { printf (_(" with %s"), fmt); -- cgit v1.2.3