Disable i18n here.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user