commit: 42f87f328e7e53ca317eeb90378d09cc28543517
parent: d2fc907c4be771e790feff5b87647df75ebef7fa
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 8 Jan 2020 05:18:19 +0100
badwolf.c: fix formatting
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/badwolf.c b/badwolf.c
@@ -330,7 +330,9 @@ detail_tls_certificate_flags(GTlsCertificateFlags tls_errors)
{
GString *errors = g_string_new(NULL);
- g_string_append_printf(errors, _("Couldn't verify the TLS certificate to ensure a better security of the connection. You might want to verify your machine and network.\n\n"));
+ g_string_append_printf(errors,
+ _("Couldn't verify the TLS certificate to ensure a better security of the "
+ "connection. You might want to verify your machine and network.\n\n"));
if(tls_errors & G_TLS_CERTIFICATE_UNKNOWN_CA)
g_string_append_printf(errors, _("Error: The X509 Certificate Authority is unknown.\n"));
@@ -339,7 +341,8 @@ detail_tls_certificate_flags(GTlsCertificateFlags tls_errors)
g_string_append(errors, _("Error: The given identity doesn't match the expected one.\n"));
if(tls_errors & G_TLS_CERTIFICATE_NOT_ACTIVATED)
- g_string_append(errors, _("Error: The certificate isn't valid yet. Check your system's clock.\n"));
+ g_string_append(errors,
+ _("Error: The certificate isn't valid yet. Check your system's clock.\n"));
if(tls_errors & G_TLS_CERTIFICATE_EXPIRED)
g_string_append(errors, _("Error: The certificate has expired. Check your system's clock.\n"));
@@ -377,7 +380,8 @@ WebViewCb_load_failed_with_tls_errors(WebKitWebView *web_view,
GTK_BUTTONS_NONE,
_("TLS Error for %s."),
failing_text);
- gtk_dialog_add_buttons(GTK_DIALOG(dialog), _("Temporarly Add Exception"), 1, _("Continue"), 0, NULL);
+ gtk_dialog_add_buttons(
+ GTK_DIALOG(dialog), _("Temporarly Add Exception"), 1, _("Continue"), 0, NULL);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), 0);
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), "%s\n", error_details);