diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c index 3015457a5..3b0f369d8 100644 --- a/gio/gdbusaddress.c +++ b/gio/gdbusaddress.c @@ -244,8 +244,8 @@ is_valid_nonce_tcp (const gchar *address_entry, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Error in address “%s” — the port attribute is malformed"), - address_entry); + _("Error in address “%s” — the “%s” attribute is malformed"), + address_entry, "port"); goto out; } } @@ -255,8 +255,8 @@ is_valid_nonce_tcp (const gchar *address_entry, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Error in address “%s” — the family attribute is malformed"), - address_entry); + _("Error in address “%s” — the “%s” attribute is malformed"), + address_entry, "family"); goto out; } @@ -325,8 +325,8 @@ is_valid_tcp (const gchar *address_entry, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Error in address “%s” — the port attribute is malformed"), - address_entry); + _("Error in address “%s” — the “%s” attribute is malformed"), + address_entry, "port"); goto out; } } @@ -336,8 +336,8 @@ is_valid_tcp (const gchar *address_entry, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Error in address “%s” — the family attribute is malformed"), - address_entry); + _("Error in address “%s” — the “%s” attribute is malformed"), + address_entry, "family"); goto out; }