Disable i18n here.

This commit is contained in:
Martin Baulig
2000-01-09 14:24:16 +00:00
parent 9b8fd192d0
commit a1c574c502
4 changed files with 8 additions and 8 deletions

View File

@@ -51,5 +51,5 @@ glibtop_read_i (glibtop *server, glibtop_backend *backend,
fprintf (stderr, "LIBRARY: read %d bytes.\n", ret); fprintf (stderr, "LIBRARY: read %d bytes.\n", ret);
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("read %d bytes"), size); glibtop_error_io_r (server, "read %d bytes", size);
} }

View File

@@ -49,7 +49,7 @@ glibtop_read_data_i (glibtop *server, glibtop_backend *backend)
sizeof (size_t)); sizeof (size_t));
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("read data size")); glibtop_error_io_r (server, "read data size");
#ifdef DEBUG #ifdef DEBUG
fprintf (stderr, "LIBRARY: really reading %d data bytes (ret = %d).\n", size, ret); 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); ret = read (backend->_priv->input [0], ptr, size);
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("read data %d bytes")); glibtop_error_io_r (server, "read data %d bytes");
return ptr; return ptr;
} }

View File

@@ -48,5 +48,5 @@ glibtop_write_i (glibtop *server, glibtop_backend *backend,
ret = write (backend->_priv->output [1], buf, size); ret = write (backend->_priv->output [1], buf, size);
if (ret < 0) if (ret < 0)
glibtop_error_io_r (server, _("write %d bytes"), size); glibtop_error_io_r (server, "write %d bytes", size);
} }

View File

@@ -50,15 +50,15 @@ print "\tcase GLIBTOP_ERROR_METHOD_WARN_ONCE:";
print "\t\t*required &= present;"; print "\t\t*required &= present;";
print "\tcase GLIBTOP_ERROR_METHOD_WARN:"; print "\tcase GLIBTOP_ERROR_METHOD_WARN:";
print "\t\tglibtop_warn_r (server,"; print "\t\tglibtop_warn_r (server,";
print "\t\t\t\t_(\"glibtop_get_%s (): Client requested \""; 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\"field mask %05lx, but only have %05lx.\",";
print "\t\t\t\t feature, (unsigned long) old_required,"; print "\t\t\t\t feature, (unsigned long) old_required,";
print "\t\t\t\t (unsigned long) present);"; print "\t\t\t\t (unsigned long) present);";
print "\t\tbreak;"; print "\t\tbreak;";
print "\tcase GLIBTOP_ERROR_METHOD_ABORT:"; print "\tcase GLIBTOP_ERROR_METHOD_ABORT:";
print "\t\tglibtop_error_r (server,"; print "\t\tglibtop_error_r (server,";
print "\t\t\t\t _(\"glibtop_get_%s (): Client requested \""; 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\"field mask %05lx, but only have %05lx.\",";
print "\t\t\t\t feature, (unsigned long) old_required,"; print "\t\t\t\t feature, (unsigned long) old_required,";
print "\t\t\t\t (unsigned long) present);"; print "\t\t\t\t (unsigned long) present);";
print "\t\tbreak;"; print "\t\tbreak;";