mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gdbusaddress: Collapse two translatable strings into one
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
3c4ff30c0f
commit
e99003841a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user