[nitter] DE translation and I forgot the updated README in the other PR #1176

Merged
tobiasd merged 2 commits from 20211001-nitter2 into develop 2021-10-01 21:40:27 +02:00
3 changed files with 32 additions and 17 deletions

View file

@ -21,6 +21,9 @@ Excerp from nitters about page.
Changelog Changelog
--------- ---------
* **Version 2.0**
* Changes the used hook by the addon, so that attached previews of postings get replaced as well.
This means the admins need to reload the addon
* **Version 1.1** * **Version 1.1**
* Initial localization support with DE translation * Initial localization support with DE translation
* Configurable nitter instance address from the admin panel * Configurable nitter instance address from the admin panel

View file

@ -3,39 +3,48 @@
# This file is distributed under the same license as the Friendica nitter addon package. # This file is distributed under the same license as the Friendica nitter addon package.
# #
# #
# Translators:
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2021
#
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-03-08 07:44+0100\n" "POT-Creation-Date: 2021-10-01 16:10+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2021-05-21 12:58+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2021\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: German (https://www.transifex.com/Friendica/teams/12172/de/)\n"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nitter.php:51 #: nitter.php:52
#, php-format #, php-format
msgid "" msgid ""
"Which nitter server shall be used for the replacements in the post bodies? " "Which nitter server shall be used for the replacements in the post bodies? "
"Use the URL with servername and protocol. See %s for a list of available " "Use the URL with servername and protocol. See %s for a list of available "
"public Nitter servers." "public Nitter servers."
msgstr "Welcher Nitter server soll für die Ersetzungen verwendet werden? Gib die URL mit Servername und Protokoll an. Eine Liste von öffentlichen Nitter servern findest du unter %s." msgstr ""
"Welcher Nitter server soll für die Ersetzungen verwendet werden? Gib die URL"
" mit Servername und Protokoll an. Eine Liste von öffentlichen Nitter servern"
" findest du unter %s."
#: nitter.php:52 #: nitter.php:53
msgid "Nitter server" msgid "Nitter server"
msgstr "Nitter Server" msgstr "Nitter Server"
#: nitter.php:53 #: nitter.php:54
msgid "Save Settings" msgid "Save Settings"
msgstr "Einstellungen Speichern" msgstr "Einstellungen Speichern"
#: nitter.php:65 #: nitter.php:99
#, php-format #, php-format
msgid "" msgid ""
"Links to Twitter in this posting were replaced by links to the Nitter " "In an attempt to protect your privacy, links to Twitter in this posting were"
"instance at %s" " replaced by links to the Nitter instance at %s"
msgstr "In diesem Beitrag wurden Links nach twitter.com durch die Nitter Instanz auf %s ersetzt." msgstr ""
"Um deine Privatsphäre zu schützen, wurden in diesem Beitrag Links nach "
"twitter.com durch die Nitter Instanz auf %s ersetzt."

View file

@ -1,7 +1,10 @@
<?php <?php
if(! function_exists("string_plural_select_de")) {
function string_plural_select_de($n){
$n = intval($n);
return intval($n != 1);
}}
; ;
$a->strings["Which nitter server shall be used for the replacements in the post bodies? Use the URL with servername and protocol. See %s for a list of available public Nitter servers."] = "Welcher Nitter server soll für die Ersetzungen verwendet werden? Gib die URL mit Servername und Protokoll an. Eine Liste von öffentlichen Nitter servern findest du unter %s.";
$a->strings["Nitter server"] = "Nitter Server"; $a->strings["Nitter server"] = "Nitter Server";
$a->strings["Save Settings"] = "Einstellungen Speichern"; $a->strings["Save Settings"] = "Einstellungen Speichern";
$a->strings["Links to Twitter in this posting were replaced by links to the Nitter instance at %s"] = "In diesem Beitrag wurden Links nach twitter.com durch die Nitter Instanz auf %s ersetzt.";