From db49a0a36361a742f0e5a1f834fb5fea4e259cb2 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 16 Dec 2019 05:41:03 +0100 Subject: Add more strings to translation --- keybindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keybindings.c') diff --git a/keybindings.c b/keybindings.c index d75a438..0ea4384 100644 --- a/keybindings.c +++ b/keybindings.c @@ -11,7 +11,7 @@ badwolf_about_dialog(GtkWindow *main_window) "license", "SPDX-License-Identifier: BSD-3-Clause", "copyright", "2019 Haelwenn (lanodan) Monnier ", "website", homepage, - "comments", "Minimalist and privacy-oriented WebKitGTK+ browser", + "comments", _("Minimalist and privacy-oriented WebKitGTK+ browser"), "version", version, //FIXME: "logo-icon-name", g_get_application_name(), NULL -- cgit v1.3.1-23-gd82d From f91e67e3c7f57fc61bad0dbad337ebf70111ec31 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 16 Dec 2019 05:49:32 +0100 Subject: keybindings.c, uri.c: Fix&clean #include/s --- keybindings.c | 2 ++ uri.c | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'keybindings.c') diff --git a/keybindings.c b/keybindings.c index 0ea4384..0c39c46 100644 --- a/keybindings.c +++ b/keybindings.c @@ -2,6 +2,8 @@ #include "badwolf.h" +#include /* _() */ + static void badwolf_about_dialog(GtkWindow *main_window) { diff --git a/uri.c b/uri.c index 7b97e48..b287140 100644 --- a/uri.c +++ b/uri.c @@ -4,10 +4,8 @@ #include "uri.h" -#include /* g_strcmp0() */ -#include /* g_fprintf() */ -#include /* soup* */ -#include /* access() */ +#include /* g_strcmp0() */ +#include /* access() */ const gchar * badwolf_ensure_uri_scheme(const gchar *text, gboolean try_file) -- cgit v1.3.1-23-gd82d From b83e68106620bc9832354c51a75e67c58e423e59 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 16 Dec 2019 22:30:25 +0100 Subject: keybindings.c: Grab link activation in About --- keybindings.c | 53 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 14 deletions(-) (limited to 'keybindings.c') diff --git a/keybindings.c b/keybindings.c index 0c39c46..d0126e5 100644 --- a/keybindings.c +++ b/keybindings.c @@ -1,24 +1,49 @@ +// BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser +// Copyright © 2019 Haelwenn (lanodan) Monnier +// SPDX-License-Identifier: BSD-3-Clause + #include "keybindings.h" #include "badwolf.h" #include /* _() */ +static gboolean +about_dialogCb_activate_link(GtkAboutDialog *about_dialog, gchar *uri, gpointer user_data) +{ + (void)about_dialog; + struct Window *window = (struct Window *)user_data; + + badwolf_new_tab(GTK_NOTEBOOK(window->notebook), new_browser(window, uri, NULL)); + + gtk_widget_destroy(GTK_WIDGET(about_dialog)); + + return TRUE; +} + static void -badwolf_about_dialog(GtkWindow *main_window) +badwolf_about_dialog(GtkWindow *main_window, gpointer user_data) { - // clang-format off - gtk_show_about_dialog( - main_window, - "license", "SPDX-License-Identifier: BSD-3-Clause", - "copyright", "2019 Haelwenn (lanodan) Monnier ", - "website", homepage, - "comments", _("Minimalist and privacy-oriented WebKitGTK+ browser"), - "version", version, - //FIXME: "logo-icon-name", g_get_application_name(), - NULL - ); - // clang-format on + struct Window *window = (struct Window *)user_data; + GtkWidget *about_dialog = gtk_about_dialog_new(); + + gtk_window_set_transient_for(GTK_WINDOW(about_dialog), main_window); + gtk_window_set_destroy_with_parent(GTK_WINDOW(about_dialog), TRUE); + + gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(about_dialog), + "SPDX-License-Identifier: BSD-3-Clause"); + gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(about_dialog), + "2019 Haelwenn (lanodan) Monnier "); + gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(about_dialog), homepage); + gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(about_dialog), + _("Minimalist and privacy-oriented WebKitGTK+ browser")); + gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(about_dialog), version); + + g_signal_connect( + about_dialog, "activate-link", G_CALLBACK(about_dialogCb_activate_link), window); + + (void)gtk_dialog_run(GTK_DIALOG(about_dialog)); + gtk_widget_destroy(about_dialog); } static void @@ -113,7 +138,7 @@ commonCb_key_press_event(struct Window *window, GdkEvent *event, struct Client * { switch(((GdkEventKey *)event)->keyval) { - case GDK_KEY_F1: badwolf_about_dialog(GTK_WINDOW(window->main_window)); return TRUE; + case GDK_KEY_F1: badwolf_about_dialog(GTK_WINDOW(window->main_window), window); return TRUE; } } -- cgit v1.3.1-23-gd82d From 0dc338ad3f7c7789960f25ce6c4a2e2c886e2307 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Wed, 18 Dec 2019 16:27:46 +0100 Subject: Add GtkSettings overwrite on dark-theme Bug: https://bugs.webkit.org/show_bug.cgi?id=197947 --- badwolf.c | 7 +++++++ config.h | 6 ++++++ keybindings.c | 5 ++--- 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'keybindings.c') diff --git a/badwolf.c b/badwolf.c index e9b7a00..2467ce4 100644 --- a/badwolf.c +++ b/badwolf.c @@ -748,6 +748,13 @@ main(int argc, char *argv[]) gtk_init(&argc, &argv); +#ifdef BADWOLF_PREFER_DARK_THEME + g_object_set(gtk_settings_get_default(), + "gtk-application-prefer-dark-theme", + BADWOLF_PREFER_DARK_THEME, + NULL); +#endif + g_fprintf(stderr, _("Running Badwolf version: %s\n"), version); g_fprintf(stderr, _("Buildtime WebKit version: %d.%d.%d\n"), diff --git a/config.h b/config.h index 4aa5c5a..c88d59d 100644 --- a/config.h +++ b/config.h @@ -86,4 +86,10 @@ */ #define BADWOLF_STATUSLABEL_ELLIPSIZE PANGO_ELLIPSIZE_MIDDLE +/* BADWOLF_PREFER_DARK_THEME: Overwrites user GtkSettings for gtk-application-prefer-dark-theme + * Done as a temporary workaround against https://bugs.webkit.org/show_bug.cgi?id=197947 + * Remove definition to keep user settings, should only be done once the bug is fixed. + */ +#define BADWOLF_PREFER_DARK_THEME FALSE + #endif /* CONFIG_H_INCLUDED */ diff --git a/keybindings.c b/keybindings.c index d0126e5..b5e9228 100644 --- a/keybindings.c +++ b/keybindings.c @@ -24,7 +24,7 @@ about_dialogCb_activate_link(GtkAboutDialog *about_dialog, gchar *uri, gpointer static void badwolf_about_dialog(GtkWindow *main_window, gpointer user_data) { - struct Window *window = (struct Window *)user_data; + struct Window *window = (struct Window *)user_data; GtkWidget *about_dialog = gtk_about_dialog_new(); gtk_window_set_transient_for(GTK_WINDOW(about_dialog), main_window); @@ -39,8 +39,7 @@ badwolf_about_dialog(GtkWindow *main_window, gpointer user_data) _("Minimalist and privacy-oriented WebKitGTK+ browser")); gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(about_dialog), version); - g_signal_connect( - about_dialog, "activate-link", G_CALLBACK(about_dialogCb_activate_link), window); + g_signal_connect(about_dialog, "activate-link", G_CALLBACK(about_dialogCb_activate_link), window); (void)gtk_dialog_run(GTK_DIALOG(about_dialog)); gtk_widget_destroy(about_dialog); -- cgit v1.3.1-23-gd82d From d4a4b0ab1b5809a7a85b786135627bf9e0448908 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Wed, 22 Jan 2020 16:30:15 +0100 Subject: Update copyright to (2019-)2020 Badwolf Authors --- Makefile | 2 +- README.md | 2 +- badwolf.1 | 2 +- badwolf.c | 2 +- keybindings.c | 2 +- po/fr.po | 59 ++++++++++++++++++++++++---------------------- po/messages.pot | 61 +++++++++++++++++++++++++----------------------- po/pt_BR.po | 72 ++++++++++++++++++++++++++++----------------------------- uri.c | 2 +- uri_test.c | 2 +- usr.bin.badwolf | 2 +- 11 files changed, 106 insertions(+), 102 deletions(-) (limited to 'keybindings.c') diff --git a/Makefile b/Makefile index 0a5aa3e..024eb56 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ MSGFMT = msgfmt all: $(EXE) $(TRANS) po/messages.pot: $(SRCS) - xgettext --keyword=_ --language=C --from-code=UTF-8 -o $@ --add-comments --sort-output --copyright-holder="Haelwenn (lanodan) Monnier " --package-name="$(PACKAGE)" --package-version="$(VERSION_FULL)" --msgid-bugs-address="contact+badwolf-msgid@hacktivis.me" $(SRCS) + xgettext --keyword=_ --language=C --from-code=UTF-8 -o $@ --add-comments --sort-output --copyright-holder="Badwolf Authors " --package-name="$(PACKAGE)" --package-version="$(VERSION_FULL)" --msgid-bugs-address="contact+badwolf-msgid@hacktivis.me" $(SRCS) po/%.po: po/messages.pot msgmerge --update $@ $< diff --git a/README.md b/README.md index 2e3d245..75752b0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Minimalist and privacy-oriented WebKitGTK+ browser. Homepage: ``` -Copyright © 2019 Haelwenn (lanodan) Monnier +Copyright © 2019-2020 Badwolf Authors SPDX-License-Identifier: BSD-3-Clause ``` diff --git a/badwolf.1 b/badwolf.1 index 0b044d5..6f8ecb8 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -1,5 +1,5 @@ ./" BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -./" Copyright © 2019 Haelwenn (lanodan) Monnier +./" Copyright © 2019-2020 Badwolf Authors ./" SPDX-License-Identifier: BSD-3-Clause .Dd 2019-10-31 .Dt badwolf 1 diff --git a/badwolf.c b/badwolf.c index 74f6a7f..64136f7 100644 --- a/badwolf.c +++ b/badwolf.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019 Haelwenn (lanodan) Monnier +// Copyright © 2019-2020 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "badwolf.h" diff --git a/keybindings.c b/keybindings.c index b5e9228..86713c2 100644 --- a/keybindings.c +++ b/keybindings.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019 Haelwenn (lanodan) Monnier +// Copyright © 2019-2020 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "keybindings.h" diff --git a/po/fr.po b/po/fr.po index e4d49cc..5691800 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1,5 +1,5 @@ # BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -# Copyright (C) 2019 Haelwenn (lanodan) Monnier +# Copyright (C) 2019-2020 Badwolf Authors # This file is distributed under the same license as the Badwolf package. # Haelwenn (lanodan) Monnier , 2019 # @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Badwolf 0.3.0+gd88f2e7\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2019-12-22 00:57+0100\n" +"POT-Creation-Date: 2020-01-22 16:20+0100\n" "PO-Revision-Date: 2019-12-22 00:57+0100\n" "Last-Translator: Haelwenn (lanodan) Monnier \n" "Language-Team: French\n" @@ -17,16 +17,16 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: badwolf.c:760 +#: badwolf.c:771 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "Version WebKit à la compilation: %d.%d.%d\n" -#: badwolf.c:378 +#: badwolf.c:384 msgid "Continue" msgstr "Continuer" -#: badwolf.c:331 +#: badwolf.c:334 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" @@ -37,33 +37,33 @@ msgstr "" "et son réseau.\n" "\n" -#: badwolf.c:352 +#: badwolf.c:357 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" "Erreur : Une erreur inconnue est apparue pendant la validation du " "certificat.\n" -#: badwolf.c:334 +#: badwolf.c:338 msgid "Error: The X509 Certificate Authority is unknown.\n" msgstr "Erreur : L'autorité de certification (CA X509) est inconnue.\n" -#: badwolf.c:346 +#: badwolf.c:351 msgid "Error: The certificate has been revoked.\n" msgstr "Erreur : Le certificat à été révoqué.\n" -#: badwolf.c:343 +#: badwolf.c:348 msgid "Error: The certificate has expired. Check your system's clock.\n" msgstr "Erreur : Le certificat a expiré.\n" -#: badwolf.c:349 +#: badwolf.c:354 msgid "Error: The certificate is considered to be insecure.\n" msgstr "Erreur : Le certificat est considéré comme non-sécurisé.\n" -#: badwolf.c:340 +#: badwolf.c:345 msgid "Error: The certificate isn't valid yet. Check your system's clock.\n" msgstr "Erreur : Le certificat n'est pas encore valide.\n" -#: badwolf.c:337 +#: badwolf.c:341 msgid "Error: The given identity doesn't match the expected one.\n" msgstr "Erreur : L'identité ne correspond pas à celle attendue.\n" @@ -71,71 +71,74 @@ msgstr "Erreur : L'identité ne correspond pas à celle attendue.\n" msgid "Minimalist and privacy-oriented WebKitGTK+ browser" msgstr "Navigateur WebKitGTK+ minimaliste et orienté vie privée" -#: badwolf.c:680 +#: badwolf.c:686 msgid "New tab" msgstr "Nouvel onglet" -#: badwolf.c:782 +#: badwolf.c:793 msgid "Open new tab" msgstr "Ouvrir un nouvel onglet" -#: badwolf.c:758 +#: badwolf.c:769 #, c-format msgid "Running Badwolf version: %s\n" msgstr "Version de Badwolf: %s\n" -#: badwolf.c:765 +#: badwolf.c:776 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "Version WebKit au lancement: %d.%d.%d\n" -#: badwolf.c:376 +#: badwolf.c:381 #, c-format msgid "TLS Error for %s." msgstr "Erreur TLS pour %s." -#: badwolf.c:378 +#: badwolf.c:384 msgid "Temporarly Add Exception" msgstr "Ajouter Temporairement une Exception" -#: badwolf.c:565 +#: badwolf.c:571 msgid "Toggle javascript" msgstr "Activer/Désactiver javascript" -#: badwolf.c:606 +#: badwolf.c:612 msgid "search in current page" msgstr "recherche dans la page courante" -#: badwolf.c:92 +#: badwolf.c:94 +#, c-format msgid "the web process crashed.\n" msgstr "le processus web a cessé de fonctionner.\n" -#: badwolf.c:96 +#: badwolf.c:98 +#, c-format msgid "the web process exceeded the memory limit.\n" msgstr "le processus web a dépassé la limitation de mémoire.\n" -#: badwolf.c:100 +#: badwolf.c:102 +#, c-format msgid "the web process terminated for an unknown reason.\n" msgstr "le processus web s’est interrompu pour une raison inconnue.\n" -#: badwolf.c:93 +#: badwolf.c:95 msgid "title|Crashed" msgstr "Crash" -#: badwolf.c:97 +#: badwolf.c:99 msgid "title|Out of Memory" msgstr "Dépassement Mémoire" -#: badwolf.c:101 +#: badwolf.c:103 msgid "title|Unknown Crash" msgstr "Crash inconnu" -#: badwolf.c:772 +#: badwolf.c:783 #, c-format msgid "webkit-web-extension directory set to: %s\n" msgstr "Répertoire webkit-web-extension configuré à %s\n" #. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext. -#: badwolf.c:811 +#: badwolf.c:822 msgid "ø" msgstr "" diff --git a/po/messages.pot b/po/messages.pot index 3e497fd..fc77c19 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -1,14 +1,14 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Haelwenn (lanodan) Monnier +# Copyright (C) YEAR Badwolf Authors # This file is distributed under the same license as the Badwolf package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 0.4.0+g607300e\n" +"Project-Id-Version: Badwolf 0.4.0+ge6bdb68\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2019-12-22 00:57+0100\n" +"POT-Creation-Date: 2020-01-22 16:20+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,47 +17,47 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: badwolf.c:760 +#: badwolf.c:771 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "" -#: badwolf.c:378 +#: badwolf.c:384 msgid "Continue" msgstr "" -#: badwolf.c:331 +#: badwolf.c:334 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:352 +#: badwolf.c:357 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" -#: badwolf.c:334 +#: badwolf.c:338 msgid "Error: The X509 Certificate Authority is unknown.\n" msgstr "" -#: badwolf.c:346 +#: badwolf.c:351 msgid "Error: The certificate has been revoked.\n" msgstr "" -#: badwolf.c:343 +#: badwolf.c:348 msgid "Error: The certificate has expired. Check your system's clock.\n" msgstr "" -#: badwolf.c:349 +#: badwolf.c:354 msgid "Error: The certificate is considered to be insecure.\n" msgstr "" -#: badwolf.c:340 +#: badwolf.c:345 msgid "Error: The certificate isn't valid yet. Check your system's clock.\n" msgstr "" -#: badwolf.c:337 +#: badwolf.c:341 msgid "Error: The given identity doesn't match the expected one.\n" msgstr "" @@ -65,71 +65,74 @@ msgstr "" msgid "Minimalist and privacy-oriented WebKitGTK+ browser" msgstr "" -#: badwolf.c:680 +#: badwolf.c:686 msgid "New tab" msgstr "" -#: badwolf.c:782 +#: badwolf.c:793 msgid "Open new tab" msgstr "" -#: badwolf.c:758 +#: badwolf.c:769 #, c-format msgid "Running Badwolf version: %s\n" msgstr "" -#: badwolf.c:765 +#: badwolf.c:776 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "" -#: badwolf.c:376 +#: badwolf.c:381 #, c-format msgid "TLS Error for %s." msgstr "" -#: badwolf.c:378 +#: badwolf.c:384 msgid "Temporarly Add Exception" msgstr "" -#: badwolf.c:565 +#: badwolf.c:571 msgid "Toggle javascript" msgstr "" -#: badwolf.c:606 +#: badwolf.c:612 msgid "search in current page" msgstr "" -#: badwolf.c:92 +#: badwolf.c:94 +#, c-format msgid "the web process crashed.\n" msgstr "" -#: badwolf.c:96 +#: badwolf.c:98 +#, c-format msgid "the web process exceeded the memory limit.\n" msgstr "" -#: badwolf.c:100 +#: badwolf.c:102 +#, c-format msgid "the web process terminated for an unknown reason.\n" msgstr "" -#: badwolf.c:93 +#: badwolf.c:95 msgid "title|Crashed" msgstr "" -#: badwolf.c:97 +#: badwolf.c:99 msgid "title|Out of Memory" msgstr "" -#: badwolf.c:101 +#: badwolf.c:103 msgid "title|Unknown Crash" msgstr "" -#: badwolf.c:772 +#: badwolf.c:783 #, c-format msgid "webkit-web-extension directory set to: %s\n" msgstr "" #. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext. -#: badwolf.c:811 +#: badwolf.c:822 msgid "ø" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index 5e57452..e1aac75 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -1,13 +1,12 @@ # BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -# Copyright (C) 2020 Haelwenn (lanodan) Monnier +# Copyright (C) 2020 Badwolf Authors # This file is distributed under the same license as the Badwolf package. -# Haelwenn (lanodan) Monnier , 2020 # msgid "" msgstr "" "Project-Id-Version: Badwolf 0.4.0+g607300e\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2019-12-22 00:57+0100\n" +"POT-Creation-Date: 2020-01-22 16:20+0100\n" "PO-Revision-Date: 2020-01-20 22:17-0300\n" "Last-Translator: Pedro Lucas Porcellis \n" "Language-Team: Brazilian Portuguese\n" @@ -17,57 +16,53 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: badwolf.c:760 +#: badwolf.c:771 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "Versão do WebKit %d.%d.%d\n" -#: badwolf.c:378 +#: badwolf.c:384 msgid "Continue" msgstr "Continuar" -#: badwolf.c:331 +#: badwolf.c:334 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 "" "Não foi possível verificar o certificado TLS para garantir uma melhor " -"segurança da conexão. Talvez você deva verificar a sua máquina e " -"rede.\n" +"segurança da conexão. Talvez você deva verificar a sua máquina e rede.\n" "\n" -#: badwolf.c:352 +#: badwolf.c:357 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" -"Erro: Algum erro desconhecido ocorreu enquanto validava o " -"certificado.\n" +"Erro: Algum erro desconhecido ocorreu enquanto validava o certificado.\n" -#: badwolf.c:334 +#: badwolf.c:338 msgid "Error: The X509 Certificate Authority is unknown.\n" msgstr "Erro: A Autoridade de Certificados X509 é desconhecida.\n" -#: badwolf.c:346 +#: badwolf.c:351 msgid "Error: The certificate has been revoked.\n" msgstr "Erro: O certificado foi revogado.\n" -#: badwolf.c:343 +#: badwolf.c:348 msgid "Error: The certificate has expired. Check your system's clock.\n" msgstr "" "Erro: O certificado foi expirado. Verifique o relógio do seu sistema.\n" -#: badwolf.c:349 +#: badwolf.c:354 msgid "Error: The certificate is considered to be insecure.\n" msgstr "Erro: O certificado é considerado inseguro.\n" -#: badwolf.c:340 -msgid "" -"Error: The certificate isn't valid yet. Check your system's clock.\n" +#: badwolf.c:345 +msgid "Error: The certificate isn't valid yet. Check your system's clock.\n" msgstr "" -"Erro: O certificado não é válido ainda. Verifique o relógio do seu " -"sistema.\n" +"Erro: O certificado não é válido ainda. Verifique o relógio do seu sistema.\n" -#: badwolf.c:337 +#: badwolf.c:341 msgid "Error: The given identity doesn't match the expected one.\n" msgstr "Erro: A identidade não confere com a esperada.\n" @@ -75,71 +70,74 @@ msgstr "Erro: A identidade não confere com a esperada.\n" msgid "Minimalist and privacy-oriented WebKitGTK+ browser" msgstr "Navegador orientado pela privacidade e minimalismo" -#: badwolf.c:680 +#: badwolf.c:686 msgid "New tab" msgstr "Nova aba" -#: badwolf.c:782 +#: badwolf.c:793 msgid "Open new tab" msgstr "Abrir uma Nova aba" -#: badwolf.c:758 +#: badwolf.c:769 #, c-format msgid "Running Badwolf version: %s\n" msgstr "Rodando versão %s do Badwolf\n" -#: badwolf.c:765 +#: badwolf.c:776 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "Versão do WebKit: %d.%d.%d\n" -#: badwolf.c:376 +#: badwolf.c:381 #, c-format msgid "TLS Error for %s." msgstr "Erro TLS para %s." -#: badwolf.c:378 +#: badwolf.c:384 msgid "Temporarly Add Exception" msgstr "Temporáriamente adicionar exceção" -#: badwolf.c:565 +#: badwolf.c:571 msgid "Toggle javascript" msgstr "Habilitar Javascript" -#: badwolf.c:606 +#: badwolf.c:612 msgid "search in current page" msgstr "buscar na página atual" -#: badwolf.c:92 +#: badwolf.c:94 +#, c-format msgid "the web process crashed.\n" msgstr "o processo web travou.\n" -#: badwolf.c:96 +#: badwolf.c:98 +#, c-format msgid "the web process exceeded the memory limit.\n" msgstr "o processo web excedeu o limite de memória.\n" -#: badwolf.c:100 +#: badwolf.c:102 +#, c-format msgid "the web process terminated for an unknown reason.\n" msgstr "o processo web terminou por uma razão desconhecida.\n" -#: badwolf.c:93 +#: badwolf.c:95 msgid "title|Crashed" msgstr "Erro" -#: badwolf.c:97 +#: badwolf.c:99 msgid "title|Out of Memory" msgstr "Sem memória" -#: badwolf.c:101 +#: badwolf.c:103 msgid "title|Unknown Crash" msgstr "Erro desconhecido" -#: badwolf.c:772 +#: badwolf.c:783 #, c-format msgid "webkit-web-extension directory set to: %s\n" msgstr "diretório de extensões configurado para: %s\n" #. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext. -#: badwolf.c:811 +#: badwolf.c:822 msgid "ø" msgstr "ø" diff --git a/uri.c b/uri.c index b287140..6843e4a 100644 --- a/uri.c +++ b/uri.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019 Haelwenn (lanodan) Monnier +// Copyright © 2019-2020 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "uri.h" diff --git a/uri_test.c b/uri_test.c index 13fa3eb..5881120 100644 --- a/uri_test.c +++ b/uri_test.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019 Haelwenn (lanodan) Monnier +// Copyright © 2019-2020 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "uri.h" diff --git a/usr.bin.badwolf b/usr.bin.badwolf index 4407f31..0ebce5d 100644 --- a/usr.bin.badwolf +++ b/usr.bin.badwolf @@ -1,5 +1,5 @@ # BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -# Copyright © 2019 Haelwenn (lanodan) Monnier +# Copyright © 2019-2020 Badwolf Authors # SPDX-License-Identifier: BSD-3-Clause # # Made on Gentoo Linux with PREFIX=/usr -- cgit v1.3.1-23-gd82d