logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: cac1bac24900a80d25b58000f1cbb8dd1ef98fa6
parent: f74132929d008a5b07f7143e876c68e27cf33cf2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 17 May 2020 16:11:21 +0200

badwolf: gcc-10 fix

Diffstat:

Mbadwolf.c3+--
Mbadwolf.h4++--
Mpo/messages.pot62+++++++++++++++++++++++++++++++-------------------------------
3 files changed, 34 insertions(+), 35 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -16,11 +16,10 @@ #include <stdlib.h> /* malloc() */ #include <unistd.h> /* access() */ +gchar *web_extensions_directory; const gchar *homepage = "https://hacktivis.me/projects/badwolf"; const gchar *version = VERSION; -gchar *web_extensions_directory; - static gboolean WebViewCb_close(WebKitWebView *webView, gpointer user_data); static gboolean WebViewCb_web_process_terminated(WebKitWebView *webView, WebKitWebProcessTerminationReason reason, diff --git a/badwolf.h b/badwolf.h @@ -4,8 +4,8 @@ #include <gtk/gtk.h> #include <webkit2/webkit2.h> -const gchar *homepage; -const gchar *version; +extern const gchar *homepage; +extern const gchar *version; struct Window { diff --git a/po/messages.pot b/po/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 0.5.1+gb30f00ef.develop\n" +"Project-Id-Version: Badwolf 0.5.1+g446353a.develop\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-05-16 06:59+0200\n" +"POT-Creation-Date: 2020-05-17 16:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -41,23 +41,23 @@ msgstr "" msgid "Badwolf Downloads" msgstr "" -#: badwolf.c:873 +#: badwolf.c:872 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "" -#: badwolf.c:402 +#: badwolf.c:401 msgid "Continue" msgstr "" -#: badwolf.c:352 +#: badwolf.c:351 msgid "" "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" msgstr "" -#: badwolf.c:100 +#: badwolf.c:99 msgid "Crashed" msgstr "" @@ -65,31 +65,31 @@ msgstr "" msgid "Download starting…" msgstr "" -#: badwolf.c:375 +#: badwolf.c:374 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" -#: badwolf.c:356 +#: badwolf.c:355 msgid "Error: The X509 Certificate Authority is unknown.\n" msgstr "" -#: badwolf.c:369 +#: badwolf.c:368 msgid "Error: The certificate has been revoked.\n" msgstr "" -#: badwolf.c:366 +#: badwolf.c:365 msgid "Error: The certificate has expired. Check your system's clock.\n" msgstr "" -#: badwolf.c:372 +#: badwolf.c:371 msgid "Error: The certificate is considered to be insecure.\n" msgstr "" -#: badwolf.c:363 +#: badwolf.c:362 msgid "Error: The certificate isn't valid yet. Check your system's clock.\n" msgstr "" -#: badwolf.c:359 +#: badwolf.c:358 msgid "Error: The given identity doesn't match the expected one.\n" msgstr "" @@ -100,79 +100,79 @@ msgid "" "Runtime WebKit version: %d.%d.%d" msgstr "" -#: badwolf.c:802 +#: badwolf.c:801 msgid "New tab" msgstr "" -#: badwolf.c:922 +#: badwolf.c:921 msgid "Open new tab" msgstr "" -#: badwolf.c:104 +#: badwolf.c:103 msgid "Out of Memory" msgstr "" -#: badwolf.c:871 +#: badwolf.c:870 #, c-format msgid "Running Badwolf version: %s\n" msgstr "" -#: badwolf.c:878 +#: badwolf.c:877 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "" -#: badwolf.c:399 +#: badwolf.c:398 #, c-format msgid "TLS Error for %s." msgstr "" -#: badwolf.c:402 +#: badwolf.c:401 msgid "Temporarily Add Exception" msgstr "" -#: badwolf.c:599 +#: badwolf.c:598 msgid "Toggle javascript" msgstr "" -#: badwolf.c:604 +#: badwolf.c:603 msgid "Toggle loading images automatically" msgstr "" -#: badwolf.c:108 +#: badwolf.c:107 msgid "Unknown Crash" msgstr "" -#: badwolf.c:602 +#: badwolf.c:601 msgid "_IMG" msgstr "" -#: badwolf.c:597 +#: badwolf.c:596 msgid "_JS" msgstr "" -#: badwolf.c:717 +#: badwolf.c:716 msgid "search in current page" msgstr "" -#: badwolf.c:99 +#: badwolf.c:98 msgid "the web process crashed.\n" msgstr "" -#: badwolf.c:103 +#: badwolf.c:102 msgid "the web process exceeded the memory limit.\n" msgstr "" -#: badwolf.c:107 +#: badwolf.c:106 msgid "the web process terminated for an unknown reason.\n" msgstr "" -#: badwolf.c:885 +#: badwolf.c:884 #, c-format msgid "webkit-web-extension directory set to: %s\n" msgstr "" #. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext. -#: badwolf.c:956 +#: badwolf.c:955 msgid "ø" msgstr ""