mirror of
https://github.com/friendica/friendica
synced 2024-12-22 19:20:17 +00:00
Merge pull request #14553 from annando/issue-14524
Issue 14524: Fix Open Search
This commit is contained in:
commit
2bccd64c6c
2 changed files with 176 additions and 139 deletions
|
@ -9,10 +9,14 @@ namespace Friendica\Module;
|
||||||
|
|
||||||
use DOMDocument;
|
use DOMDocument;
|
||||||
use DOMElement;
|
use DOMElement;
|
||||||
|
use Friendica\App;
|
||||||
use Friendica\BaseModule;
|
use Friendica\BaseModule;
|
||||||
use Friendica\Core\System;
|
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||||
use Friendica\DI;
|
use Friendica\Core\L10n;
|
||||||
|
use Friendica\Util\BasePath;
|
||||||
|
use Friendica\Util\Profiler;
|
||||||
use Friendica\Util\XML;
|
use Friendica\Util\XML;
|
||||||
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints the opensearch description document
|
* Prints the opensearch description document
|
||||||
|
@ -20,22 +24,37 @@ use Friendica\Util\XML;
|
||||||
*/
|
*/
|
||||||
class OpenSearch extends BaseModule
|
class OpenSearch extends BaseModule
|
||||||
{
|
{
|
||||||
|
/** @var IManageConfigValues */
|
||||||
|
private $config;
|
||||||
|
|
||||||
|
/** @var App\baseUrl */
|
||||||
|
protected $baseUrl;
|
||||||
|
|
||||||
|
/** @var string */
|
||||||
|
private $basePath;
|
||||||
|
|
||||||
|
public function __construct(BasePath $basePath, IManageConfigValues $config, L10n $l10n, App\baseUrl $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, array $server, array $parameters = [])
|
||||||
|
{
|
||||||
|
parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);
|
||||||
|
|
||||||
|
$this->config = $config;
|
||||||
|
$this->basePath = $basePath->getPath();
|
||||||
|
$this->baseUrl = $baseUrl;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
protected function rawContent(array $request = [])
|
protected function rawContent(array $request = [])
|
||||||
{
|
{
|
||||||
$hostname = DI::baseUrl()->getHost();
|
|
||||||
$baseUrl = (string)DI::baseUrl();
|
|
||||||
|
|
||||||
/** @var DOMDocument $xml */
|
/** @var DOMDocument $xml */
|
||||||
XML::fromArray([
|
XML::fromArray([
|
||||||
'OpenSearchDescription' => [
|
'OpenSearchDescription' => [
|
||||||
'@attributes' => [
|
'@attributes' => [
|
||||||
'xmlns' => 'http://a9.com/-/spec/opensearch/1.1',
|
'xmlns' => 'http://a9.com/-/spec/opensearch/1.1/',
|
||||||
],
|
],
|
||||||
'ShortName' => "Friendica $hostname",
|
'ShortName' => $this->baseUrl->getHost(),
|
||||||
'Description' => "Search in Friendica $hostname",
|
'Description' => $this->l10n->t('Search in Friendica %s', $this->baseUrl->getHost()),
|
||||||
'Contact' => 'https://github.com/friendica/friendica/issues',
|
'Contact' => 'https://github.com/friendica/friendica/issues',
|
||||||
'InputEncoding' => 'UTF-8',
|
'InputEncoding' => 'UTF-8',
|
||||||
'OutputEncoding' => 'UTF-8',
|
'OutputEncoding' => 'UTF-8',
|
||||||
|
@ -46,29 +65,41 @@ class OpenSearch extends BaseModule
|
||||||
/** @var DOMElement $parent */
|
/** @var DOMElement $parent */
|
||||||
$parent = $xml->getElementsByTagName('OpenSearchDescription')[0];
|
$parent = $xml->getElementsByTagName('OpenSearchDescription')[0];
|
||||||
|
|
||||||
XML::addElement($xml, $parent, 'Image',
|
if (file_exists($this->basePath . '/favicon.ico')) {
|
||||||
"$baseUrl/images/friendica-16.png", [
|
$shortcut_icon = '/favicon.ico';
|
||||||
|
} else {
|
||||||
|
$shortcut_icon = $this->config->get('system', 'shortcut_icon');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($shortcut_icon)) {
|
||||||
|
$imagedata = getimagesize($this->baseUrl . $shortcut_icon);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($imagedata)) {
|
||||||
|
XML::addElement($xml, $parent, 'Image', $this->baseUrl . $shortcut_icon, [
|
||||||
|
'width' => $imagedata[0],
|
||||||
|
'height' => $imagedata[1],
|
||||||
|
'type' => $imagedata['mime'],
|
||||||
|
]);
|
||||||
|
} else {
|
||||||
|
XML::addElement($xml, $parent, 'Image',
|
||||||
|
$this->baseUrl . '/images/friendica-16.png', [
|
||||||
'height' => 16,
|
'height' => 16,
|
||||||
'width' => 16,
|
'width' => 16,
|
||||||
'type' => 'image/png',
|
'type' => 'image/png',
|
||||||
]);
|
]);
|
||||||
|
}
|
||||||
XML::addElement($xml, $parent, 'Image',
|
|
||||||
"$baseUrl/images/friendica-64.png", [
|
|
||||||
'height' => 64,
|
|
||||||
'width' => 64,
|
|
||||||
'type' => 'image/png',
|
|
||||||
]);
|
|
||||||
|
|
||||||
XML::addElement($xml, $parent, 'Url', '', [
|
XML::addElement($xml, $parent, 'Url', '', [
|
||||||
'type' => 'text/html',
|
'type' => 'text/html',
|
||||||
'template' => "$baseUrl/search?search={searchTerms}",
|
'method' => 'get',
|
||||||
|
'template' => $this->baseUrl . '/search?q={searchTerms}',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
XML::addElement($xml, $parent, 'Url', '', [
|
XML::addElement($xml, $parent, 'Url', '', [
|
||||||
'type' => 'application/opensearchdescription+xml',
|
'type' => 'application/opensearchdescription+xml',
|
||||||
'rel' => 'self',
|
'rel' => 'self',
|
||||||
'template' => "$baseUrl/opensearch",
|
'template' => $this->baseUrl . '/opensearch',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->httpExit($xml->saveXML(), Response::TYPE_XML, 'application/opensearchdescription+xml');
|
$this->httpExit($xml->saveXML(), Response::TYPE_XML, 'application/opensearchdescription+xml');
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2024.09-rc\n"
|
"Project-Id-Version: 2024.09-rc\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-10 19:48+0000\n"
|
"POT-Creation-Date: 2024-11-15 06:54+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -306,7 +306,7 @@ msgstr ""
|
||||||
#: src/Module/Profile/Profile.php:262 src/Module/Settings/Profile/Index.php:248
|
#: src/Module/Profile/Profile.php:262 src/Module/Settings/Profile/Index.php:248
|
||||||
#: src/Module/Settings/Server/Action.php:65 src/Module/User/Delegation.php:175
|
#: src/Module/Settings/Server/Action.php:65 src/Module/User/Delegation.php:175
|
||||||
#: src/Object/Post.php:1145 view/theme/duepuntozero/config.php:73
|
#: src/Object/Post.php:1145 view/theme/duepuntozero/config.php:73
|
||||||
#: view/theme/frio/config.php:138 view/theme/quattro/config.php:75
|
#: view/theme/frio/config.php:155 view/theme/quattro/config.php:75
|
||||||
#: view/theme/vier/config.php:123
|
#: view/theme/vier/config.php:123
|
||||||
msgid "Submit"
|
msgid "Submit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1018,43 +1018,43 @@ msgstr ""
|
||||||
msgid "older"
|
msgid "older"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:41
|
#: src/Content/ContactSelector.php:42
|
||||||
msgid "Frequently"
|
msgid "Frequently"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:42
|
#: src/Content/ContactSelector.php:43
|
||||||
msgid "Hourly"
|
msgid "Hourly"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:43
|
#: src/Content/ContactSelector.php:44
|
||||||
msgid "Twice daily"
|
msgid "Twice daily"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:44
|
#: src/Content/ContactSelector.php:45
|
||||||
msgid "Daily"
|
msgid "Daily"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:45
|
#: src/Content/ContactSelector.php:46
|
||||||
msgid "Weekly"
|
msgid "Weekly"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:46
|
#: src/Content/ContactSelector.php:47
|
||||||
msgid "Monthly"
|
msgid "Monthly"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:117
|
#: src/Content/ContactSelector.php:118
|
||||||
msgid "DFRN"
|
msgid "DFRN"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:118
|
#: src/Content/ContactSelector.php:119
|
||||||
msgid "OStatus"
|
msgid "OStatus"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:119
|
#: src/Content/ContactSelector.php:120
|
||||||
msgid "RSS/Atom"
|
msgid "RSS/Atom"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:120
|
#: src/Content/ContactSelector.php:121
|
||||||
#: src/Module/Moderation/Users/Active.php:112
|
#: src/Module/Moderation/Users/Active.php:112
|
||||||
#: src/Module/Moderation/Users/Blocked.php:112
|
#: src/Module/Moderation/Users/Blocked.php:112
|
||||||
#: src/Module/Moderation/Users/Create.php:58
|
#: src/Module/Moderation/Users/Create.php:58
|
||||||
|
@ -1065,67 +1065,67 @@ msgstr ""
|
||||||
msgid "Email"
|
msgid "Email"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:121 src/Module/Debug/Babel.php:301
|
#: src/Content/ContactSelector.php:122 src/Module/Debug/Babel.php:301
|
||||||
msgid "Diaspora"
|
msgid "Diaspora"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:122
|
#: src/Content/ContactSelector.php:123
|
||||||
msgid "Zot!"
|
msgid "Zot!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:123
|
#: src/Content/ContactSelector.php:124
|
||||||
msgid "LinkedIn"
|
msgid "LinkedIn"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:124
|
#: src/Content/ContactSelector.php:125
|
||||||
msgid "XMPP/IM"
|
msgid "XMPP/IM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:125
|
#: src/Content/ContactSelector.php:126
|
||||||
msgid "MySpace"
|
msgid "MySpace"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:126
|
#: src/Content/ContactSelector.php:127
|
||||||
msgid "Google+"
|
msgid "Google+"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:127
|
#: src/Content/ContactSelector.php:128
|
||||||
msgid "pump.io"
|
msgid "pump.io"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:128
|
#: src/Content/ContactSelector.php:129
|
||||||
msgid "Twitter"
|
msgid "Twitter"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:129
|
#: src/Content/ContactSelector.php:130
|
||||||
msgid "Discourse"
|
msgid "Discourse"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:130
|
#: src/Content/ContactSelector.php:131
|
||||||
msgid "Diaspora Connector"
|
msgid "Diaspora Connector"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:131
|
#: src/Content/ContactSelector.php:132
|
||||||
msgid "GNU Social Connector"
|
msgid "GNU Social Connector"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:132
|
#: src/Content/ContactSelector.php:133
|
||||||
msgid "ActivityPub"
|
msgid "ActivityPub"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:133
|
#: src/Content/ContactSelector.php:134
|
||||||
msgid "pnut"
|
msgid "pnut"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:134
|
#: src/Content/ContactSelector.php:135
|
||||||
msgid "Tumblr"
|
msgid "Tumblr"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:135
|
#: src/Content/ContactSelector.php:136
|
||||||
msgid "Bluesky"
|
msgid "Bluesky"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:160
|
#: src/Content/ContactSelector.php:161
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s (via %s)"
|
msgid "%s (via %s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1741,7 +1741,7 @@ msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:120 src/Content/Widget.php:607
|
#: src/Content/Feature.php:120 src/Content/Widget.php:607
|
||||||
#: src/Module/Admin/Site.php:464 src/Module/BaseSettings.php:111
|
#: src/Module/Admin/Site.php:464 src/Module/BaseSettings.php:111
|
||||||
#: src/Module/Settings/Channels.php:211 src/Module/Settings/Display.php:319
|
#: src/Module/Settings/Channels.php:211 src/Module/Settings/Display.php:320
|
||||||
msgid "Channels"
|
msgid "Channels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2000,7 +2000,7 @@ msgstr ""
|
||||||
#: src/Content/Nav.php:219 src/Content/Nav.php:279
|
#: src/Content/Nav.php:219 src/Content/Nav.php:279
|
||||||
#: src/Module/BaseProfile.php:71 src/Module/BaseProfile.php:74
|
#: src/Module/BaseProfile.php:71 src/Module/BaseProfile.php:74
|
||||||
#: src/Module/BaseProfile.php:82 src/Module/BaseProfile.php:85
|
#: src/Module/BaseProfile.php:82 src/Module/BaseProfile.php:85
|
||||||
#: src/Module/Settings/Display.php:320 view/theme/frio/theme.php:227
|
#: src/Module/Settings/Display.php:321 view/theme/frio/theme.php:227
|
||||||
#: view/theme/frio/theme.php:231
|
#: view/theme/frio/theme.php:231
|
||||||
msgid "Calendar"
|
msgid "Calendar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2839,37 +2839,37 @@ msgid "%s (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:416
|
#: src/Core/L10n.php:485 src/Model/Event.php:416
|
||||||
#: src/Module/Settings/Display.php:288
|
#: src/Module/Settings/Display.php:289
|
||||||
msgid "Monday"
|
msgid "Monday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:417
|
#: src/Core/L10n.php:485 src/Model/Event.php:417
|
||||||
#: src/Module/Settings/Display.php:289
|
#: src/Module/Settings/Display.php:290
|
||||||
msgid "Tuesday"
|
msgid "Tuesday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:418
|
#: src/Core/L10n.php:485 src/Model/Event.php:418
|
||||||
#: src/Module/Settings/Display.php:290
|
#: src/Module/Settings/Display.php:291
|
||||||
msgid "Wednesday"
|
msgid "Wednesday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:419
|
#: src/Core/L10n.php:485 src/Model/Event.php:419
|
||||||
#: src/Module/Settings/Display.php:291
|
#: src/Module/Settings/Display.php:292
|
||||||
msgid "Thursday"
|
msgid "Thursday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:420
|
#: src/Core/L10n.php:485 src/Model/Event.php:420
|
||||||
#: src/Module/Settings/Display.php:292
|
#: src/Module/Settings/Display.php:293
|
||||||
msgid "Friday"
|
msgid "Friday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:421
|
#: src/Core/L10n.php:485 src/Model/Event.php:421
|
||||||
#: src/Module/Settings/Display.php:293
|
#: src/Module/Settings/Display.php:294
|
||||||
msgid "Saturday"
|
msgid "Saturday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/L10n.php:485 src/Model/Event.php:415
|
#: src/Core/L10n.php:485 src/Model/Event.php:415
|
||||||
#: src/Module/Settings/Display.php:287
|
#: src/Module/Settings/Display.php:288
|
||||||
msgid "Sunday"
|
msgid "Sunday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -3298,17 +3298,17 @@ msgid "today"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Event.php:449 src/Module/Calendar/Show.php:115
|
#: src/Model/Event.php:449 src/Module/Calendar/Show.php:115
|
||||||
#: src/Module/Settings/Display.php:298 src/Util/Temporal.php:339
|
#: src/Module/Settings/Display.php:299 src/Util/Temporal.php:339
|
||||||
msgid "month"
|
msgid "month"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Event.php:450 src/Module/Calendar/Show.php:116
|
#: src/Model/Event.php:450 src/Module/Calendar/Show.php:116
|
||||||
#: src/Module/Settings/Display.php:299 src/Util/Temporal.php:340
|
#: src/Module/Settings/Display.php:300 src/Util/Temporal.php:340
|
||||||
msgid "week"
|
msgid "week"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Event.php:451 src/Module/Calendar/Show.php:117
|
#: src/Model/Event.php:451 src/Module/Calendar/Show.php:117
|
||||||
#: src/Module/Settings/Display.php:300 src/Util/Temporal.php:341
|
#: src/Module/Settings/Display.php:301 src/Util/Temporal.php:341
|
||||||
msgid "day"
|
msgid "day"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -3873,7 +3873,7 @@ msgid "Disable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Addons/Details.php:77
|
#: src/Module/Admin/Addons/Details.php:77
|
||||||
#: src/Module/Admin/Themes/Details.php:41 src/Module/Settings/Display.php:347
|
#: src/Module/Admin/Themes/Details.php:41 src/Module/Settings/Display.php:348
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -3923,7 +3923,7 @@ msgstr ""
|
||||||
#: src/Module/Settings/Account.php:549 src/Module/Settings/Addons.php:64
|
#: src/Module/Settings/Account.php:549 src/Module/Settings/Addons.php:64
|
||||||
#: src/Module/Settings/Connectors.php:149
|
#: src/Module/Settings/Connectors.php:149
|
||||||
#: src/Module/Settings/Connectors.php:235
|
#: src/Module/Settings/Connectors.php:235
|
||||||
#: src/Module/Settings/Delegation.php:179 src/Module/Settings/Display.php:313
|
#: src/Module/Settings/Delegation.php:179 src/Module/Settings/Display.php:314
|
||||||
#: src/Module/Settings/Features.php:61
|
#: src/Module/Settings/Features.php:61
|
||||||
msgid "Save Settings"
|
msgid "Save Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5177,6 +5177,7 @@ msgid "Can be \"all\" or \"tags\". \"all\" means that every public post should b
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Site.php:584 src/Module/Contact/Profile.php:315
|
#: src/Module/Admin/Site.php:584 src/Module/Contact/Profile.php:315
|
||||||
|
#: src/Module/Settings/Display.php:256
|
||||||
#: src/Module/Settings/TwoFactor/Index.php:132
|
#: src/Module/Settings/TwoFactor/Index.php:132
|
||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5903,7 +5904,7 @@ msgstr ""
|
||||||
msgid "Create New Event"
|
msgid "Create New Event"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Calendar/Show.php:118 src/Module/Settings/Display.php:301
|
#: src/Module/Calendar/Show.php:118 src/Module/Settings/Display.php:302
|
||||||
msgid "list"
|
msgid "list"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -8432,6 +8433,11 @@ msgstr ""
|
||||||
msgid "Keep this window open until done."
|
msgid "Keep this window open until done."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/Module/OpenSearch.php:57
|
||||||
|
#, php-format
|
||||||
|
msgid "Search in Friendica %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Photo.php:108
|
#: src/Module/Photo.php:108
|
||||||
msgid "The Photo is not available."
|
msgid "The Photo is not available."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -9554,12 +9560,12 @@ msgid "When selected, the channel results are reshared. This only works for publ
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Channels.php:176 src/Module/Settings/Channels.php:197
|
#: src/Module/Settings/Channels.php:176 src/Module/Settings/Channels.php:197
|
||||||
#: src/Module/Settings/Display.php:345
|
#: src/Module/Settings/Display.php:346
|
||||||
msgid "Label"
|
msgid "Label"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Channels.php:177 src/Module/Settings/Channels.php:198
|
#: src/Module/Settings/Channels.php:177 src/Module/Settings/Channels.php:198
|
||||||
#: src/Module/Settings/Display.php:346
|
#: src/Module/Settings/Display.php:347
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:124
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:124
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -9927,209 +9933,209 @@ msgstr ""
|
||||||
msgid "%s - (Unsupported)"
|
msgid "%s - (Unsupported)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:256
|
#: src/Module/Settings/Display.php:257
|
||||||
msgid "Color/Black"
|
msgid "Color/Black"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:257 view/theme/frio/php/scheme.php:95
|
#: src/Module/Settings/Display.php:258 view/theme/frio/php/scheme.php:95
|
||||||
msgid "Black"
|
msgid "Black"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:258
|
#: src/Module/Settings/Display.php:259
|
||||||
msgid "Color/White"
|
msgid "Color/White"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:259
|
#: src/Module/Settings/Display.php:260
|
||||||
msgid "White"
|
msgid "White"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:264
|
#: src/Module/Settings/Display.php:265
|
||||||
msgid "No preview"
|
msgid "No preview"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:265
|
#: src/Module/Settings/Display.php:266
|
||||||
msgid "No image"
|
msgid "No image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:266
|
#: src/Module/Settings/Display.php:267
|
||||||
msgid "Small Image"
|
msgid "Small Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:267
|
#: src/Module/Settings/Display.php:268
|
||||||
msgid "Large Image"
|
msgid "Large Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:312
|
#: src/Module/Settings/Display.php:313
|
||||||
msgid "Display Settings"
|
msgid "Display Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:314
|
#: src/Module/Settings/Display.php:315
|
||||||
msgid "General Theme Settings"
|
msgid "General Theme Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:315
|
#: src/Module/Settings/Display.php:316
|
||||||
msgid "Custom Theme Settings"
|
msgid "Custom Theme Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:316
|
#: src/Module/Settings/Display.php:317
|
||||||
msgid "Content Settings"
|
msgid "Content Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:317 view/theme/duepuntozero/config.php:74
|
#: src/Module/Settings/Display.php:318 view/theme/duepuntozero/config.php:74
|
||||||
#: view/theme/frio/config.php:139 view/theme/quattro/config.php:76
|
#: view/theme/frio/config.php:156 view/theme/quattro/config.php:76
|
||||||
#: view/theme/vier/config.php:124
|
#: view/theme/vier/config.php:124
|
||||||
msgid "Theme settings"
|
msgid "Theme settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:318
|
#: src/Module/Settings/Display.php:319
|
||||||
msgid "Timelines"
|
msgid "Timelines"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:325
|
#: src/Module/Settings/Display.php:326
|
||||||
msgid "Display Theme:"
|
msgid "Display Theme:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:326
|
#: src/Module/Settings/Display.php:327
|
||||||
msgid "Mobile Theme:"
|
msgid "Mobile Theme:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:329
|
#: src/Module/Settings/Display.php:330
|
||||||
msgid "Number of items to display per page:"
|
msgid "Number of items to display per page:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:329 src/Module/Settings/Display.php:330
|
#: src/Module/Settings/Display.php:330 src/Module/Settings/Display.php:331
|
||||||
msgid "Maximum of 100 items"
|
msgid "Maximum of 100 items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:330
|
#: src/Module/Settings/Display.php:331
|
||||||
msgid "Number of items to display per page when viewed from mobile device:"
|
msgid "Number of items to display per page when viewed from mobile device:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:331
|
#: src/Module/Settings/Display.php:332
|
||||||
msgid "Update browser every xx seconds"
|
msgid "Update browser every xx seconds"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:331
|
#: src/Module/Settings/Display.php:332
|
||||||
msgid "Minimum of 10 seconds. Enter -1 to disable it."
|
msgid "Minimum of 10 seconds. Enter -1 to disable it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:332
|
#: src/Module/Settings/Display.php:333
|
||||||
msgid "Display emoticons"
|
msgid "Display emoticons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:332
|
#: src/Module/Settings/Display.php:333
|
||||||
msgid "When enabled, emoticons are replaced with matching symbols."
|
msgid "When enabled, emoticons are replaced with matching symbols."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:333
|
#: src/Module/Settings/Display.php:334
|
||||||
msgid "Infinite scroll"
|
msgid "Infinite scroll"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:333
|
#: src/Module/Settings/Display.php:334
|
||||||
msgid "Automatic fetch new items when reaching the page end."
|
msgid "Automatic fetch new items when reaching the page end."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:334
|
#: src/Module/Settings/Display.php:335
|
||||||
msgid "Enable Smart Threading"
|
msgid "Enable Smart Threading"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:334
|
#: src/Module/Settings/Display.php:335
|
||||||
msgid "Enable the automatic suppression of extraneous thread indentation."
|
msgid "Enable the automatic suppression of extraneous thread indentation."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:335
|
#: src/Module/Settings/Display.php:336
|
||||||
msgid "Display the Dislike feature"
|
msgid "Display the Dislike feature"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:335
|
#: src/Module/Settings/Display.php:336
|
||||||
msgid "Display the Dislike button and dislike reactions on posts and comments."
|
msgid "Display the Dislike button and dislike reactions on posts and comments."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:336
|
#: src/Module/Settings/Display.php:337
|
||||||
msgid "Display the resharer"
|
msgid "Display the resharer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:336
|
#: src/Module/Settings/Display.php:337
|
||||||
msgid "Display the first resharer as icon and text on a reshared item."
|
msgid "Display the first resharer as icon and text on a reshared item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:337
|
#: src/Module/Settings/Display.php:338
|
||||||
msgid "Stay local"
|
msgid "Stay local"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:337
|
#: src/Module/Settings/Display.php:338
|
||||||
msgid "Don't go to a remote system when following a contact link."
|
msgid "Don't go to a remote system when following a contact link."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:338
|
#: src/Module/Settings/Display.php:339
|
||||||
msgid "Show the post deletion checkbox"
|
msgid "Show the post deletion checkbox"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:338
|
#: src/Module/Settings/Display.php:339
|
||||||
msgid "Display the checkbox for the post deletion on the network page."
|
msgid "Display the checkbox for the post deletion on the network page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:339
|
#: src/Module/Settings/Display.php:340
|
||||||
msgid "DIsplay the event list"
|
msgid "DIsplay the event list"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:339
|
#: src/Module/Settings/Display.php:340
|
||||||
msgid "Display the birthday reminder and event list on the network page."
|
msgid "Display the birthday reminder and event list on the network page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:340
|
#: src/Module/Settings/Display.php:341
|
||||||
msgid "Link preview mode"
|
msgid "Link preview mode"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:340
|
#: src/Module/Settings/Display.php:341
|
||||||
msgid "Appearance of the link preview that is added to each post with a link."
|
msgid "Appearance of the link preview that is added to each post with a link."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:341
|
#: src/Module/Settings/Display.php:342
|
||||||
msgid "Hide pictures with empty alternative text"
|
msgid "Hide pictures with empty alternative text"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:341
|
#: src/Module/Settings/Display.php:342
|
||||||
msgid "Don't display pictures that are missing the alternative text."
|
msgid "Don't display pictures that are missing the alternative text."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:342
|
#: src/Module/Settings/Display.php:343
|
||||||
msgid "Hide custom emojis"
|
msgid "Hide custom emojis"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:342
|
#: src/Module/Settings/Display.php:343
|
||||||
msgid "Don't display custom emojis."
|
msgid "Don't display custom emojis."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:343
|
#: src/Module/Settings/Display.php:344
|
||||||
msgid "Platform icons style"
|
msgid "Platform icons style"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:343
|
#: src/Module/Settings/Display.php:344
|
||||||
msgid "Style of the platform icons"
|
msgid "Style of the platform icons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:348
|
#: src/Module/Settings/Display.php:349
|
||||||
msgid "Bookmark"
|
msgid "Bookmark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:350
|
#: src/Module/Settings/Display.php:351
|
||||||
msgid "Enable timelines that you want to see in the channels widget. Bookmark timelines that you want to see in the top menu."
|
msgid "Enable timelines that you want to see in the channels widget. Bookmark timelines that you want to see in the top menu."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:352
|
#: src/Module/Settings/Display.php:353
|
||||||
msgid "Channel languages:"
|
msgid "Channel languages:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:352
|
#: src/Module/Settings/Display.php:353
|
||||||
msgid "Select all languages that you want to see in your channels."
|
msgid "Select all languages that you want to see in your channels."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:354
|
#: src/Module/Settings/Display.php:355
|
||||||
msgid "Beginning of week:"
|
msgid "Beginning of week:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Display.php:355
|
#: src/Module/Settings/Display.php:356
|
||||||
msgid "Default calendar view:"
|
msgid "Default calendar view:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -11898,95 +11904,95 @@ msgstr ""
|
||||||
msgid "Variations"
|
msgid "Variations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:134
|
#: view/theme/frio/config.php:151
|
||||||
msgid "Note"
|
msgid "Note"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:134
|
#: view/theme/frio/config.php:151
|
||||||
msgid "Check image permissions if all users are allowed to see the image"
|
msgid "Check image permissions if all users are allowed to see the image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:140
|
#: view/theme/frio/config.php:157
|
||||||
msgid "Appearance"
|
msgid "Appearance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:141
|
#: view/theme/frio/config.php:158
|
||||||
msgid "Accent color"
|
msgid "Accent color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:141
|
#: view/theme/frio/config.php:158
|
||||||
msgid "Blue"
|
msgid "Blue"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:141
|
#: view/theme/frio/config.php:158
|
||||||
msgid "Red"
|
msgid "Red"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:141
|
#: view/theme/frio/config.php:158
|
||||||
msgid "Purple"
|
msgid "Purple"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:141
|
#: view/theme/frio/config.php:158
|
||||||
msgid "Green"
|
msgid "Green"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:141
|
#: view/theme/frio/config.php:158
|
||||||
msgid "Pink"
|
msgid "Pink"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:142
|
#: view/theme/frio/config.php:159
|
||||||
msgid "Copy or paste schemestring"
|
msgid "Copy or paste schemestring"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:142
|
#: view/theme/frio/config.php:159
|
||||||
msgid "You can copy this string to share your theme with others. Pasting here applies the schemestring"
|
msgid "You can copy this string to share your theme with others. Pasting here applies the schemestring"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:143
|
#: view/theme/frio/config.php:160
|
||||||
msgid "Navigation bar background color"
|
msgid "Navigation bar background color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:144
|
#: view/theme/frio/config.php:161
|
||||||
msgid "Navigation bar icon color "
|
msgid "Navigation bar icon color "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:145
|
#: view/theme/frio/config.php:162
|
||||||
msgid "Link color"
|
msgid "Link color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:146
|
#: view/theme/frio/config.php:163
|
||||||
msgid "Set the background color"
|
msgid "Set the background color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:147
|
#: view/theme/frio/config.php:164
|
||||||
msgid "Content background opacity"
|
msgid "Content background opacity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:148
|
#: view/theme/frio/config.php:165
|
||||||
msgid "Set the background image"
|
msgid "Set the background image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:149
|
#: view/theme/frio/config.php:166
|
||||||
msgid "Background image style"
|
msgid "Background image style"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:152
|
#: view/theme/frio/config.php:169
|
||||||
msgid "Always open Compose page"
|
msgid "Always open Compose page"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:152
|
#: view/theme/frio/config.php:169
|
||||||
msgid "The New Post button always open the <a href=\"/compose\">Compose page</a> instead of the modal form. When this is disabled, the Compose page can be accessed with a middle click on the link or from the modal."
|
msgid "The New Post button always open the <a href=\"/compose\">Compose page</a> instead of the modal form. When this is disabled, the Compose page can be accessed with a middle click on the link or from the modal."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:156
|
#: view/theme/frio/config.php:173
|
||||||
msgid "Login page background image"
|
msgid "Login page background image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:160
|
#: view/theme/frio/config.php:177
|
||||||
msgid "Login page background color"
|
msgid "Login page background color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: view/theme/frio/config.php:160
|
#: view/theme/frio/config.php:177
|
||||||
msgid "Leave background image and color empty for theme defaults"
|
msgid "Leave background image and color empty for theme defaults"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue