diff --git a/backends/server/read.c b/backends/server/read.c index fd0403cb..ece079c6 100644 --- a/backends/server/read.c +++ b/backends/server/read.c @@ -51,5 +51,5 @@ glibtop_read_i (glibtop *server, glibtop_backend *backend, fprintf (stderr, "LIBRARY: read %d bytes.\n", ret); if (ret < 0) - glibtop_error_io_r (server, _("read %d bytes"), size); + glibtop_error_io_r (server, "read %d bytes", size); } diff --git a/backends/server/read_data.c b/backends/server/read_data.c index 2807ff17..5fa18b6a 100644 --- a/backends/server/read_data.c +++ b/backends/server/read_data.c @@ -49,7 +49,7 @@ glibtop_read_data_i (glibtop *server, glibtop_backend *backend) sizeof (size_t)); if (ret < 0) - glibtop_error_io_r (server, _("read data size")); + glibtop_error_io_r (server, "read data size"); #ifdef DEBUG fprintf (stderr, "LIBRARY: really reading %d data bytes (ret = %d).\n", size, ret); @@ -62,7 +62,7 @@ glibtop_read_data_i (glibtop *server, glibtop_backend *backend) ret = read (backend->_priv->input [0], ptr, size); if (ret < 0) - glibtop_error_io_r (server, _("read data %d bytes")); + glibtop_error_io_r (server, "read data %d bytes"); return ptr; } diff --git a/backends/server/write.c b/backends/server/write.c index 653d5a55..f8127729 100644 --- a/backends/server/write.c +++ b/backends/server/write.c @@ -48,5 +48,5 @@ glibtop_write_i (glibtop *server, glibtop_backend *backend, ret = write (backend->_priv->output [1], buf, size); if (ret < 0) - glibtop_error_io_r (server, _("write %d bytes"), size); + glibtop_error_io_r (server, "write %d bytes", size); } diff --git a/lib/lib.pl b/lib/lib.pl index 0cf20b8e..5eb28e07 100755 --- a/lib/lib.pl +++ b/lib/lib.pl @@ -50,15 +50,15 @@ print "\tcase GLIBTOP_ERROR_METHOD_WARN_ONCE:"; print "\t\t*required &= present;"; print "\tcase GLIBTOP_ERROR_METHOD_WARN:"; print "\t\tglibtop_warn_r (server,"; -print "\t\t\t\t_(\"glibtop_get_%s (): Client requested \""; -print "\t\t\t\t \"field mask %05lx, but only have %05lx.\"),"; +print "\t\t\t\t\"glibtop_get_%s (): Client requested \""; +print "\t\t\t\t\"field mask %05lx, but only have %05lx.\","; print "\t\t\t\t feature, (unsigned long) old_required,"; print "\t\t\t\t (unsigned long) present);"; print "\t\tbreak;"; print "\tcase GLIBTOP_ERROR_METHOD_ABORT:"; print "\t\tglibtop_error_r (server,"; -print "\t\t\t\t _(\"glibtop_get_%s (): Client requested \""; -print "\t\t\t\t \"field mask %05lx, but only have %05lx.\"),"; +print "\t\t\t\t\"glibtop_get_%s (): Client requested \""; +print "\t\t\t\t\"field mask %05lx, but only have %05lx.\","; print "\t\t\t\t feature, (unsigned long) old_required,"; print "\t\t\t\t (unsigned long) present);"; print "\t\tbreak;";