From 03e5ee8158b64e70b629dcf77c974b9dcea65d92 Mon Sep 17 00:00:00 2001 From: Pedro Lucas Porcellis Date: Tue, 21 Jan 2020 22:24:14 -0300 Subject: Add pt_BR translation Signed-off-by: Haelwenn (lanodan) Monnier --- po/pt_BR.po | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 po/pt_BR.po (limited to 'po/pt_BR.po') diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..5e57452 --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,145 @@ +# BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser +# Copyright (C) 2020 Haelwenn (lanodan) Monnier +# 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" +"PO-Revision-Date: 2020-01-20 22:17-0300\n" +"Last-Translator: Pedro Lucas Porcellis \n" +"Language-Team: Brazilian Portuguese\n" +"Language: pt_BR\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" + +#: badwolf.c:760 +#, c-format +msgid "Buildtime WebKit version: %d.%d.%d\n" +msgstr "Versão do WebKit %d.%d.%d\n" + +#: badwolf.c:378 +msgid "Continue" +msgstr "Continuar" + +#: badwolf.c:331 +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" +"\n" + +#: badwolf.c:352 +msgid "Error: Some unknown error occurred validating the certificate.\n" +msgstr "" +"Erro: Algum erro desconhecido ocorreu enquanto validava o " +"certificado.\n" + +#: badwolf.c:334 +msgid "Error: The X509 Certificate Authority is unknown.\n" +msgstr "Erro: A Autoridade de Certificados X509 é desconhecida.\n" + +#: badwolf.c:346 +msgid "Error: The certificate has been revoked.\n" +msgstr "Erro: O certificado foi revogado.\n" + +#: badwolf.c:343 +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 +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" +msgstr "" +"Erro: O certificado não é válido ainda. Verifique o relógio do seu " +"sistema.\n" + +#: badwolf.c:337 +msgid "Error: The given identity doesn't match the expected one.\n" +msgstr "Erro: A identidade não confere com a esperada.\n" + +#: keybindings.c:39 +msgid "Minimalist and privacy-oriented WebKitGTK+ browser" +msgstr "Navegador orientado pela privacidade e minimalismo" + +#: badwolf.c:680 +msgid "New tab" +msgstr "Nova aba" + +#: badwolf.c:782 +msgid "Open new tab" +msgstr "Abrir uma Nova aba" + +#: badwolf.c:758 +#, c-format +msgid "Running Badwolf version: %s\n" +msgstr "Rodando versão %s do Badwolf\n" + +#: badwolf.c:765 +#, c-format +msgid "Runtime WebKit version: %d.%d.%d\n" +msgstr "Versão do WebKit: %d.%d.%d\n" + +#: badwolf.c:376 +#, c-format +msgid "TLS Error for %s." +msgstr "Erro TLS para %s." + +#: badwolf.c:378 +msgid "Temporarly Add Exception" +msgstr "Temporáriamente adicionar exceção" + +#: badwolf.c:565 +msgid "Toggle javascript" +msgstr "Habilitar Javascript" + +#: badwolf.c:606 +msgid "search in current page" +msgstr "buscar na página atual" + +#: badwolf.c:92 +msgid "the web process crashed.\n" +msgstr "o processo web travou.\n" + +#: badwolf.c:96 +msgid "the web process exceeded the memory limit.\n" +msgstr "o processo web excedeu o limite de memória.\n" + +#: badwolf.c:100 +msgid "the web process terminated for an unknown reason.\n" +msgstr "o processo web terminou por uma razão desconhecida.\n" + +#: badwolf.c:93 +msgid "title|Crashed" +msgstr "Erro" + +#: badwolf.c:97 +msgid "title|Out of Memory" +msgstr "Sem memória" + +#: badwolf.c:101 +msgid "title|Unknown Crash" +msgstr "Erro desconhecido" + +#: badwolf.c:772 +#, 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 +msgid "ø" +msgstr "ø" -- cgit v1.3.1-26-gb76a 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 'po/pt_BR.po') 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-26-gb76a From 6b5f7edc9b3d420837a3035fb24760de54451c4d Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 4 Feb 2020 07:37:51 +0100 Subject: badwolf.c: Always set a format in *printf calls Potential bug found via printf-scan aka pscan --- badwolf.c | 6 +++--- po/fr.po | 17 +++++++---------- po/messages.pot | 19 ++++++++----------- po/pt_BR.po | 17 +++++++---------- 4 files changed, 25 insertions(+), 34 deletions(-) (limited to 'po/pt_BR.po') diff --git a/badwolf.c b/badwolf.c index 580fedc..b6318b8 100644 --- a/badwolf.c +++ b/badwolf.c @@ -91,15 +91,15 @@ WebViewCb_web_process_terminated(WebKitWebView *webView, switch(reason) { case WEBKIT_WEB_PROCESS_CRASHED: - fprintf(stderr, _("the web process crashed.\n")); + fprintf(stderr, "%s", _("the web process crashed.\n")); webView_tab_label_change(browser, _("title|Crashed")); break; case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: - fprintf(stderr, _("the web process exceeded the memory limit.\n")); + fprintf(stderr, "%s", _("the web process exceeded the memory limit.\n")); webView_tab_label_change(browser, _("title|Out of Memory")); break; default: - fprintf(stderr, _("the web process terminated for an unknown reason.\n")); + fprintf(stderr, "%s", _("the web process terminated for an unknown reason.\n")); webView_tab_label_change(browser, _("title|Unknown Crash")); } diff --git a/po/fr.po b/po/fr.po index 5691800..7f341de 100644 --- a/po/fr.po +++ b/po/fr.po @@ -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: 2020-01-22 16:20+0100\n" +"POT-Creation-Date: 2020-02-04 07:57+0100\n" "PO-Revision-Date: 2019-12-22 00:57+0100\n" "Last-Translator: Haelwenn (lanodan) Monnier \n" "Language-Team: French\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: badwolf.c:771 +#: badwolf.c:764 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "Version WebKit à la compilation: %d.%d.%d\n" @@ -75,16 +75,16 @@ msgstr "Navigateur WebKitGTK+ minimaliste et orienté vie privée" msgid "New tab" msgstr "Nouvel onglet" -#: badwolf.c:793 +#: badwolf.c:786 msgid "Open new tab" msgstr "Ouvrir un nouvel onglet" -#: badwolf.c:769 +#: badwolf.c:762 #, c-format msgid "Running Badwolf version: %s\n" msgstr "Version de Badwolf: %s\n" -#: badwolf.c:776 +#: badwolf.c:769 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "Version WebKit au lancement: %d.%d.%d\n" @@ -107,17 +107,14 @@ msgid "search in current page" msgstr "recherche dans la page courante" #: badwolf.c:94 -#, c-format msgid "the web process crashed.\n" msgstr "le processus web a cessé de fonctionner.\n" #: 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: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" @@ -133,12 +130,12 @@ msgstr "Dépassement Mémoire" msgid "title|Unknown Crash" msgstr "Crash inconnu" -#: badwolf.c:783 +#: badwolf.c:776 #, 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:822 +#: badwolf.c:815 msgid "ø" msgstr "" diff --git a/po/messages.pot b/po/messages.pot index fc77c19..51b036c 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 0.4.0+ge6bdb68\n" +"Project-Id-Version: Badwolf 0.4.0+gac60080\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-01-22 16:20+0100\n" +"POT-Creation-Date: 2020-02-04 07:57+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: badwolf.c:771 +#: badwolf.c:764 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "" @@ -69,16 +69,16 @@ msgstr "" msgid "New tab" msgstr "" -#: badwolf.c:793 +#: badwolf.c:786 msgid "Open new tab" msgstr "" -#: badwolf.c:769 +#: badwolf.c:762 #, c-format msgid "Running Badwolf version: %s\n" msgstr "" -#: badwolf.c:776 +#: badwolf.c:769 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "" @@ -101,17 +101,14 @@ msgid "search in current page" msgstr "" #: badwolf.c:94 -#, c-format msgid "the web process crashed.\n" msgstr "" #: badwolf.c:98 -#, c-format msgid "the web process exceeded the memory limit.\n" msgstr "" #: badwolf.c:102 -#, c-format msgid "the web process terminated for an unknown reason.\n" msgstr "" @@ -127,12 +124,12 @@ msgstr "" msgid "title|Unknown Crash" msgstr "" -#: badwolf.c:783 +#: badwolf.c:776 #, c-format msgid "webkit-web-extension directory set to: %s\n" msgstr "" #. TRANSLATOR Ignore this entry. Done for forcing Unicode in xgettext. -#: badwolf.c:822 +#: badwolf.c:815 msgid "ø" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index e1aac75..89fa6ea 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Badwolf 0.4.0+g607300e\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-01-22 16:20+0100\n" +"POT-Creation-Date: 2020-02-04 07:57+0100\n" "PO-Revision-Date: 2020-01-20 22:17-0300\n" "Last-Translator: Pedro Lucas Porcellis \n" "Language-Team: Brazilian Portuguese\n" @@ -16,7 +16,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: badwolf.c:771 +#: badwolf.c:764 #, c-format msgid "Buildtime WebKit version: %d.%d.%d\n" msgstr "Versão do WebKit %d.%d.%d\n" @@ -74,16 +74,16 @@ msgstr "Navegador orientado pela privacidade e minimalismo" msgid "New tab" msgstr "Nova aba" -#: badwolf.c:793 +#: badwolf.c:786 msgid "Open new tab" msgstr "Abrir uma Nova aba" -#: badwolf.c:769 +#: badwolf.c:762 #, c-format msgid "Running Badwolf version: %s\n" msgstr "Rodando versão %s do Badwolf\n" -#: badwolf.c:776 +#: badwolf.c:769 #, c-format msgid "Runtime WebKit version: %d.%d.%d\n" msgstr "Versão do WebKit: %d.%d.%d\n" @@ -106,17 +106,14 @@ msgid "search in current page" msgstr "buscar na página atual" #: badwolf.c:94 -#, c-format msgid "the web process crashed.\n" msgstr "o processo web travou.\n" #: 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:102 -#, c-format msgid "the web process terminated for an unknown reason.\n" msgstr "o processo web terminou por uma razão desconhecida.\n" @@ -132,12 +129,12 @@ msgstr "Sem memória" msgid "title|Unknown Crash" msgstr "Erro desconhecido" -#: badwolf.c:783 +#: badwolf.c:776 #, 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:822 +#: badwolf.c:815 msgid "ø" msgstr "ø" -- cgit v1.3.1-26-gb76a From 177b29e2e39e9b5833a1bd1587b4ffc470b07f55 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 4 Feb 2020 08:03:13 +0100 Subject: badwolf.c: Remove title| in crash handling It is just too confusable for translators, proper context function should be used instead. --- badwolf.c | 6 +++--- po/fr.po | 15 ++++++++++++++- po/messages.pot | 16 ++++++++++++++-- po/pt_BR.po | 17 ++++++++++++++++- 4 files changed, 47 insertions(+), 7 deletions(-) (limited to 'po/pt_BR.po') diff --git a/badwolf.c b/badwolf.c index b6318b8..cb26dcf 100644 --- a/badwolf.c +++ b/badwolf.c @@ -92,15 +92,15 @@ WebViewCb_web_process_terminated(WebKitWebView *webView, { case WEBKIT_WEB_PROCESS_CRASHED: fprintf(stderr, "%s", _("the web process crashed.\n")); - webView_tab_label_change(browser, _("title|Crashed")); + webView_tab_label_change(browser, _("Crashed")); break; case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: fprintf(stderr, "%s", _("the web process exceeded the memory limit.\n")); - webView_tab_label_change(browser, _("title|Out of Memory")); + webView_tab_label_change(browser, _("Out of Memory")); break; default: fprintf(stderr, "%s", _("the web process terminated for an unknown reason.\n")); - webView_tab_label_change(browser, _("title|Unknown Crash")); + webView_tab_label_change(browser, _("Unknown Crash")); } return FALSE; diff --git a/po/fr.po b/po/fr.po index 7f341de..a3b348e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -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: 2020-02-04 07:57+0100\n" +"POT-Creation-Date: 2020-02-04 07:54+0100\n" "PO-Revision-Date: 2019-12-22 00:57+0100\n" "Last-Translator: Haelwenn (lanodan) Monnier \n" "Language-Team: French\n" @@ -37,6 +37,11 @@ msgstr "" "et son réseau.\n" "\n" +#: badwolf.c:95 +#, fuzzy +msgid "Crashed" +msgstr "Crash" + #: badwolf.c:357 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" @@ -79,6 +84,10 @@ msgstr "Nouvel onglet" msgid "Open new tab" msgstr "Ouvrir un nouvel onglet" +#: badwolf.c:99 +msgid "Out of Memory" +msgstr "Dépassement Mémoire" + #: badwolf.c:762 #, c-format msgid "Running Badwolf version: %s\n" @@ -102,6 +111,10 @@ msgstr "Ajouter Temporairement une Exception" msgid "Toggle javascript" msgstr "Activer/Désactiver javascript" +#: badwolf.c:103 +msgid "Unknown Crash" +msgstr "Crash inconnu" + #: badwolf.c:612 msgid "search in current page" msgstr "recherche dans la page courante" diff --git a/po/messages.pot b/po/messages.pot index 51b036c..6f2f9f8 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 0.4.0+gac60080\n" +"Project-Id-Version: Badwolf 0.4.0+g2e84f1d\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-02-04 07:57+0100\n" +"POT-Creation-Date: 2020-02-04 07:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -33,6 +33,10 @@ msgid "" "\n" msgstr "" +#: badwolf.c:95 +msgid "Crashed" +msgstr "" + #: badwolf.c:357 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" @@ -73,6 +77,10 @@ msgstr "" msgid "Open new tab" msgstr "" +#: badwolf.c:99 +msgid "Out of Memory" +msgstr "" + #: badwolf.c:762 #, c-format msgid "Running Badwolf version: %s\n" @@ -96,6 +104,10 @@ msgstr "" msgid "Toggle javascript" msgstr "" +#: badwolf.c:103 +msgid "Unknown Crash" +msgstr "" + #: badwolf.c:612 msgid "search in current page" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index 89fa6ea..aca5ce3 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Badwolf 0.4.0+g607300e\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-02-04 07:57+0100\n" +"POT-Creation-Date: 2020-02-04 07:54+0100\n" "PO-Revision-Date: 2020-01-20 22:17-0300\n" "Last-Translator: Pedro Lucas Porcellis \n" "Language-Team: Brazilian Portuguese\n" @@ -35,6 +35,11 @@ msgstr "" "segurança da conexão. Talvez você deva verificar a sua máquina e rede.\n" "\n" +#: badwolf.c:95 +#, fuzzy +msgid "Crashed" +msgstr "Erro" + #: badwolf.c:357 msgid "Error: Some unknown error occurred validating the certificate.\n" msgstr "" @@ -78,6 +83,11 @@ msgstr "Nova aba" msgid "Open new tab" msgstr "Abrir uma Nova aba" +#: badwolf.c:99 +#, fuzzy +msgid "Out of Memory" +msgstr "Sem memória" + #: badwolf.c:762 #, c-format msgid "Running Badwolf version: %s\n" @@ -101,6 +111,11 @@ msgstr "Temporáriamente adicionar exceção" msgid "Toggle javascript" msgstr "Habilitar Javascript" +#: badwolf.c:103 +#, fuzzy +msgid "Unknown Crash" +msgstr "Erro desconhecido" + #: badwolf.c:612 msgid "search in current page" msgstr "buscar na página atual" -- cgit v1.3.1-26-gb76a