Update nitter.php
Changed protocol of example URL to secure to avoid confusion as all Nitter servers operate in secure mode only.
This commit is contained in:
parent
a2dde9cd24
commit
6d3602f9c6
|
@ -49,7 +49,7 @@ function nitter_addon_admin(App $a, string &$o)
|
||||||
$t = Renderer::getMarkupTemplate('admin.tpl', 'addon/nitter/');
|
$t = Renderer::getMarkupTemplate('admin.tpl', 'addon/nitter/');
|
||||||
$o = Renderer::replaceMacros($t, [
|
$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'),
|
'$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'),
|
'$submit' => DI::l10n()->t('Save Settings'),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue