apply patch for ngettext support by Christian Neumair <chris@gnome-de.org>

2003-10-20  Bastien Nocera  <hadess@hadess.net>

	* lib/read.c: (glibtop_read_l):
	* lib/read_data.c: (glibtop_read_data_l):
	* lib/write.c: (glibtop_write_l): apply patch for ngettext support
	by Christian Neumair <chris@gnome-de.org>
This commit is contained in:
Bastien Nocera
2003-10-20 21:33:01 +00:00
committed by Bastien Nocera
parent 07d991f383
commit 58b323cfab
4 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
2003-10-20 Bastien Nocera <hadess@hadess.net>
* lib/read.c: (glibtop_read_l):
* lib/read_data.c: (glibtop_read_data_l):
* lib/write.c: (glibtop_write_l): apply patch for ngettext support
by Christian Neumair <chris@gnome-de.org>
2003-10-20 Bastien Nocera <hadess@hadess.net> 2003-10-20 Bastien Nocera <hadess@hadess.net>
* include/glibtop/cpu.h: * include/glibtop/cpu.h:

View File

@@ -75,5 +75,5 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
} }
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("read %d bytes"), size); glibtop_error_io_r (server, ngettext ("read %d byte", "read %d bytes", size), size);
} }

View File

@@ -65,7 +65,7 @@ glibtop_read_data_l (glibtop *server)
} }
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("read data %d bytes")); glibtop_error_io_r (server, ngettext ("read data %d byte", "read data %d bytes", size));
return ptr; return ptr;
} }

View File

@@ -48,5 +48,5 @@ glibtop_write_l (glibtop *server, size_t size, void *buf)
} }
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("write %d bytes"), size); glibtop_error_io_r (server, ngettext ("write %d byte", "write %d bytes", size), size);
} }