]> git.mxchange.org Git - friendica-addons.git/blobdiff - nitter/nitter.php
Merge pull request #1336 from MrPetovan/bug/12405-pumpio-log
[friendica-addons.git] / nitter / nitter.php
index 013d8fd2ba6cb66bf0ca52100aa17247d651d87b..440f199f3840a781bacb5e2f7288203c46198f9d 100644 (file)
@@ -49,7 +49,7 @@ function nitter_addon_admin(App $a, string &$o)
        $t = Renderer::getMarkupTemplate('admin.tpl', 'addon/nitter/');
        $o = Renderer::replaceMacros($t, [
                '$settingdescription' => DI::l10n()->t('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.', 'https://github.com/zedeus/nitter/wiki/Instances'),
-               '$nitterserver' => ['nitterserver', DI::l10n()->t('Nitter server'), $nitterserver, 'http://example.com'], 
+               '$nitterserver' => ['nitterserver', DI::l10n()->t('Nitter server'), $nitterserver, 'https://example.com'], 
                '$submit' => DI::l10n()->t('Save Settings'),
        ]);
 }
@@ -71,6 +71,6 @@ function nitter_render(App $a, array &$b)
                $replaced = true;
        }
        if ($replaced) {
-               $b['html'] .= '<hr><p>' . DI::l10n()->t('In an attempt to protect your privacy, links to Twitter in this posting were replaced by links to the Nitter instance at %s', $nitter) . '</p>';
+               $b['html'] .= '<hr><p><small>' . DI::l10n()->t('(Nitter addon enabled: Twitter links via %s)', $nitter) . '</small></p>';
        }
 }