Merge branch 'master' into develop

This commit is contained in:
Tobias Diekershoff 2019-09-29 07:30:07 +02:00
commit 090443bf9a
28 changed files with 914 additions and 103 deletions

View File

@ -0,0 +1,65 @@
# ADDON blackout
# Copyright (C)
# This file is distributed under the same license as the Friendica blackout addon package.
#
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-12 09:26+0100\n"
"PO-Revision-Date: 2019-08-28 10:18+0000\n"
"Last-Translator: Ozero Dien <rgfx0020+misc@gmail.com>\n"
"Language-Team: Japanese (http://www.transifex.com/Friendica/friendica/language/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: blackout.php:101
msgid ""
"The end-date is prior to the start-date of the blackout, you should fix this"
msgstr "終了日はブラックアウトの開始日より前です。これを修正する必要があります"
#: blackout.php:103
#, php-format
msgid ""
"Please double check that the current settings for the blackout. Begin will "
"be <strong>%s</strong> and it will end <strong>%s</strong>."
msgstr "ブラックアウトの現在の設定を再確認してください。開始は<strong> %s </strong>で、終了は<strong> %s </strong>です。"
#: blackout.php:106
msgid "Save Settings"
msgstr "設定を保存する"
#: blackout.php:107
msgid "Redirect URL"
msgstr "リダイレクト URL"
#: blackout.php:107
msgid "all your visitors from the web will be redirected to this URL"
msgstr "Webからのすべての訪問者はこのURLにリダイレクトされます"
#: blackout.php:108
msgid "Begin of the Blackout"
msgstr "ブラックアウトの始まり"
#: blackout.php:108
msgid ""
"Format is <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> year, <em>MM</em> month, "
"<em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute."
msgstr "形式は<tt> YYYY-MM-DD hhmm </tt>です。 <em> YYYY </em>年、<em> MM </em>月、<em> DD </em>日、<em> hh </em>時間と<em> mm </em>分。"
#: blackout.php:109
msgid "End of the Blackout"
msgstr "ブラックアウトの終わり"
#: blackout.php:111
msgid ""
"<strong>Note</strong>: The redirect will be active from the moment you press"
" the submit button. Users currently logged in will <strong>not</strong> be "
"thrown out but can't login again after logging out should the blackout is "
"still in place."
msgstr "<strong>備考</strong>:送信ボタンを押した時点からリダイレクトが有効になります。現在ログインしているユーザーは<strong>リダイレクトされません</strong>が、ブラックアウトが有効な間はログアウト後再度ログインできなくなります。"

View File

@ -0,0 +1,17 @@
<?php
if(! function_exists("string_plural_select_ja")) {
function string_plural_select_ja($n){
$n = intval($n);
return 0;;
}}
;
$a->strings["The end-date is prior to the start-date of the blackout, you should fix this"] = "終了日はブラックアウトの開始日より前です。これを修正する必要があります";
$a->strings["Please double check that the current settings for the blackout. Begin will be <strong>%s</strong> and it will end <strong>%s</strong>."] = "ブラックアウトの現在の設定を再確認してください。開始は<strong> %s </strong>で、終了は<strong> %s </strong>です。";
$a->strings["Save Settings"] = "設定を保存する";
$a->strings["Redirect URL"] = "リダイレクト URL";
$a->strings["all your visitors from the web will be redirected to this URL"] = "Webからのすべての訪問者はこのURLにリダイレクトされます";
$a->strings["Begin of the Blackout"] = "ブラックアウトの始まり";
$a->strings["Format is <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute."] = "形式は<tt> YYYY-MM-DD hhmm </tt>です。 <em> YYYY </em>年、<em> MM </em>月、<em> DD </em>日、<em> hh </em>時間と<em> mm </em>分。";
$a->strings["End of the Blackout"] = "ブラックアウトの終わり";
$a->strings["<strong>Note</strong>: The redirect will be active from the moment you press the submit button. Users currently logged in will <strong>not</strong> be thrown out but can't login again after logging out should the blackout is still in place."] = "<strong>備考</strong>:送信ボタンを押した時点からリダイレクトが有効になります。現在ログインしているユーザーは<strong>リダイレクトされません</strong>が、ブラックアウトが有効な間はログアウト後再度ログインできなくなります。";

View File

@ -55,7 +55,7 @@ function blockbot_init_1(App $a) {
// List of "good" crawlers
$good_agents = ['fediverse.space crawler', 'fediverse.network crawler', 'Active_Pods_CheckBot_3.0',
'Social-Relay/', 'Test Certificate Info', 'Uptimebot/'];
'Social-Relay/', 'Test Certificate Info', 'Uptimebot/', 'GNUSocialBot'];
// List of known crawlers.
$agents = ['SemrushBot', 's~feedly-nikon3', 'Qwantify/Bleriot/', 'ltx71', 'Sogou web spider/',
@ -74,7 +74,8 @@ function blockbot_init_1(App $a) {
'ArchiveTeam ArchiveBot/', 'yacybot', 'https://developers.google.com/+/web/snippet/',
'Scrapy/', 'github-camo', 'MJ12bot/', 'DotBot/', 'Pinterestbot/', 'Jooblebot/',
'Cliqzbot/', 'YaK/', 'Mediatoolkitbot', 'Snacktory', 'FunWebProducts', 'oBot/',
'7Siters/', 'KOCMOHABT', 'Google-SearchByImage'];
'7Siters/', 'KOCMOHABT', 'Google-SearchByImage', 'FemtosearchBot/',
'HubSpot Crawler', 'DomainStatsBot/', 'Re-re Studio'];
if (!Config::get('blockbot', 'good_crawlers')) {
$agents = array_merge($agents, $good_agents);

View File

@ -0,0 +1,42 @@
# ADDON blockbot
# Copyright (C)
# This file is distributed under the same license as the Friendica blockbot addon package.
#
#
# Translators:
# Aditoo, 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: Aditoo, 2019\n"
"Language-Team: Czech (https://www.transifex.com/Friendica/teams/12172/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: cs\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
#: blockbot.php:35
msgid "Save Settings"
msgstr "Uložit nastavení"
#: blockbot.php:36
msgid "Allow \"good\" crawlers"
msgstr "Povolit „dobré“ crawlery"
#: blockbot.php:37
msgid "Block GabSocial"
msgstr "Zablokovat GabSocial"
#: blockbot.php:38
msgid "Training mode"
msgstr "Trénovací režim"
#: blockbot.php:46
msgid "Settings updated."
msgstr "Nastavení aktualizována."

View File

@ -0,0 +1,13 @@
<?php
if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){
$n = intval($n);
return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;;
}}
;
$a->strings["Save Settings"] = "Uložit nastavení";
$a->strings["Allow \"good\" crawlers"] = "Povolit „dobré“ crawlery";
$a->strings["Block GabSocial"] = "Zablokovat GabSocial";
$a->strings["Training mode"] = "Trénovací režim";
$a->strings["Settings updated."] = "Nastavení aktualizována.";

View File

@ -5,6 +5,7 @@
#
# Translators:
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2019
# Vinzenz Vietzke <vinz@vinzv.de>, 2019
#
#, fuzzy
msgid ""
@ -13,7 +14,7 @@ msgstr ""
"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: Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2019\n"
"Last-Translator: Vinzenz Vietzke <vinz@vinzv.de>, 2019\n"
"Language-Team: German (https://www.transifex.com/Friendica/teams/12172/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -35,7 +36,7 @@ msgstr "GabSocial Instanzen blockieren"
#: blockbot.php:38
msgid "Training mode"
msgstr "Trainings Modus"
msgstr "Trainingsmodus"
#: blockbot.php:46
msgid "Settings updated."

View File

@ -9,5 +9,5 @@ function string_plural_select_de($n){
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["Allow \"good\" crawlers"] = "\"Gute\" Crawler erlauben";
$a->strings["Block GabSocial"] = "GabSocial Instanzen blockieren";
$a->strings["Training mode"] = "Trainings Modus";
$a->strings["Training mode"] = "Trainingsmodus";
$a->strings["Settings updated."] = "Einstellungen aktualisiert.";

View File

@ -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 <andy@hubup.pro>, 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 <andy@hubup.pro>, 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."

View File

@ -0,0 +1,13 @@
<?php
if(! function_exists("string_plural_select_en_gb")) {
function string_plural_select_en_gb($n){
$n = intval($n);
return ($n != 1);;
}}
;
$a->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.";

View File

@ -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."

View File

@ -0,0 +1,13 @@
<?php
if(! function_exists("string_plural_select_es")) {
function string_plural_select_es($n){
$n = intval($n);
return ($n != 1);;
}}
;
$a->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.";

View File

@ -0,0 +1,42 @@
# ADDON blockbot
# Copyright (C)
# This file is distributed under the same license as the Friendica blockbot addon package.
#
#
# Translators:
# Waldemar Stoczkowski, 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: Waldemar Stoczkowski, 2019\n"
"Language-Team: Polish (https://www.transifex.com/Friendica/teams/12172/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
#: blockbot.php:35
msgid "Save Settings"
msgstr "Zapisz ustawienia"
#: blockbot.php:36
msgid "Allow \"good\" crawlers"
msgstr "Pozwól „dobrym” robotom"
#: blockbot.php:37
msgid "Block GabSocial"
msgstr "Zablokuj GabSocial"
#: blockbot.php:38
msgid "Training mode"
msgstr "Tryb treningowy"
#: blockbot.php:46
msgid "Settings updated."
msgstr "Ustawienia zaktualizowane."

View File

@ -0,0 +1,13 @@
<?php
if(! function_exists("string_plural_select_pl")) {
function string_plural_select_pl($n){
$n = intval($n);
return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);;
}}
;
$a->strings["Save Settings"] = "Zapisz ustawienia";
$a->strings["Allow \"good\" crawlers"] = "Pozwól „dobrym” robotom";
$a->strings["Block GabSocial"] = "Zablokuj GabSocial";
$a->strings["Training mode"] = "Tryb treningowy";
$a->strings["Settings updated."] = "Ustawienia zaktualizowane.";

View File

@ -0,0 +1,59 @@
# ADDON blockem
# Copyright (C)
# This file is distributed under the same license as the Friendica blockem addon package.
#
#
# Translators:
# Bjoessi <torbjorn.andersson@syte.se>, 2019
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-17 10:23+0200\n"
"PO-Revision-Date: 2019-08-20 07:51+0000\n"
"Last-Translator: Bjoessi <torbjorn.andersson@syte.se>\n"
"Language-Team: Swedish (http://www.transifex.com/Friendica/friendica/language/sv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: blockem.php:54 blockem.php:58
msgid "Blockem"
msgstr "BLOCKEM"
#: blockem.php:62
msgid ""
"Hides user's content by collapsing posts. Also replaces their avatar with "
"generic image."
msgstr "Döljer användares inlägg genom sammanslagning nedåt. Användarens profilbild ersätts med en standardbild."
#: blockem.php:63
msgid "Comma separated profile URLS:"
msgstr "Kommaseparerade profiladresser:"
#: blockem.php:67
msgid "Save Settings"
msgstr "Spara inställningar"
#: blockem.php:81
msgid "BLOCKEM Settings saved."
msgstr "BLOCKEM Inställningar sparade."
#: blockem.php:143
#, php-format
msgid "Filtered user: %s"
msgstr "Filtrerat på användare:%s"
#: blockem.php:202
msgid "Unblock Author"
msgstr "Avblockera författare"
#: blockem.php:204
msgid "Block Author"
msgstr "Blockera författare"
#: blockem.php:244
msgid "blockem settings updated"
msgstr "BLOCKEM Inställningar uppdaterade"

View File

@ -1,3 +1,17 @@
<?php
$a->strings["Submit"] = "Spara";
<?php
if(! function_exists("string_plural_select_sv")) {
function string_plural_select_sv($n){
$n = intval($n);
return ($n != 1);;
}}
;
$a->strings["Blockem"] = "BLOCKEM";
$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Döljer användares inlägg genom sammanslagning nedåt. Användarens profilbild ersätts med en standardbild.";
$a->strings["Comma separated profile URLS:"] = "Kommaseparerade profiladresser:";
$a->strings["Save Settings"] = "Spara inställningar";
$a->strings["BLOCKEM Settings saved."] = "BLOCKEM Inställningar sparade.";
$a->strings["Filtered user: %s"] = "Filtrerat på användare:%s";
$a->strings["Unblock Author"] = "Avblockera författare";
$a->strings["Block Author"] = "Blockera författare";
$a->strings["blockem settings updated"] = "BLOCKEM Inställningar uppdaterade";

View File

@ -0,0 +1,56 @@
# ADDON blogger
# Copyright (C)
# This file is distributed under the same license as the Friendica blogger addon package.
#
#
# Translators:
# Bjoessi <torbjorn.andersson@syte.se>, 2019
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2019-08-20 07:54+0000\n"
"Last-Translator: Bjoessi <torbjorn.andersson@syte.se>\n"
"Language-Team: Swedish (http://www.transifex.com/Friendica/friendica/language/sv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: blogger.php:42
msgid "Post to blogger"
msgstr "Lägg in på Blogger"
#: blogger.php:74 blogger.php:78
msgid "Blogger Export"
msgstr "Export till Blogger"
#: blogger.php:82
msgid "Enable Blogger Post Addon"
msgstr "Aktivera tillägg för Blogger-inlägg"
#: blogger.php:87
msgid "Blogger username"
msgstr "Blogger användarnamn"
#: blogger.php:92
msgid "Blogger password"
msgstr "Blogger lösenord"
#: blogger.php:97
msgid "Blogger API URL"
msgstr "Blogger API URL"
#: blogger.php:102
msgid "Post to Blogger by default"
msgstr "Lägg in på Blogger som standard"
#: blogger.php:108
msgid "Save Settings"
msgstr "Spara inställningar"
#: blogger.php:178
msgid "Post from Friendica"
msgstr "Inlägg från Friendica"

View File

@ -1,3 +1,17 @@
<?php
$a->strings["Submit"] = "Spara";
<?php
if(! function_exists("string_plural_select_sv")) {
function string_plural_select_sv($n){
$n = intval($n);
return ($n != 1);;
}}
;
$a->strings["Post to blogger"] = "Lägg in på Blogger";
$a->strings["Blogger Export"] = "Export till Blogger";
$a->strings["Enable Blogger Post Addon"] = "Aktivera tillägg för Blogger-inlägg";
$a->strings["Blogger username"] = "Blogger användarnamn";
$a->strings["Blogger password"] = "Blogger lösenord";
$a->strings["Blogger API URL"] = "Blogger API URL";
$a->strings["Post to Blogger by default"] = "Lägg in på Blogger som standard";
$a->strings["Save Settings"] = "Spara inställningar";
$a->strings["Post from Friendica"] = "Inlägg från Friendica";

View File

@ -42,6 +42,7 @@
public $errors = [
'invalid-endpoint' => 'The endpoint you supplied does not appear to be valid.',
'401' => 'Unauthorized.',
'403' => 'Permission denied.',
'404' => 'Endpoint not found.',
'405' => 'Method not allowed.',

View File

@ -4,15 +4,18 @@
#
#
# Translators:
# bavatar <tobias.diekershoff@gmx.net>, 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
# Ulf Rompe <transifex.com@rompe.org>, 2019
# Vinzenz Vietzke <vinz@vinzv.de>, 2019
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-07-03 05:49+0000\n"
"Last-Translator: bavatar <tobias.diekershoff@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
"PO-Revision-Date: 2019-08-19 10:15+0000\n"
"Last-Translator: Vinzenz Vietzke <vinz@vinzv.de>\n"
"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -37,19 +40,19 @@ msgstr "Client Secret"
#: buffer.php:67
msgid "Error when registering buffer connection:"
msgstr "Fehler beim Registrieren des buffer Connectors."
msgstr "Fehler beim Registrieren des Buffer-Connectors."
#: buffer.php:86
msgid "You are now authenticated to buffer. "
msgstr "Du bist nun auf buffer authentifiziert."
msgstr "Du bist nun auf Buffer authentifiziert."
#: buffer.php:87
msgid "return to the connector page"
msgstr "zurück zur Connector Seite"
msgstr "zurück zur Connector-Seite"
#: buffer.php:103
msgid "Post to Buffer"
msgstr "Auf buffer veröffentlichen"
msgstr "Auf Buffer veröffentlichen"
#: buffer.php:128 buffer.php:132
msgid "Buffer Export"
@ -57,20 +60,20 @@ msgstr "Buffer Export"
#: buffer.php:142
msgid "Authenticate your Buffer connection"
msgstr "Authentifiziere deine Verbindung zu buffer"
msgstr "Authentifiziere deine Verbindung zu Buffer"
#: buffer.php:146
msgid "Enable Buffer Post Addon"
msgstr "Buffer Post-Addon aktivieren"
msgstr "Buffer-Post-Addon aktivieren"
#: buffer.php:151
msgid "Post to Buffer by default"
msgstr "Standardmäßig auf buffer veröffentlichen"
msgstr "Standardmäßig auf Buffer veröffentlichen"
#: buffer.php:156
msgid "Check to delete this preset"
msgstr "Markieren um dieses Preset zu löschen"
msgstr "Markieren, um diese Voreinstellung zu löschen"
#: buffer.php:165
msgid "Posts are going to all accounts that are enabled by default:"
msgstr "Beiträge werden an alle Accounts geschickt, die Standardmäßig aktiviert sind."
msgstr "Beiträge werden an alle Accounts geschickt, die standardmäßig aktiviert sind."

View File

@ -2,6 +2,7 @@
if(! function_exists("string_plural_select_de")) {
function string_plural_select_de($n){
$n = intval($n);
return ($n != 1);;
}}
;
@ -9,13 +10,13 @@ $a->strings["Permission denied."] = "Zugriff verweigert.";
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["Client ID"] = "Client ID";
$a->strings["Client Secret"] = "Client Secret";
$a->strings["Error when registering buffer connection:"] = "Fehler beim Registrieren des buffer Connectors.";
$a->strings["You are now authenticated to buffer. "] = "Du bist nun auf buffer authentifiziert.";
$a->strings["return to the connector page"] = "zurück zur Connector Seite";
$a->strings["Post to Buffer"] = "Auf buffer veröffentlichen";
$a->strings["Error when registering buffer connection:"] = "Fehler beim Registrieren des Buffer-Connectors.";
$a->strings["You are now authenticated to buffer. "] = "Du bist nun auf Buffer authentifiziert.";
$a->strings["return to the connector page"] = "zurück zur Connector-Seite";
$a->strings["Post to Buffer"] = "Auf Buffer veröffentlichen";
$a->strings["Buffer Export"] = "Buffer Export";
$a->strings["Authenticate your Buffer connection"] = "Authentifiziere deine Verbindung zu buffer";
$a->strings["Enable Buffer Post Addon"] = "Buffer Post-Addon aktivieren";
$a->strings["Post to Buffer by default"] = "Standardmäßig auf buffer veröffentlichen";
$a->strings["Check to delete this preset"] = "Markieren um dieses Preset zu löschen";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Beiträge werden an alle Accounts geschickt, die Standardmäßig aktiviert sind.";
$a->strings["Authenticate your Buffer connection"] = "Authentifiziere deine Verbindung zu Buffer";
$a->strings["Enable Buffer Post Addon"] = "Buffer-Post-Addon aktivieren";
$a->strings["Post to Buffer by default"] = "Standardmäßig auf Buffer veröffentlichen";
$a->strings["Check to delete this preset"] = "Markieren, um diese Voreinstellung zu löschen";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Beiträge werden an alle Accounts geschickt, die standardmäßig aktiviert sind.";

View File

@ -0,0 +1,77 @@
# ADDON buffer
# Copyright (C)
# This file is distributed under the same license as the Friendica buffer addon package.
#
#
# Translators:
# Hypolite Petovan <hypolite@mrpetovan.com>, 2019
# Bjoessi <torbjorn.andersson@syte.se>, 2019
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2019-08-20 08:07+0000\n"
"Last-Translator: Bjoessi <torbjorn.andersson@syte.se>\n"
"Language-Team: Swedish (http://www.transifex.com/Friendica/friendica/language/sv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: buffer.php:31
msgid "Permission denied."
msgstr "Åtkomst nekad."
#: buffer.php:57 buffer.php:185
msgid "Save Settings"
msgstr "Spara inställningar"
#: buffer.php:59
msgid "Client ID"
msgstr "Klient-ID"
#: buffer.php:60
msgid "Client Secret"
msgstr "Klient hemlig nyckel"
#: buffer.php:67
msgid "Error when registering buffer connection:"
msgstr "Fel vid anslutning till Buffer"
#: buffer.php:86
msgid "You are now authenticated to buffer. "
msgstr "Du är nu autentiserad mot Buffer."
#: buffer.php:87
msgid "return to the connector page"
msgstr "återgå till anslutningssida"
#: buffer.php:103
msgid "Post to Buffer"
msgstr "Inlägg till Buffer"
#: buffer.php:128 buffer.php:132
msgid "Buffer Export"
msgstr "Export till Buffer"
#: buffer.php:142
msgid "Authenticate your Buffer connection"
msgstr "Validera din anslutning mot Buffer"
#: buffer.php:146
msgid "Enable Buffer Post Addon"
msgstr "Aktivera tillägg för Buffer-inlägg"
#: buffer.php:151
msgid "Post to Buffer by default"
msgstr "Lägg in på Buffer som standard"
#: buffer.php:156
msgid "Check to delete this preset"
msgstr "Markera för att ta bort förinställning"
#: buffer.php:165
msgid "Posts are going to all accounts that are enabled by default:"
msgstr "Inlägg skickas som standard till alla konton som är aktiverade:"

View File

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_sv")) {
function string_plural_select_sv($n){
$n = intval($n);
return ($n != 1);;
}}
;
$a->strings["Permission denied."] = "Åtkomst nekad.";
$a->strings["Save Settings"] = "Spara inställningar";
$a->strings["Client ID"] = "Klient-ID";
$a->strings["Client Secret"] = "Klient hemlig nyckel";
$a->strings["Error when registering buffer connection:"] = "Fel vid anslutning till Buffer";
$a->strings["You are now authenticated to buffer. "] = "Du är nu autentiserad mot Buffer.";
$a->strings["return to the connector page"] = "återgå till anslutningssida";
$a->strings["Post to Buffer"] = "Inlägg till Buffer";
$a->strings["Buffer Export"] = "Export till Buffer";
$a->strings["Authenticate your Buffer connection"] = "Validera din anslutning mot Buffer";
$a->strings["Enable Buffer Post Addon"] = "Aktivera tillägg för Buffer-inlägg";
$a->strings["Post to Buffer by default"] = "Lägg in på Buffer som standard";
$a->strings["Check to delete this preset"] = "Markera för att ta bort förinställning";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Inlägg skickas som standard till alla konton som är aktiverade:";

View File

@ -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

View File

@ -1,20 +1,19 @@
# ADDON nsfw
# ADDON twitter
# Copyright (C)
# This file is distributed under the same license as the Friendica nsfw addon package.
# This file is distributed under the same license as the Friendica twitter addon package.
#
#
# Translators:
# Andreas H., 2014
# hoergen <hoergen@hoergen.org>, 2018
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014-2015
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
# Ulf Rompe <transifex.com@rompe.org>, 2019
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-01 11:11-0400\n"
"PO-Revision-Date: 2018-06-09 09:27+0000\n"
"Last-Translator: hoergen <hoergen@hoergen.org>\n"
"POT-Creation-Date: 2018-06-02 10:25+0700\n"
"PO-Revision-Date: 2019-02-11 13:54+0000\n"
"Last-Translator: Ulf Rompe <transifex.com@rompe.org>\n"
"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -22,44 +21,116 @@ msgstr ""
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nsfw.php:77 nsfw.php:81
msgid "Content Filter (NSFW and more)"
msgstr "Inhaltsfilter (NSFW und mehr)"
#: twitter.php:195
msgid "Post to Twitter"
msgstr "Auf Twitter veröffentlichen"
#: nsfw.php:85
#: twitter.php:236
msgid ""
"This addon searches for specified words/text in posts and collapses them. It"
" can be used to filter content tagged with for instance #NSFW that may be "
"deemed inappropriate at certain times or places, such as being at work. It "
"is also useful for hiding irrelevant or annoying content from direct view."
msgstr "Dieses Addon sucht, nach den von dir definierten Wörtern bzw. Texten in Beiträgen und klappt bei einem Treffer den gesamten Beitrag zusammen. Damit können z.B. Inhalte gefiltert werden, die mit #NSFW (Not Safe for Work, für die Arbeit unangemessene Beiträge), gekennzeichnet sind. Des Weiteren können damit natürlich auch nicht gewünschte und lästige Beiträge verborgen werden."
"You submitted an empty PIN, please Sign In with Twitter again to get a new "
"one."
msgstr "Du hast keine PIN übertragen. Bitte melde dich erneut bei Twitter an, um eine neue PIN zu erhalten."
#: nsfw.php:86
msgid "Enable Content filter"
msgstr "Aktiviere den Inhaltsfilter"
#: twitter.php:263
msgid "Twitter settings updated."
msgstr "Twitter-Einstellungen aktualisiert."
#: nsfw.php:89
msgid "Comma separated list of keywords to hide"
msgstr "Durch Kommata getrennte Liste von Schlüsselwörtern die verborgen werden sollen"
#: twitter.php:293 twitter.php:297
msgid "Twitter Import/Export/Mirror"
msgstr "Twitter-Import/Export/Spiegeln"
#: nsfw.php:93
#: twitter.php:304
msgid ""
"No consumer key pair for Twitter found. Please contact your site "
"administrator."
msgstr "Kein Consumer-Schlüsselpaar für Twitter gefunden. Bitte wende dich an den Administrator der Seite."
#: twitter.php:316
msgid ""
"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your <strong>public</strong> posts will"
" be posted to Twitter."
msgstr "Auf diesem Friendica-Server wurde das Twitter-Addon aktiviert, aber du hast deinen Account noch nicht mit deinem Twitter-Account verbunden. Klicke dazu auf die Schaltfläche unten. Du erhältst dann eine PIN von Twitter, die du in das Eingabefeld unten einfügst. Denk daran, den Senden-Knopf zu drücken! Nur <strong>öffentliche</strong> Beiträge werden bei Twitter veröffentlicht."
#: twitter.php:317
msgid "Log in with Twitter"
msgstr "bei Twitter anmelden"
#: twitter.php:319
msgid "Copy the PIN from Twitter here"
msgstr "Kopiere die Twitter-PIN hier her"
#: twitter.php:324 twitter.php:366 twitter.php:636
msgid "Save Settings"
msgstr "Einstellungen speichern"
#: nsfw.php:94
msgid "Use /expression/ to provide regular expressions"
msgstr "Verwende /expression/ um Reguläre Ausdrücke zu verwenden"
#: twitter.php:336
msgid "Currently connected to: "
msgstr "Momentan verbunden mit: "
#: nsfw.php:109
msgid "NSFW Settings saved."
msgstr "NSFW-Einstellungen gespeichert"
#: twitter.php:337
msgid "Disconnect"
msgstr "Trennen"
#: nsfw.php:162
#, php-format
msgid "Filtered tag: %s"
msgstr "Gefiltertes Schlagwort: %s"
#: twitter.php:347
msgid "Allow posting to Twitter"
msgstr "Veröffentlichung bei Twitter erlauben"
#: nsfw.php:164
#, php-format
msgid "Filtered word: %s"
msgstr "Gefilterter Begriff: %s"
#: twitter.php:347
msgid ""
"If enabled all your <strong>public</strong> postings can be posted to the "
"associated Twitter account. You can choose to do so by default (here) or for"
" every posting separately in the posting options when writing the entry."
msgstr "Wenn aktiviert, können all deine <strong>öffentlichen</strong> Einträge auf dem verbundenen Twitter Konto veröffentlicht werden. Du kannst dies (hier) als Standardverhalten einstellen oder beim Schreiben eines Beitrags in den Beitragsoptionen festlegen."
#: twitter.php:350
msgid ""
"<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile "
"details from unknown viewers?</em>) the link potentially included in public "
"postings relayed to Twitter will lead the visitor to a blank page informing "
"the visitor that the access to your profile has been restricted."
msgstr "<strong>Hinweis</strong>: Aufgrund deiner Privatsphären-Einstellungen (<em>Profil-Details vor unbekannten Betrachtern verbergen?</em>) wird der Link, der eventuell an deinen Twitter-Beitrag angehängt wird, um auf den Originalbeitrag zu verweisen, den Betrachter auf eine leere Seite führen, die ihn darüber informiert, dass der Zugriff eingeschränkt wurde."
#: twitter.php:353
msgid "Send public postings to Twitter by default"
msgstr "Veröffentliche öffentliche Beiträge standardmäßig bei Twitter"
#: twitter.php:356
msgid "Mirror all posts from twitter that are no replies"
msgstr "Spiegle alle Beiträge von Twitter, die keine Antworten oder wiederholten Nachrichten sind"
#: twitter.php:359
msgid "Import the remote timeline"
msgstr "Importiere die entfernte Zeitleiste"
#: twitter.php:362
msgid "Automatically create contacts"
msgstr "Automatisch Kontakte anlegen"
#: twitter.php:362
msgid ""
"This will automatically create a contact in Friendica as soon as you receive"
" a message from an existing contact via the Twitter network. If you do not "
"enable this, you need to manually add those Twitter contacts in Friendica "
"from whom you would like to see posts here. However if enabled, you cannot "
"merely remove a twitter contact from the Friendica contact list, as it will "
"recreate this contact when they post again."
msgstr "Mit dieser Option wird automatisch ein Kontakt bei Friendica angelegt, wenn du eine Nachricht von einem bestehenden Kontakt auf Twitter erhältst. Ist die Option nicht aktiv, musst du manuell Kontakte für diejenigen deiner Twitter Kontakte anlegen, deren Nachrichten du auf Friendica lesen möchtest.. Auf der anderen Seite kannst du, so diese Option aktiv ist, nicht einfach Twitter Kontakte aus deinen Kontakten bei Friendica entfernen, da diese bei der nächsten Gelegenheit neu erstellt werden."
#: twitter.php:614
msgid "Twitter post failed. Queued for retry."
msgstr "Veröffentlichung bei Twitter gescheitert. Wir versuchen es später erneut."
#: twitter.php:628
msgid "Settings updated."
msgstr "Einstellungen aktualisiert."
#: twitter.php:638
msgid "Consumer key"
msgstr "Consumer Key"
#: twitter.php:639
msgid "Consumer secret"
msgstr "Consumer Secret"

View File

@ -6,12 +6,26 @@ function string_plural_select_de($n){
return ($n != 1);;
}}
;
$a->strings["Content Filter (NSFW and more)"] = "Inhaltsfilter (NSFW und mehr)";
$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "Dieses Addon sucht, nach den von dir definierten Wörtern bzw. Texten in Beiträgen und klappt bei einem Treffer den gesamten Beitrag zusammen. Damit können z.B. Inhalte gefiltert werden, die mit #NSFW (Not Safe for Work, für die Arbeit unangemessene Beiträge), gekennzeichnet sind. Des Weiteren können damit natürlich auch nicht gewünschte und lästige Beiträge verborgen werden.";
$a->strings["Enable Content filter"] = "Aktiviere den Inhaltsfilter";
$a->strings["Comma separated list of keywords to hide"] = "Durch Kommata getrennte Liste von Schlüsselwörtern die verborgen werden sollen";
$a->strings["Post to Twitter"] = "Auf Twitter veröffentlichen";
$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = "Du hast keine PIN übertragen. Bitte melde dich erneut bei Twitter an, um eine neue PIN zu erhalten.";
$a->strings["Twitter settings updated."] = "Twitter-Einstellungen aktualisiert.";
$a->strings["Twitter Import/Export/Mirror"] = "Twitter-Import/Export/Spiegeln";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Kein Consumer-Schlüsselpaar für Twitter gefunden. Bitte wende dich an den Administrator der Seite.";
$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your <strong>public</strong> posts will be posted to Twitter."] = "Auf diesem Friendica-Server wurde das Twitter-Addon aktiviert, aber du hast deinen Account noch nicht mit deinem Twitter-Account verbunden. Klicke dazu auf die Schaltfläche unten. Du erhältst dann eine PIN von Twitter, die du in das Eingabefeld unten einfügst. Denk daran, den Senden-Knopf zu drücken! Nur <strong>öffentliche</strong> Beiträge werden bei Twitter veröffentlicht.";
$a->strings["Log in with Twitter"] = "bei Twitter anmelden";
$a->strings["Copy the PIN from Twitter here"] = "Kopiere die Twitter-PIN hier her";
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["Use /expression/ to provide regular expressions"] = "Verwende /expression/ um Reguläre Ausdrücke zu verwenden";
$a->strings["NSFW Settings saved."] = "NSFW-Einstellungen gespeichert";
$a->strings["Filtered tag: %s"] = "Gefiltertes Schlagwort: %s";
$a->strings["Filtered word: %s"] = "Gefilterter Begriff: %s";
$a->strings["Currently connected to: "] = "Momentan verbunden mit: ";
$a->strings["Disconnect"] = "Trennen";
$a->strings["Allow posting to Twitter"] = "Veröffentlichung bei Twitter erlauben";
$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Wenn aktiviert, können all deine <strong>öffentlichen</strong> Einträge auf dem verbundenen Twitter Konto veröffentlicht werden. Du kannst dies (hier) als Standardverhalten einstellen oder beim Schreiben eines Beitrags in den Beitragsoptionen festlegen.";
$a->strings["<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Hinweis</strong>: Aufgrund deiner Privatsphären-Einstellungen (<em>Profil-Details vor unbekannten Betrachtern verbergen?</em>) wird der Link, der eventuell an deinen Twitter-Beitrag angehängt wird, um auf den Originalbeitrag zu verweisen, den Betrachter auf eine leere Seite führen, die ihn darüber informiert, dass der Zugriff eingeschränkt wurde.";
$a->strings["Send public postings to Twitter by default"] = "Veröffentliche öffentliche Beiträge standardmäßig bei Twitter";
$a->strings["Mirror all posts from twitter that are no replies"] = "Spiegle alle Beiträge von Twitter, die keine Antworten oder wiederholten Nachrichten sind";
$a->strings["Import the remote timeline"] = "Importiere die entfernte Zeitleiste";
$a->strings["Automatically create contacts"] = "Automatisch Kontakte anlegen";
$a->strings["This will automatically create a contact in Friendica as soon as you receive a message from an existing contact via the Twitter network. If you do not enable this, you need to manually add those Twitter contacts in Friendica from whom you would like to see posts here. However if enabled, you cannot merely remove a twitter contact from the Friendica contact list, as it will recreate this contact when they post again."] = "Mit dieser Option wird automatisch ein Kontakt bei Friendica angelegt, wenn du eine Nachricht von einem bestehenden Kontakt auf Twitter erhältst. Ist die Option nicht aktiv, musst du manuell Kontakte für diejenigen deiner Twitter Kontakte anlegen, deren Nachrichten du auf Friendica lesen möchtest.. Auf der anderen Seite kannst du, so diese Option aktiv ist, nicht einfach Twitter Kontakte aus deinen Kontakten bei Friendica entfernen, da diese bei der nächsten Gelegenheit neu erstellt werden.";
$a->strings["Twitter post failed. Queued for retry."] = "Veröffentlichung bei Twitter gescheitert. Wir versuchen es später erneut.";
$a->strings["Settings updated."] = "Einstellungen aktualisiert.";
$a->strings["Consumer key"] = "Consumer Key";
$a->strings["Consumer secret"] = "Consumer Secret";

133
twitter/lang/ja/messages.po Normal file
View File

@ -0,0 +1,133 @@
# ADDON twitter
# Copyright (C)
# This file is distributed under the same license as the Friendica twitter addon package.
#
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-02 10:25+0700\n"
"PO-Revision-Date: 2019-08-28 10:37+0000\n"
"Last-Translator: Ozero Dien <rgfx0020+misc@gmail.com>\n"
"Language-Team: Japanese (http://www.transifex.com/Friendica/friendica/language/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: twitter.php:195
msgid "Post to Twitter"
msgstr "Twitterに投稿"
#: twitter.php:236
msgid ""
"You submitted an empty PIN, please Sign In with Twitter again to get a new "
"one."
msgstr "空のPINを送信しました。もう一度Twitterでサインインして新しいPINを取得してください。"
#: twitter.php:263
msgid "Twitter settings updated."
msgstr "Twitter設定が更新されました。"
#: twitter.php:293 twitter.php:297
msgid "Twitter Import/Export/Mirror"
msgstr "Twitterインポート/エクスポート/ミラー"
#: twitter.php:304
msgid ""
"No consumer key pair for Twitter found. Please contact your site "
"administrator."
msgstr "Twitterのコンシューマキーペアが見つかりません。サイト管理者に連絡してください。"
#: twitter.php:316
msgid ""
"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your <strong>public</strong> posts will"
" be posted to Twitter."
msgstr "このFriendicaインスタンスでは、Twitterアドオンは有効になっていますが、アカウントをTwitterアカウントにまだ接続していません。これを行うには、下のボタンをクリックしてTwitterからPINを取得し、それを下の入力ボックスにコピーしてフォームを送信する必要があります。 <strong>一般公開</strong>投稿のみがTwitterに投稿されます。"
#: twitter.php:317
msgid "Log in with Twitter"
msgstr "Twitterでログイン"
#: twitter.php:319
msgid "Copy the PIN from Twitter here"
msgstr "ここからTwitterからPINをコピーします"
#: twitter.php:324 twitter.php:366 twitter.php:636
msgid "Save Settings"
msgstr "設定を保存する"
#: twitter.php:336
msgid "Currently connected to: "
msgstr "現在接続中:"
#: twitter.php:337
msgid "Disconnect"
msgstr "切断する"
#: twitter.php:347
msgid "Allow posting to Twitter"
msgstr "Twitterへの投稿を許可する"
#: twitter.php:347
msgid ""
"If enabled all your <strong>public</strong> postings can be posted to the "
"associated Twitter account. You can choose to do so by default (here) or for"
" every posting separately in the posting options when writing the entry."
msgstr "有効にすると、すべての<strong>一般公開</strong>投稿を、関連づけたTwitterアカウントに投稿できます。デフォルトここで行うか、エントリを書き込む際に投稿オプションですべての投稿を個別に行うかを選択できます。"
#: twitter.php:350
msgid ""
"<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile "
"details from unknown viewers?</em>) the link potentially included in public "
"postings relayed to Twitter will lead the visitor to a blank page informing "
"the visitor that the access to your profile has been restricted."
msgstr "<strong>注</strong>:プライバシー設定(<em>未知の視聴者からプロフィールの詳細を非表示にしますか?</em>により、Twitterに中継・公開される投稿内のリンクは、プロフィールへのアクセスが制限されている訪問者に対して空白ページを表示します。"
#: twitter.php:353
msgid "Send public postings to Twitter by default"
msgstr "デフォルトでTwitterに一般公開投稿を送信する"
#: twitter.php:356
msgid "Mirror all posts from twitter that are no replies"
msgstr "返信がないTwitterのすべての投稿をミラーリングする"
#: twitter.php:359
msgid "Import the remote timeline"
msgstr "リモートタイムラインをインポートする"
#: twitter.php:362
msgid "Automatically create contacts"
msgstr "連絡先を自動的に作成する"
#: twitter.php:362
msgid ""
"This will automatically create a contact in Friendica as soon as you receive"
" a message from an existing contact via the Twitter network. If you do not "
"enable this, you need to manually add those Twitter contacts in Friendica "
"from whom you would like to see posts here. However if enabled, you cannot "
"merely remove a twitter contact from the Friendica contact list, as it will "
"recreate this contact when they post again."
msgstr "これにより、Twitterネットワーク経由で既存の連絡先からメッセージを受信するとすぐに、Friendicaに連絡先が自動的に作成されます。これを有効にしない場合、ここで投稿を表示するFriendicaのTwitter連絡先を手動で追加する必要があります。ただし、有効にした場合、Twitterの連絡先をFriendicaの連絡先リストから単に削除することはできません。再送信するとこの連絡先が再作成されるためです。"
#: twitter.php:614
msgid "Twitter post failed. Queued for retry."
msgstr "Twitterの投稿に失敗しました。再試行のためにキューに入れられました。"
#: twitter.php:628
msgid "Settings updated."
msgstr "設定が更新されました。"
#: twitter.php:638
msgid "Consumer key"
msgstr "コンシューマ キー"
#: twitter.php:639
msgid "Consumer secret"
msgstr "コンシューマ シークレット"

View File

@ -0,0 +1,31 @@
<?php
if(! function_exists("string_plural_select_ja")) {
function string_plural_select_ja($n){
$n = intval($n);
return 0;;
}}
;
$a->strings["Post to Twitter"] = "Twitterに投稿";
$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = "空のPINを送信しました。もう一度Twitterでサインインして新しいPINを取得してください。";
$a->strings["Twitter settings updated."] = "Twitter設定が更新されました。";
$a->strings["Twitter Import/Export/Mirror"] = "Twitterインポート/エクスポート/ミラー";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Twitterのコンシューマキーペアが見つかりません。サイト管理者に連絡してください。";
$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your <strong>public</strong> posts will be posted to Twitter."] = "このFriendicaインスタンスでは、Twitterアドオンは有効になっていますが、アカウントをTwitterアカウントにまだ接続していません。これを行うには、下のボタンをクリックしてTwitterからPINを取得し、それを下の入力ボックスにコピーしてフォームを送信する必要があります。 <strong>一般公開</strong>投稿のみがTwitterに投稿されます。";
$a->strings["Log in with Twitter"] = "Twitterでログイン";
$a->strings["Copy the PIN from Twitter here"] = "ここからTwitterからPINをコピーします";
$a->strings["Save Settings"] = "設定を保存する";
$a->strings["Currently connected to: "] = "現在接続中:";
$a->strings["Disconnect"] = "切断する";
$a->strings["Allow posting to Twitter"] = "Twitterへの投稿を許可する";
$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "有効にすると、すべての<strong>一般公開</strong>投稿を、関連づけたTwitterアカウントに投稿できます。デフォルトここで行うか、エントリを書き込む際に投稿オプションですべての投稿を個別に行うかを選択できます。";
$a->strings["<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>注</strong>:プライバシー設定(<em>未知の視聴者からプロフィールの詳細を非表示にしますか?</em>により、Twitterに中継・公開される投稿内のリンクは、プロフィールへのアクセスが制限されている訪問者に対して空白ページを表示します。";
$a->strings["Send public postings to Twitter by default"] = "デフォルトでTwitterに一般公開投稿を送信する";
$a->strings["Mirror all posts from twitter that are no replies"] = "返信がないTwitterのすべての投稿をミラーリングする";
$a->strings["Import the remote timeline"] = "リモートタイムラインをインポートする";
$a->strings["Automatically create contacts"] = "連絡先を自動的に作成する";
$a->strings["This will automatically create a contact in Friendica as soon as you receive a message from an existing contact via the Twitter network. If you do not enable this, you need to manually add those Twitter contacts in Friendica from whom you would like to see posts here. However if enabled, you cannot merely remove a twitter contact from the Friendica contact list, as it will recreate this contact when they post again."] = "これにより、Twitterネットワーク経由で既存の連絡先からメッセージを受信するとすぐに、Friendicaに連絡先が自動的に作成されます。これを有効にしない場合、ここで投稿を表示するFriendicaのTwitter連絡先を手動で追加する必要があります。ただし、有効にした場合、Twitterの連絡先をFriendicaの連絡先リストから単に削除することはできません。再送信するとこの連絡先が再作成されるためです。";
$a->strings["Twitter post failed. Queued for retry."] = "Twitterの投稿に失敗しました。再試行のためにキューに入れられました。";
$a->strings["Settings updated."] = "設定が更新されました。";
$a->strings["Consumer key"] = "コンシューマ キー";
$a->strings["Consumer secret"] = "コンシューマ シークレット";

View File

@ -352,7 +352,10 @@ function twitter_settings(App $a, &$s)
$field_checkbox = Renderer::getMarkupTemplate('field_checkbox.tpl');
$s .= '<div id="twitter-info" >
if (property_exists($details, 'screen_name') &&
property_exists($details, 'description') &&
property_exists($details, 'profile_image_url')) {
$s .= '<div id="twitter-info" >
<p>' . L10n::t('Currently connected to: ') . '<a href="https://twitter.com/' . $details->screen_name . '" target="_twitter">' . $details->screen_name . '</a>
<button type="submit" name="twitter-disconnect" value="1">' . L10n::t('Disconnect') . '</button>
</p>
@ -361,6 +364,12 @@ function twitter_settings(App $a, &$s)
<em>' . $details->description . '</em>
</p>
</div>';
} else {
$s .= '<div id="twitter-info" >
<p>Invalid Twitter info</p>
</div>';
Logger::info('Invalid twitter info (verify credentials).', ['auth' => TwitterOAuth::class]);
}
$s .= '<div class="clear"></div>';
$s .= Renderer::replaceMacros($field_checkbox, [
@ -621,7 +630,7 @@ function twitter_post_hook(App $a, array &$b)
$msg = Plaintext::shorten($msgarr["title"], $max_char - 50);
}
if (($msgarr['url'] == $b['plink']) && !empty($msgarr['images']) && (count($msgarr['images']) <= 4)) {
if (!empty($msgarr['url']) && ($msgarr['url'] == $b['plink']) && !empty($msgarr['images']) && (count($msgarr['images']) <= 4)) {
$url_added = false;
} elseif (isset($msgarr["url"]) && ($msgarr["type"] != "photo")) {
$msg .= "\n" . $msgarr["url"];
@ -1027,6 +1036,7 @@ function twitter_fetch_contact($uid, $data, $create_user)
$contact = DBA::selectFirst('contact', [], ['uid' => $uid, 'alias' => "twitter::" . $data->id_str]);
if (!DBA::isResult($contact) && !$create_user) {
Logger::info('User contact not found', ['uid' => $uid, 'twitter-id' => $data->id_str]);
return 0;
}
@ -1153,7 +1163,7 @@ function twitter_expand_entities(App $a, $body, $item, $picture)
if ($url->url && $url->expanded_url && $url->display_url) {
// Quote tweet, we just remove the quoted tweet URL from the body, the share block will be added later.
if (isset($item->quoted_status_id_str)
if (!empty($item->quoted_status) && isset($item->quoted_status_id_str)
&& substr($url->expanded_url, -strlen($item->quoted_status_id_str)) == $item->quoted_status_id_str ) {
$body = str_replace($url->url, '', $body);
continue;
@ -1530,20 +1540,21 @@ function twitter_createpost(App $a, $uid, $post, array $self, $create_user, $onl
if (!empty($post->quoted_status) && !$noquote) {
$quoted = twitter_createpost($a, $uid, $post->quoted_status, $self, false, false, true);
if (empty($quoted['body'])) {
return [];
if (!empty($quoted['body'])) {
$postarray['body'] .= "\n" . share_header(
$quoted['author-name'],
$quoted['author-link'],
$quoted['author-avatar'],
"",
$quoted['created'],
$quoted['plink']
);
$postarray['body'] .= $quoted['body'] . '[/share]';
} else {
// Quoted post author is blocked/ignored, so we just provide the link to avoid removing quote context.
$postarray['body'] .= "\n\nhttps://twitter.com/" . $post->quoted_status->user->screen_name . "/status/" . $post->quoted_status->id_str;
}
$postarray['body'] .= "\n" . share_header(
$quoted['author-name'],
$quoted['author-link'],
$quoted['author-avatar'],
"",
$quoted['created'],
$quoted['plink']
);
$postarray['body'] .= $quoted['body'] . '[/share]';
}
return $postarray;
@ -1588,7 +1599,7 @@ function twitter_fetchparentposts(App $a, $uid, $post, TwitterOAuth $connection,
if (!empty($posts)) {
foreach ($posts as $post) {
$postarray = twitter_createpost($a, $uid, $post, $self, false, false, false);
$postarray = twitter_createpost($a, $uid, $post, $self, false, !PConfig::get($uid, 'twitter', 'create_user'), false);
if (empty($postarray['body'])) {
continue;
@ -1770,7 +1781,7 @@ function twitter_fetchhometimeline(App $a, $uid)
twitter_fetchparentposts($a, $uid, $post, $connection, $self);
}
$postarray = twitter_createpost($a, $uid, $post, $self, false, false, false);
$postarray = twitter_createpost($a, $uid, $post, $self, false, !$create_user, false);
if (empty($postarray['body'])) {
continue;
@ -1900,7 +1911,7 @@ function twitter_update_mentions($body)
function twitter_convert_share(array $attributes, array $author_contact, $content, $is_quote_share)
{
if ($author_contact['network'] == Protocol::TWITTER) {
$mention = '@' . $author_contact['nickname'];
$mention = '@' . $author_contact['nick'];
} else {
$mention = $author_contact['addr'];
}