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:32:20 +00:00
committed by Bastien Nocera
parent 08798f05f5
commit dde57bee91
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>
* src/inodedb/Makefile.am: link to libgtop_suid_common-2.0.la

View File

@@ -72,5 +72,5 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
}
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

@@ -63,7 +63,7 @@ glibtop_read_data_l (glibtop *server)
}
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;
}

View File

@@ -45,5 +45,5 @@ glibtop_write_l (glibtop *server, size_t size, void *buf)
}
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);
}