Polish some more

This commit is contained in:
Ben Wiederhake 2015-10-20 00:02:56 +02:00
parent 7812603dee
commit b5521b1688
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ static void net_on_connected_assert_success (gpointer arg, gint fd, const gchar
struct tgl_state *TLS = c->TLS;
if (fd == -1) {
info ("Connection to main data center (%d) %s:%d not possible\n", c->dc->id, c->ip, c->port);
purple_connection_error_reason (tls_get_conn (TLS), PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Cannot connect to server"));
purple_connection_error_reason (tls_get_conn (TLS), PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Cannot connect to main server"));
return;
}
net_on_connected (arg, fd, error_message);

View file

@ -146,7 +146,7 @@ void request_accept_secret_chat (struct tgl_state *TLS, struct tgl_secret_chat *
data->TLS = TLS;
data->U = U;
gchar *message = g_strdup_printf (_("Accept secret chat '%s'?"), U->print_name);
gchar *message = g_strdup_printf (_("Accept secret chat '%s' on this device?"), U->print_name);
purple_request_accept_cancel (tls_get_conn (TLS), _("Secret chat"), message, _("Secret chats can only have one "
"end point. If you accept a secret chat on this device, its messages will not be available anywhere "
"else. If you decline, you can still accept the chat on other devices."), 0, tls_get_pa (TLS), who->name, NULL, data,