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:
committed by
Bastien Nocera
parent
07d991f383
commit
58b323cfab
@@ -75,5 +75,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);
|
||||
}
|
||||
|
@@ -65,7 +65,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;
|
||||
}
|
||||
|
@@ -48,5 +48,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user