From b9310fecfb84208d30fb92527f9901883d6bb035 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 25 Sep 2019 08:58:06 +0200 Subject: [PATCH 1/3] added ES translation for blockbot addon THX Julio Cova --- blockbot/lang/es/messages.po | 42 ++++++++++++++++++++++++++++++++++++ blockbot/lang/es/strings.php | 13 +++++++++++ 2 files changed, 55 insertions(+) create mode 100644 blockbot/lang/es/messages.po create mode 100644 blockbot/lang/es/strings.php diff --git a/blockbot/lang/es/messages.po b/blockbot/lang/es/messages.po new file mode 100644 index 00000000..2f7cd499 --- /dev/null +++ b/blockbot/lang/es/messages.po @@ -0,0 +1,42 @@ +# ADDON blockbot +# Copyright (C) +# This file is distributed under the same license as the Friendica blockbot addon package. +# +# +# Translators: +# Julio Cova, 2019 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-07 09:03+0200\n" +"PO-Revision-Date: 2019-08-07 07:43+0000\n" +"Last-Translator: Julio Cova, 2019\n" +"Language-Team: Spanish (https://www.transifex.com/Friendica/teams/12172/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: blockbot.php:35 +msgid "Save Settings" +msgstr "Guardar ajustes" + +#: blockbot.php:36 +msgid "Allow \"good\" crawlers" +msgstr "Permitir rastreadores web \"buenos\"" + +#: blockbot.php:37 +msgid "Block GabSocial" +msgstr "Bloquear GabSocial" + +#: blockbot.php:38 +msgid "Training mode" +msgstr "Modo de entrenamiento" + +#: blockbot.php:46 +msgid "Settings updated." +msgstr "Ajustes actualizados." diff --git a/blockbot/lang/es/strings.php b/blockbot/lang/es/strings.php new file mode 100644 index 00000000..813864c8 --- /dev/null +++ b/blockbot/lang/es/strings.php @@ -0,0 +1,13 @@ +strings["Save Settings"] = "Guardar ajustes"; +$a->strings["Allow \"good\" crawlers"] = "Permitir rastreadores web \"buenos\""; +$a->strings["Block GabSocial"] = "Bloquear GabSocial"; +$a->strings["Training mode"] = "Modo de entrenamiento"; +$a->strings["Settings updated."] = "Ajustes actualizados."; -- 2.43.0 From 33e855493054d6b08db9249de055c89e3b527b09 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 27 Sep 2019 08:50:11 +0200 Subject: [PATCH 2/3] added EN GB translation of blockbot addon THX AndyH3 --- blockbot/lang/en-gb/messages.po | 42 +++++++++++++++++++++++++++++++++ blockbot/lang/en-gb/strings.php | 13 ++++++++++ 2 files changed, 55 insertions(+) create mode 100644 blockbot/lang/en-gb/messages.po create mode 100644 blockbot/lang/en-gb/strings.php diff --git a/blockbot/lang/en-gb/messages.po b/blockbot/lang/en-gb/messages.po new file mode 100644 index 00000000..b88c1123 --- /dev/null +++ b/blockbot/lang/en-gb/messages.po @@ -0,0 +1,42 @@ +# ADDON blockbot +# Copyright (C) +# This file is distributed under the same license as the Friendica blockbot addon package. +# +# +# Translators: +# Andy H3 , 2019 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-07 09:03+0200\n" +"PO-Revision-Date: 2019-08-07 07:43+0000\n" +"Last-Translator: Andy H3 , 2019\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/Friendica/teams/12172/en_GB/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: blockbot.php:35 +msgid "Save Settings" +msgstr "Save Settings" + +#: blockbot.php:36 +msgid "Allow \"good\" crawlers" +msgstr "Allow \"good\" crawlers" + +#: blockbot.php:37 +msgid "Block GabSocial" +msgstr "Block GabSocial" + +#: blockbot.php:38 +msgid "Training mode" +msgstr "Training mode" + +#: blockbot.php:46 +msgid "Settings updated." +msgstr "Settings updated." diff --git a/blockbot/lang/en-gb/strings.php b/blockbot/lang/en-gb/strings.php new file mode 100644 index 00000000..f5299bf5 --- /dev/null +++ b/blockbot/lang/en-gb/strings.php @@ -0,0 +1,13 @@ +strings["Save Settings"] = "Save Settings"; +$a->strings["Allow \"good\" crawlers"] = "Allow \"good\" crawlers"; +$a->strings["Block GabSocial"] = "Block GabSocial"; +$a->strings["Training mode"] = "Training mode"; +$a->strings["Settings updated."] = "Settings updated."; -- 2.43.0 From 232a79057b9995b6463d4b96b8b2d1758887ac8a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 28 Sep 2019 17:13:40 +0000 Subject: [PATCH 3/3] tumblr: Now using https instead of http for the endpoints --- tumblr/library/tumblroauth.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tumblr/library/tumblroauth.php b/tumblr/library/tumblroauth.php index 948b19b6..37da6142 100644 --- a/tumblr/library/tumblroauth.php +++ b/tumblr/library/tumblroauth.php @@ -15,7 +15,7 @@ class TumblrOAuth { /* Contains the last API call. */ public $url; /* Set up the API root URL. */ - public $host = "http://api.tumblr.com/v2/"; + public $host = "https://api.tumblr.com/v2/"; /* Set timeout default. */ public $timeout = 30; /* Set connect timeout. */ @@ -39,10 +39,10 @@ class TumblrOAuth { /** * Set API URLS */ - function accessTokenURL() { return 'http://www.tumblr.com/oauth/access_token'; } - function authenticateURL() { return 'http://www.tumblr.com/oauth/authorize'; } - function authorizeURL() { return 'http://www.tumblr.com/oauth/authorize'; } - function requestTokenURL() { return 'http://www.tumblr.com/oauth/request_token'; } + function accessTokenURL() { return 'https://www.tumblr.com/oauth/access_token'; } + function authenticateURL() { return 'https://www.tumblr.com/oauth/authorize'; } + function authorizeURL() { return 'https://www.tumblr.com/oauth/authorize'; } + function requestTokenURL() { return 'https://www.tumblr.com/oauth/request_token'; } /** * Debug helpers -- 2.43.0