From ed40d74fdde65134365334b8d0d2b5593c121b89 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 29 May 2020 23:55:25 +0200 Subject: Fix implicit-declaration for realpath --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f371a28..9cd4d96 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ EXE_test = uri_test TRANS = fr.mo pt_BR.mo DOCS = usr.bin.badwolf README.md KnowledgeBase.md interface.txt -CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION_FULL)\" +CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION_FULL)\" CDEPS += `$(PKGCONFIG) --cflags $(DEPS)` LIBS = `$(PKGCONFIG) --libs $(DEPS)` -- cgit v1.3.1-23-gd82d From 46812bf39b6a4502f60aa3766b7d503d0534393c Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 10 Aug 2020 20:08:14 +0200 Subject: Makefile: Add tr.mo to translations --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1500c84..73b8dc0 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ OBJS = uri.o keybindings.o downloads.o badwolf.o OBJS_test = uri_test.o EXE = badwolf EXE_test = uri_test -TRANS = fr.mo pt_BR.mo +TRANS = fr.mo pt_BR.mo tr.mo DOCS = usr.bin.badwolf README.md KnowledgeBase.md interface.txt CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION_FULL)\" -- cgit v1.3.1-23-gd82d From 6c764f63abe75d1d8747efd34dd097e744e515dd Mon Sep 17 00:00:00 2001 From: nXecure Date: Thu, 20 Aug 2020 10:26:28 +0000 Subject: Makefile: Make cp command of badwolf binary consistent with others --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 73b8dc0..0cf6b1e 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ test: $(EXE_test) .PHONY: install install: all mkdir -p $(DESTDIR)$(BINDIR) - cp -p badwolf $(DESTDIR)$(BINDIR)/badwolf + cp -p badwolf $(DESTDIR)$(BINDIR) mkdir -p $(DESTDIR)$(MANDIR)/man1 cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1 mkdir -p $(DESTDIR)$(DATADIR)/locale -- cgit v1.3.1-23-gd82d From 3a0b708a88209682bf813ac50cd21e4f8014839a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 20 Aug 2020 23:08:23 +0200 Subject: Makefile: Make all cp command end with a / on directory targets --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0cf6b1e..a136a28 100644 --- a/Makefile +++ b/Makefile @@ -78,12 +78,12 @@ test: $(EXE_test) .PHONY: install install: all mkdir -p $(DESTDIR)$(BINDIR) - cp -p badwolf $(DESTDIR)$(BINDIR) + cp -p badwolf $(DESTDIR)$(BINDIR)/ mkdir -p $(DESTDIR)$(MANDIR)/man1 - cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1 + cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1/ mkdir -p $(DESTDIR)$(DATADIR)/locale - cp -r locale/ $(DESTDIR)$(DATADIR) - cp interface.css $(DESTDIR)$(DATADIR) + cp -r locale/ $(DESTDIR)$(DATADIR)/ + cp interface.css $(DESTDIR)$(DATADIR)/ mkdir -p $(DESTDIR)$(APPSDIR) cp -p badwolf.desktop $(DESTDIR)$(APPSDIR)/ mkdir -p $(DESTDIR)$(DOCDIR) -- cgit v1.3.1-23-gd82d From abb47b4c0faf2eadcdce62c285fea8af7edd8894 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 2 Nov 2019 22:01:00 +0100 Subject: Add completion --- Makefile | 4 ++-- badwolf.1 | 2 ++ badwolf.c | 4 ++++ bookmarks.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ bookmarks.h | 3 +++ 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 bookmarks.c create mode 100644 bookmarks.h (limited to 'Makefile') diff --git a/Makefile b/Makefile index a136a28..8ba3003 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,8 @@ INKSCAPE ?= inkscape ICON_SIZES = icons/hicolor/24x24/apps/badwolf.png icons/hicolor/32x32/apps/badwolf.png icons/hicolor/48x48/apps/badwolf.png icons/hicolor/64x64/apps/badwolf.png icons/hicolor/128x128/apps/badwolf.png icons/hicolor/256x256/apps/badwolf.png DEPS = gtk+-3.0 webkit2gtk-4.0 libsoup-2.4 -SRCS = uri.c uri_test.c keybindings.c downloads.c badwolf.c -OBJS = uri.o keybindings.o downloads.o badwolf.o +SRCS = bookmarks.c uri.c uri_test.c keybindings.c downloads.c badwolf.c +OBJS = bookmarks.o uri.o keybindings.o downloads.o badwolf.o OBJS_test = uri_test.o EXE = badwolf EXE_test = uri_test diff --git a/badwolf.1 b/badwolf.1 index d1bda3e..96a20d3 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -75,6 +75,8 @@ A more generic variable name is also intended to be used in the future. .El .Sh FILES .Bl -tag -width Ds -compact +.It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/URLs.txt +File containing a URL on each line. [UNSTABLE] .It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/webkit-web-extensions/ Directory containing the .Lk https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebExtension.html WebKitWebExtensions diff --git a/badwolf.c b/badwolf.c index d0b337a..bf4916b 100644 --- a/badwolf.c +++ b/badwolf.c @@ -6,6 +6,7 @@ #include "config.h" #include "downloads.h" +#include "bookmarks.h" #include "keybindings.h" #include "uri.h" @@ -738,6 +739,7 @@ new_browser(struct Window *window, const gchar *target_url, struct Client *old_b gtk_entry_set_text(GTK_ENTRY(browser->location), target_url); gtk_entry_set_input_purpose(GTK_ENTRY(browser->location), GTK_INPUT_PURPOSE_URL); + gtk_entry_set_completion(GTK_ENTRY(browser->location), location_completion); gtk_entry_set_placeholder_text(GTK_ENTRY(browser->search), _("search in current page")); @@ -930,6 +932,8 @@ main(int argc, char *argv[]) g_build_filename(g_get_user_data_dir(), "badwolf", "webkit-web-extension", NULL); fprintf(stderr, _("webkit-web-extension directory set to: %s\n"), web_extensions_directory); + location_completion_init(); + window->main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL); window->notebook = gtk_notebook_new(); window->new_tab = gtk_button_new_from_icon_name("tab-new-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR); diff --git a/bookmarks.c b/bookmarks.c new file mode 100644 index 0000000..f43ed46 --- /dev/null +++ b/bookmarks.c @@ -0,0 +1,45 @@ +#include "badwolf.h" +#include "bookmarks.h" + +#include +#include /* g_fprintf() */ + +void +location_completion_init() +{ + GtkTreeIter iter; + GtkListStore *list_store; + GIOChannel *file_channel; + GError *file_err = NULL; + gchar *file_line; + + location_completion = gtk_entry_completion_new(); + + list_store = gtk_list_store_new(1, G_TYPE_STRING); + + gchar *filename = g_build_filename(g_get_user_data_dir(), "badwolf", "URLs.txt", NULL); + g_fprintf(stderr, "URL Completion: loading at %s\n", filename); + file_channel = g_io_channel_new_file(filename, "r", &file_err); + + if(file_channel != NULL) + { + while(G_IO_STATUS_NORMAL == + g_io_channel_read_line(file_channel, &file_line, NULL, NULL, &file_err)) + { + gtk_list_store_append(list_store, &iter); + gtk_list_store_set(list_store, &iter, 0, g_strchomp(file_line), -1); + } + g_free(file_line); + g_io_channel_unref(file_channel); + //g_io_channel_shutdown(file_channel, FALSE, &file_err); + g_fprintf(stderr, "URL Completion: Done.\n"); + } + else + g_fprintf(stderr, "URL Completion: Failed to load file.\n"); + + gtk_list_store_append(list_store, &iter); + gtk_list_store_set(list_store, &iter, 0, homepage, -1); + + gtk_entry_completion_set_model(location_completion, GTK_TREE_MODEL(list_store)); + gtk_entry_completion_set_text_column(location_completion, 0); +} diff --git a/bookmarks.h b/bookmarks.h new file mode 100644 index 0000000..2e44eb3 --- /dev/null +++ b/bookmarks.h @@ -0,0 +1,3 @@ +#include +GtkEntryCompletion *location_completion; +void location_completion_init(); -- cgit v1.3.1-23-gd82d From a7ba36264f3a62013d393075bd992ac252d3e51a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 3 Nov 2019 21:34:46 +0100 Subject: Add support for XBEL Bookmarks --- KnowledgeBase.md | 17 ++++++++++ Makefile | 2 +- README.md | 1 + badwolf.1 | 10 ++++-- badwolf.c | 1 + bookmarks.c | 99 ++++++++++++++++++++++++++++++++++++++++---------------- 6 files changed, 100 insertions(+), 30 deletions(-) (limited to 'Makefile') diff --git a/KnowledgeBase.md b/KnowledgeBase.md index f5f9f9a..af59415 100644 --- a/KnowledgeBase.md +++ b/KnowledgeBase.md @@ -2,3 +2,20 @@ - WebKit2 Extensions Tutorial: https://blogs.igalia.com/carlosgc/2013/09/10/webkit2gtk-web-process-extensions/ - https://trac.torproject.org/projects/tor/wiki/doc/ImportantGoogleChromeBugs / https://trac.torproject.org/projects/tor/ticket/1925 - https://webkit.org/blog/3476/content-blockers-first-look/ + +# Bookmark formats +The different plain-text formats used by web browsers found in the wild, done +in Augmented Backus–Naur Form (ABNF). + +url = *CHAR +title = *CHAR + +## uzbl +bookmark = URL TAB title [TAB tags] +tags = *(*CHAR SP) + +Documenter comment: How does it manages when the separator (TAB here) is +present in the title? + +## qutebrowser +bookmark = URL SP title diff --git a/Makefile b/Makefile index 8ba3003..8ba9b7e 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ INKSCAPE ?= inkscape # for i in 24 32 48 64 128 256; do echo icons/hicolor/${i}x${i}/apps/badwolf.png; done | tr '\n' ' ' ICON_SIZES = icons/hicolor/24x24/apps/badwolf.png icons/hicolor/32x32/apps/badwolf.png icons/hicolor/48x48/apps/badwolf.png icons/hicolor/64x64/apps/badwolf.png icons/hicolor/128x128/apps/badwolf.png icons/hicolor/256x256/apps/badwolf.png -DEPS = gtk+-3.0 webkit2gtk-4.0 libsoup-2.4 +DEPS = gtk+-3.0 webkit2gtk-4.0 libsoup-2.4 libxml-2.0 SRCS = bookmarks.c uri.c uri_test.c keybindings.c downloads.c badwolf.c OBJS = bookmarks.o uri.o keybindings.o downloads.o badwolf.o OBJS_test = uri_test.o diff --git a/README.md b/README.md index 6804aea..b83d134 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Dependencies are: - C11 Compiler (such as clang or gcc) - [WebKitGTK](https://webkitgtk.org/), only the latest stable is supported +- [libxml-2.0](http://www.xmlsoft.org/), no known version limitation - POSIX make with extension for shell in variables (works with GNU, {Net,Free,Open}BSD) - A pkg-config implementation (pkgconf is recommended) - (optionnal) gettext implementation (such as GNU Gettext) diff --git a/badwolf.1 b/badwolf.1 index 96a20d3..6bbe2b2 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -75,8 +75,14 @@ A more generic variable name is also intended to be used in the future. .El .Sh FILES .Bl -tag -width Ds -compact -.It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/URLs.txt -File containing a URL on each line. [UNSTABLE] +.It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/bookmarks.xbel +XBEL (XML Bookmark Exchange Language) file, known to be currently supported by: +.Xr elinks 1 , +.Xr konqueror 1 , +.Xr kbookmarkeditor 1 . Doing a symbolic link from their path works fine. +.Pp +For more information about this format see: +.Lk http://pyxml.sourceforge.net/topics/xbel/ .It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/webkit-web-extensions/ Directory containing the .Lk https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebExtension.html WebKitWebExtensions diff --git a/badwolf.c b/badwolf.c index bf4916b..f284378 100644 --- a/badwolf.c +++ b/badwolf.c @@ -7,6 +7,7 @@ #include "config.h" #include "downloads.h" #include "bookmarks.h" +#include "config.h" #include "keybindings.h" #include "uri.h" diff --git a/bookmarks.c b/bookmarks.c index f43ed46..23cb558 100644 --- a/bookmarks.c +++ b/bookmarks.c @@ -1,45 +1,90 @@ -#include "badwolf.h" #include "bookmarks.h" -#include +#include "badwolf.h" + #include /* g_fprintf() */ +#include +#include void -location_completion_init() +location_completion_setup(GtkListStore *list_store) { - GtkTreeIter iter; - GtkListStore *list_store; - GIOChannel *file_channel; - GError *file_err = NULL; - gchar *file_line; + gtk_entry_completion_set_model(location_completion, GTK_TREE_MODEL(list_store)); + gtk_entry_completion_set_text_column(location_completion, 0); +} - location_completion = gtk_entry_completion_new(); +void +location_completion_cleanup(xmlXPathObjectPtr xpathObj, xmlXPathContextPtr xpathCtx, xmlDocPtr doc) +{ + if(xpathObj != NULL) xmlXPathFreeObject(xpathObj); + if(xpathCtx != NULL) xmlXPathFreeContext(xpathCtx); + if(doc != NULL) xmlFreeDoc(doc); +} - list_store = gtk_list_store_new(1, G_TYPE_STRING); +GtkTreeIter +load_xpath_results(GtkListStore *list_store, xmlNodeSetPtr nodes) +{ + GtkTreeIter iter; + int size; - gchar *filename = g_build_filename(g_get_user_data_dir(), "badwolf", "URLs.txt", NULL); - g_fprintf(stderr, "URL Completion: loading at %s\n", filename); - file_channel = g_io_channel_new_file(filename, "r", &file_err); + size = (nodes) ? nodes->nodeNr : 0; - if(file_channel != NULL) - { - while(G_IO_STATUS_NORMAL == - g_io_channel_read_line(file_channel, &file_line, NULL, NULL, &file_err)) + g_fprintf(stderr, "Bookmarks: Found %d bookmarks.\n", size); + for(int i = 0; i < size; i++) + if(nodes->nodeTab[i]) { gtk_list_store_append(list_store, &iter); - gtk_list_store_set(list_store, &iter, 0, g_strchomp(file_line), -1); + gtk_list_store_set( + list_store, &iter, 0, (char *)xmlXPathCastNodeToString(nodes->nodeTab[i]), -1); } - g_free(file_line); - g_io_channel_unref(file_channel); - //g_io_channel_shutdown(file_channel, FALSE, &file_err); - g_fprintf(stderr, "URL Completion: Done.\n"); - } - else - g_fprintf(stderr, "URL Completion: Failed to load file.\n"); + return iter; +} + +void +location_completion_init() +{ + const xmlChar *xpathExpr = "//bookmark/@href"; + char *filename = g_build_filename(g_get_user_data_dir(), "badwolf", "bookmarks.xbel", NULL); + xmlDocPtr doc = NULL; + xmlXPathContextPtr xpathCtx = NULL; + xmlXPathObjectPtr xpathObj = NULL; + GtkTreeIter iter; + GtkListStore *list_store = gtk_list_store_new(1, G_TYPE_STRING); + + location_completion = gtk_entry_completion_new(); gtk_list_store_append(list_store, &iter); gtk_list_store_set(list_store, &iter, 0, homepage, -1); - gtk_entry_completion_set_model(location_completion, GTK_TREE_MODEL(list_store)); - gtk_entry_completion_set_text_column(location_completion, 0); + g_fprintf(stderr, "Bookmarks: loading at %s\n", filename); + doc = xmlParseFile(filename); + if(doc == NULL) + { + g_fprintf(stderr, "Bookmarks: unable to parse file \"%s\"\n", filename); + location_completion_cleanup(xpathObj, xpathCtx, doc); + return; + } + + xpathCtx = xmlXPathNewContext(doc); + if(xpathCtx == NULL) + { + g_fprintf(stderr, "Bookmarks: unable to create new XPath context\n"); + location_completion_cleanup(xpathObj, xpathCtx, doc); + return; + } + + xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx); + if(xpathObj == NULL) + { + g_fprintf(stderr, "Bookmarks: unable to evaluate xpath expression \"%s\"\n", xpathExpr); + location_completion_cleanup(xpathObj, xpathCtx, doc); + return; + } + + iter = load_xpath_results(list_store, xpathObj->nodesetval); + + location_completion_cleanup(xpathObj, xpathCtx, doc); + location_completion_setup(list_store); + + g_fprintf(stderr, "Bookmarks: Done.\n"); } -- cgit v1.3.1-23-gd82d From d88eca3e85906ca9458a8f0da89c85ddf5e9882d Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 25 Oct 2020 02:23:59 +0100 Subject: Makefile: Add hardening cflags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b988e41..7b24b4d 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ DATADIR ?= $(PREFIX)/share/badwolf APPSDIR ?= $(PREFIX)/share/applications CC ?= cc -CFLAGS ?= -g -Wall -Wextra -Wconversion -Wsign-conversion -O2 +CFLAGS ?= -g -O2 -fPIC -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wconversion -Wsign-conversion -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla DBG ?= PKGCONFIG ?= pkg-config MSGFMT ?= msgfmt -- cgit v1.3.1-23-gd82d From 13b89829812598a1d2612d8304491afbcf01cf55 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 1 Nov 2020 23:56:49 +0100 Subject: Makefile: Fix PIE/PIC flags --- Makefile | 2 +- badwolf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7b24b4d..a7409ab 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ DATADIR ?= $(PREFIX)/share/badwolf APPSDIR ?= $(PREFIX)/share/applications CC ?= cc -CFLAGS ?= -g -O2 -fPIC -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wconversion -Wsign-conversion -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla +CFLAGS ?= -g -O2 -pie -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wconversion -Wsign-conversion -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla DBG ?= PKGCONFIG ?= pkg-config MSGFMT ?= msgfmt diff --git a/badwolf.h b/badwolf.h index fc3328f..e5b33f0 100644 --- a/badwolf.h +++ b/badwolf.h @@ -2,8 +2,8 @@ #define BADWOLF_H_INCLUDED #include -#include #include /* uint64_t */ +#include extern const gchar *homepage; extern const gchar *version; -- cgit v1.3.1-23-gd82d From 2ab35014d69f116253468d683b0cd45785373aa6 Mon Sep 17 00:00:00 2001 From: Ben K Date: Tue, 30 Mar 2021 14:29:14 +0200 Subject: Add german translation --- Makefile | 2 +- po/de.po | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/messages.pot | 4 +- 3 files changed, 237 insertions(+), 3 deletions(-) create mode 100644 po/de.po (limited to 'Makefile') diff --git a/Makefile b/Makefile index a7409ab..5496f25 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ OBJS = bookmarks.o uri.o keybindings.o downloads.o badwolf.o OBJS_test = uri_test.o EXE = badwolf EXE_test = uri_test -TRANS = fr.mo pt_BR.mo tr.mo +TRANS = fr.mo pt_BR.mo tr.mo de.mo DOCS = usr.bin.badwolf README.md KnowledgeBase.md interface.txt CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION_FULL)\" diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..0afd563 --- /dev/null +++ b/po/de.po @@ -0,0 +1,234 @@ +# German translations for Badwolf package. +# Copyright (C) 2021 Badwolf Authors +# This file is distributed under the same license as the Badwolf package. +# Ben K. , 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: Badwolf 1.0.3+g1b10b33.develop\n" +"Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" +"POT-Creation-Date: 2021-03-23 18:10+0100\n" +"PO-Revision-Date: 2021-03-25 15:40+0100\n" +"Last-Translator: Ben K. \n" +"Language-Team: German\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.2.1\n" + +#: downloads.c:117 +#, c-format +msgid "%02i:%02i:%02i Download cancelled" +msgstr "%02i:%02i:%02i Herunterladen abgebrochen" + +#: downloads.c:119 +#, c-format +msgid "%02i:%02i:%02i Download error" +msgstr "%02i:%02i:%02i Herunterladen fehlgeschlagen" + +#: downloads.c:141 +#, c-format +msgid "%02i:%02i:%02i Download finished" +msgstr "%02i:%02i:%02i Fertig Heruntergeladen" + +#: downloads.c:167 +#, c-format +msgid "%02i:%02i:%02i Downloading…" +msgstr "%02i:%02i:%02i Lade herunter…" + +#: downloads.c:199 downloads.c:216 downloads.c:219 +msgid "Badwolf Downloads" +msgstr "Heruntergeladene Dateien" + +#: bookmarks.c:116 +msgid "Bookmarks: Done.\n" +msgstr "Lesezeichen: Erledigt. \n" + +#: bookmarks.c:59 +#, c-format +msgid "Bookmarks: Found %d bookmarks.\n" +msgstr "Lesezeichen: %d Lesezeichen gefunden. \n" + +#: bookmarks.c:81 +#, c-format +msgid "Bookmarks: No loadable file found at %s\n" +msgstr "Lesezeichen: Keine ladbare Datei unter %s gefunden\n" + +#: bookmarks.c:85 +#, c-format +msgid "Bookmarks: loading at %s\n" +msgstr "Lesezeichen: %s geladen\n" + +#: bookmarks.c:99 +#, fuzzy +msgid "Bookmarks: unable to create new XPath context\n" +msgstr "Lesezeichen: Kein neuer XPath-Kontext konnte erstellen werden\n" + +#: bookmarks.c:107 +#, fuzzy, c-format +msgid "Bookmarks: unable to evaluate XPath expression \"%s\"\n" +msgstr "" +"Leisezeichen: Der XPath-Ausdruck \"%s\" konnte nicht ausgewertet " +"werden\n" + +#: bookmarks.c:89 +#, c-format +msgid "Bookmarks: unable to parse file \"%s\"\n" +msgstr "Lesezeichen: Die Datei \"%s\" konnte nicht geparst werden\n" + +#: badwolf.c:954 +#, fuzzy, c-format +msgid "Buildtime WebKit version: %d.%d.%d\n" +msgstr "Buildtime WebKit version: %d.%d.%d\n" + +#: badwolf.c:439 +msgid "Continue" +msgstr "Weiter" + +#: badwolf.c:389 +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 "" +"Das TLS-Zertifikat konnte nicht verifiziert werden, um eine bessere " +"Sicherheit der Verbindung sicherzustellen. Sie möchten vielleicht ihr " +"Gerät und ihr Netzwerk überprüfen. \n" + +#: badwolf.c:99 +msgid "Crashed" +msgstr "Abgestürtzt" + +#: downloads.c:39 +msgid "Download starting…" +msgstr "Download startet…" + +#: badwolf.c:412 +msgid "Error: Some unknown error occurred validating the certificate.\n" +msgstr "" +"Fehler: Es ist ein unbekannter Fehler beim überprüfen des Zertifikats " +"aufgetreten.\n" + +#: badwolf.c:393 +#, fuzzy +msgid "Error: The X509 Certificate Authority is unknown.\n" +msgstr "Fehler: Die X509 Zertifikatsautorität ist unbekannt.\n" + +#: badwolf.c:406 +#, fuzzy +msgid "Error: The certificate has been revoked.\n" +msgstr "Fehler: Das Zertifikat wurde widerrufen.\n" + +#: badwolf.c:403 +msgid "Error: The certificate has expired. Check your system's clock.\n" +msgstr "" +"Fehler: Das Zertifikat ist abgelaufen. Bitte überprüfen Sie, ob die " +"Uhr ihres Systems richtig eingestellt ist.\n" + +#: badwolf.c:409 +msgid "Error: The certificate is considered to be insecure.\n" +msgstr "Fehler: Das Zertifikat wird als unsicher angesehen.\n" + +#: badwolf.c:400 +msgid "" +"Error: The certificate isn't valid yet. Check your system's clock.\n" +msgstr "" +"Fehler: Das Zertifikat ist noch nicht gültig. Bitte überprüfen Sie, ob " +"die Uhr ihres Systems richtig eingestellt ist.\n" + +#: badwolf.c:396 +msgid "Error: The given identity doesn't match the expected one.\n" +msgstr "" +"Fehler: Die gegebene Identität passt nicht mit der Erwarteten " +"zusammen.\n" + +#: keybindings.c:32 +#, c-format +msgid "" +"Minimalist and privacy-oriented web browser based on WebKitGTK\n" +"Runtime WebKit version: %d.%d.%d" +msgstr "" +"Minimalistischer und Privatsphäre-orientierter Internetbrowser " +"basierend of WebKitGTK\n" +"Runtime WebKit version: %d.%d.%d" + +#: badwolf.c:889 +msgid "New tab" +msgstr "Neuer Reiter" + +#: badwolf.c:1006 +msgid "Open new tab" +msgstr "Neuen Reiter öffnen" + +#: badwolf.c:103 +msgid "Out of Memory" +msgstr "" +"Ihnen scheint der Arbeitsspeicher ausgegangen zu sein! (Out of Memory)" + +#: badwolf.c:952 +#, c-format +msgid "Running Badwolf version: %s\n" +msgstr "Ausführende Badwolf-Version: %s\n" + +#: badwolf.c:959 +#, c-format +msgid "Runtime WebKit version: %d.%d.%d\n" +msgstr "Ausführende WebKit-Version: %d.%d.%d\n" + +#: badwolf.c:436 +#, c-format +msgid "TLS Error for %s." +msgstr "TLS-Fehler für %s." + +#: badwolf.c:439 +#, fuzzy +msgid "Temporarily Add Exception" +msgstr "Eine Ausnahme machen" + +#: badwolf.c:647 +msgid "Toggle javascript" +msgstr "JavaScript ein-/ausschalten" + +#: badwolf.c:652 +msgid "Toggle loading images automatically" +msgstr "Das automatische Laden von Bildern ein-/ausschalten" + +#: badwolf.c:107 +msgid "Unknown Crash" +msgstr "Unbekannter Absturz" + +#: badwolf.c:650 +msgid "_IMG" +msgstr "_IMG" + +#: badwolf.c:645 +msgid "_JS" +msgstr "_JS" + +#: badwolf.c:777 +msgid "search in current page" +msgstr "Die aktuelle Seite durchsuchen" + +#: badwolf.c:98 +msgid "the web process crashed.\n" +msgstr "Der Webprozess ist abgestürzt.\n" + +#: badwolf.c:102 +msgid "the web process exceeded the memory limit.\n" +msgstr "Der Webprozess hat das Arbeitsspeicherlimit überschritten.\n" + +#: badwolf.c:106 +msgid "the web process terminated for an unknown reason.\n" +msgstr "Der Webprozess wurde aus unbekannten Gründen beendet.\n" + +#: badwolf.c:966 +#, fuzzy, c-format +msgid "webkit-web-extension directory set to: %s\n" +msgstr "Das WebKit-Web-Erweiterungs-Verzeichnis wurde gesetzt auf: %s\n" + +#. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext. +#: badwolf.c:1042 +msgid "ø" +msgstr "ø" diff --git a/po/messages.pot b/po/messages.pot index aef9ca2..c5a821c 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 1.0.3+g15232cd.develop\n" +"Project-Id-Version: Badwolf 1.0.3+g1b10b339.develop\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-10-25 02:59+0100\n" +"POT-Creation-Date: 2021-03-30 14:25+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- cgit v1.3.1-23-gd82d From 4abd7044fda92b4d3dcb4774ff8d5f7772987b6a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 19 Apr 2021 22:31:00 +0200 Subject: Makefile: Bump to 1.1.0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5496f25..2ec3a80 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # - Usage of += for appending to a variable PACKAGE = Badwolf -VERSION = 1.0.3 +VERSION = 1.1.0 VERSION_FULL = $(VERSION)`./version.sh` PREFIX ?= /usr/local -- cgit v1.3.1-23-gd82d