g_set_error (error,
G_IO_ERROR,
G_IO_ERROR_INVALID_ARGUMENT,
- _("Address element `%s', does not contain a colon (:)"),
+ _("Address element `%s' does not contain a colon (:)"),
address_entry);
goto out;
}
g_set_error (error,
G_IO_ERROR,
G_IO_ERROR_INVALID_ARGUMENT,
- _("Key/Value pair %d, `%s', in address element `%s', does not contain an equal sign"),
+ _("Key/Value pair %d, `%s', in address element `%s' does not contain an equal sign"),
n,
kv_pair,
address_entry);
{
gchar *type_string = g_variant_type_dup_string (type);
- g_warning ("Type of return value is incorrect, got `%s', expected `%s'",
- g_variant_get_type_string (parameters), type_string);
+ g_warning ("Type of return value is incorrect: expected `%s', got `%s''",
+ type_string, g_variant_get_type_string (parameters));
g_variant_type_free (type);
g_free (type_string);
goto out;
g_set_error_literal (error,
G_IO_ERROR,
G_IO_ERROR_INVALID_ARGUMENT,
- _("Can't handle the supplied version the icon encoding"));
+ _("Can't handle the supplied version of the icon encoding"));
}
else
{
{
g_set_error (error, G_MARKUP_ERROR,
G_MARKUP_ERROR_INVALID_CONTENT,
- _("<schema id='%s'> extends not yet "
- "existing schema '%s'"), id, extends_name);
+ _("<schema id='%s'> extends not-yet-existing "
+ "schema '%s'"), id, extends_name);
return;
}
}
{
g_set_error (error, G_MARKUP_ERROR,
G_MARKUP_ERROR_INVALID_CONTENT,
- _("<schema id='%s'> is list of not yet "
- "existing schema '%s'"), id, list_of);
+ _("<schema id='%s'> is list of not-yet-existing "
+ "schema '%s'"), id, list_of);
return;
}
element_name, container);
else
g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_UNKNOWN_ELEMENT,
- _("Element <%s> not allowed at toplevel"), element_name);
+ _("Element <%s> not allowed at the top level"), element_name);
}
/* 2}}} */
/* End element {{{2 */
{
fprintf (stderr,
_("override for key `%s' in schema `%s' in "
- "override file `%s' is out of the range "
+ "override file `%s' is outside the range "
"given in the schema"),
key, group, filename);
* @socket: a #GSocket.
*
* Returns the underlying OS socket object. On unix this
- * is a socket file descriptor, and on windows this is
+ * is a socket file descriptor, and on Windows this is
* a Winsock2 SOCKET handle. This may be useful for
* doing platform specific or otherwise unusual operations
* on the socket.
if (!check_socket (socket, error))
return FALSE;
- /* SO_REUSEADDR on windows means something else and is not what we want.
+ /* SO_REUSEADDR on Windows means something else and is not what we want.
It always allows the unix variant of SO_REUSEADDR anyway */
#ifndef G_OS_WIN32
{
if (num_messages != 0)
{
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
- _("GSocketControlMessage not supported on windows"));
+ _("GSocketControlMessage not supported on Windows"));
return -1;
}
g_set_error_literal (&last_error,
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
- _("Trying to proxy over non-TCP connection is not supported."));
+ _("Proxying over a non-TCP connection is not supported."));
g_object_unref (connection);
connection = NULL;
g_set_error_literal (&data->last_error,
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
- _("Trying to proxy over non-TCP connection is not supported."));
+ _("Proxying over a non-TCP connection is not supported."));
enumerator_next_async (data);
}
case SOCKS5_AUTH_NO_ACCEPT:
default:
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PROXY_AUTH_FAILED,
- _("The SOCKSv5 proxy requires an authentication method that is not "
- "supported by GLib."));
+ _("The SOCKSv5 proxy requires an authentication "
+ "method that is not supported by GLib."));
return FALSE;
break;
}
*errmsg = _("\\c at end of pattern");
break;
case G_REGEX_ERROR_UNRECOGNIZED_ESCAPE:
- *errmsg = _("unrecognized character follows \\");
+ *errmsg = _("unrecognized character following \\");
break;
case G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER:
*errmsg = _("numbers out of order in {} quantifier");