1
0
Fork 0

Merge pull request #12949 from nupplaphil/bug/site_env_view

Disable setting fields in case we use environment variables
This commit is contained in:
Hypolite Petovan 2023-03-28 15:06:27 -04:00 committed by GitHub
commit 589a3d4cf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 386 additions and 253 deletions

View file

@ -77,7 +77,7 @@ pipeline:
when: when:
matrix: matrix:
PHP_MAJOR_VERSION: 7.4 PHP_MAJOR_VERSION: 7.4
PHP_VERSION: 7.4.18 PHP_VERSION: 7.4.33
repo: repo:
- friendica/friendica - friendica/friendica
settings: settings:

View file

@ -58,6 +58,16 @@ interface IManageConfigValues
*/ */
public function get(string $cat, string $key = null, $default_value = null); public function get(string $cat, string $key = null, $default_value = null);
/**
* Returns true, if the current config can be changed
*
* @param string $cat The category of the configuration value
* @param string $key The configuration key to query
*
* @return bool true, if writing is possible
*/
public function isWritable(string $cat, string $key): bool;
/** /**
* Sets a configuration value for system config * Sets a configuration value for system config
* *

View file

@ -80,6 +80,12 @@ class DatabaseConfig implements IManageConfigValues
return $this->cache->get($cat, $key) ?? $default_value; return $this->cache->get($cat, $key) ?? $default_value;
} }
/** {@inheritDoc} */
public function isWritable(string $cat, string $key): bool
{
return $this->cache->getSource($cat, $key) < Cache::SOURCE_ENV;
}
/** {@inheritDoc} */ /** {@inheritDoc} */
public function set(string $cat, string $key, $value): bool public function set(string $cat, string $key, $value): bool
{ {

View file

@ -68,6 +68,12 @@ class ReadOnlyFileConfig implements IManageConfigValues
return $this->configCache->get($cat, $key) ?? $default_value; return $this->configCache->get($cat, $key) ?? $default_value;
} }
/** {@inheritDoc} */
public function isWritable(string $cat, string $key): bool
{
return $this->configCache->getSource($cat, $key) < Cache::SOURCE_ENV;
}
/** {@inheritDoc} */ /** {@inheritDoc} */
public function set(string $cat, string $key, $value): bool public function set(string $cat, string $key, $value): bool
{ {

View file

@ -31,6 +31,15 @@ use ParagonIE\HiddenString\HiddenString;
*/ */
class Cache class Cache
{ {
/** @var int[] A list of valid config source */
const VALID_SOURCES = [
self::SOURCE_STATIC,
self::SOURCE_FILE,
self::SOURCE_DATA,
self::SOURCE_ENV,
self::SOURCE_FIX,
];
/** @var int Indicates that the cache entry is a default value - Lowest Priority */ /** @var int Indicates that the cache entry is a default value - Lowest Priority */
const SOURCE_STATIC = 0; const SOURCE_STATIC = 0;
/** @var int Indicates that the cache entry is set by file - Low Priority */ /** @var int Indicates that the cache entry is set by file - Low Priority */

View file

@ -48,9 +48,15 @@ class Settings extends BaseAdmin
return; return;
} }
DI::config()->set('system', 'logfile', $logfile); if (DI::config()->isWritable('system', 'logfile')) {
DI::config()->set('system', 'debugging', $debugging); DI::config()->set('system', 'logfile', $logfile);
DI::config()->set('system', 'loglevel', $loglevel); }
if (DI::config()->isWritable('system', 'debugging')) {
DI::config()->set('system', 'debugging', $debugging);
}
if (DI::config()->isWritable('system', 'loglevel')) {
DI::config()->set('system', 'loglevel', $loglevel);
}
DI::baseUrl()->redirect('admin/logs'); DI::baseUrl()->redirect('admin/logs');
} }
@ -82,9 +88,9 @@ class Settings extends BaseAdmin
'$clear' => DI::l10n()->t('Clear'), '$clear' => DI::l10n()->t('Clear'),
'$logname' => DI::config()->get('system', 'logfile'), '$logname' => DI::config()->get('system', 'logfile'),
// see /help/smarty3-templates#1_1 on any Friendica node // see /help/smarty3-templates#1_1 on any Friendica node
'$debugging' => ['debugging', DI::l10n()->t("Enable Debugging"), DI::config()->get('system', 'debugging'), ""], '$debugging' => ['debugging', DI::l10n()->t('Enable Debugging'), DI::config()->get('system', 'debugging'), !DI::config()->isWritable('system', 'debugging') ? DI::l10n()->t('<strong>Read-only</strong> because it is set by an environment variable') : '', !DI::config()->isWritable('system', 'debugging') ? 'disabled' : ''],
'$logfile' => ['logfile', DI::l10n()->t("Log file"), DI::config()->get('system', 'logfile'), DI::l10n()->t("Must be writable by web server. Relative to your Friendica top-level directory.")], '$logfile' => ['logfile', DI::l10n()->t('Log file'), DI::config()->get('system', 'logfile'), DI::l10n()->t('Must be writable by web server. Relative to your Friendica top-level directory.') . (!DI::config()->isWritable('system', 'logfile') ? '<br>' . DI::l10n()->t('<strong>Read-only</strong> because it is set by an environment variable') : ''), '', !DI::config()->isWritable('system', 'logfile') ? 'disabled' : ''],
'$loglevel' => ['loglevel', DI::l10n()->t("Log level"), DI::config()->get('system', 'loglevel'), "", $log_choices], '$loglevel' => ['loglevel', DI::l10n()->t("Log level"), DI::config()->get('system', 'loglevel'), !DI::config()->isWritable('system', 'loglevel') ? DI::l10n()->t('<strong>Read-only</strong> because it is set by an environment variable') : '', $log_choices, !DI::config()->isWritable('system', 'loglevel') ? 'disabled' : ''],
'$form_security_token' => self::getFormSecurityToken("admin_logs"), '$form_security_token' => self::getFormSecurityToken("admin_logs"),
'$phpheader' => DI::l10n()->t("PHP logging"), '$phpheader' => DI::l10n()->t("PHP logging"),
'$phphint' => DI::l10n()->t("To temporarily enable logging of PHP errors and warnings you can prepend the following to the index.php file of your installation. The filename set in the 'error_log' line is relative to the friendica top-level directory and must be writeable by the web server. The option '1' for 'log_errors' and 'display_errors' is to enable these options, set to '0' to disable them."), '$phphint' => DI::l10n()->t("To temporarily enable logging of PHP errors and warnings you can prepend the following to the index.php file of your installation. The filename set in the 'error_log' line is relative to the friendica top-level directory and must be writeable by the web server. The option '1' for 'log_errors' and 'display_errors' is to enable these options, set to '0' to disable them."),

View file

@ -165,7 +165,9 @@ class Site extends BaseAdmin
$transactionConfig->set('system', 'poco_discovery' , $poco_discovery); $transactionConfig->set('system', 'poco_discovery' , $poco_discovery);
$transactionConfig->set('system', 'poco_local_search' , $poco_local_search); $transactionConfig->set('system', 'poco_local_search' , $poco_local_search);
$transactionConfig->set('system', 'nodeinfo' , $nodeinfo); $transactionConfig->set('system', 'nodeinfo' , $nodeinfo);
$transactionConfig->set('config', 'sitename' , $sitename); if (DI::config()->isWritable('config', 'sitename')) {
$transactionConfig->set('config', 'sitename', $sitename);
}
$transactionConfig->set('config', 'sender_email' , $sender_email); $transactionConfig->set('config', 'sender_email' , $sender_email);
$transactionConfig->set('system', 'suppress_tags' , $suppress_tags); $transactionConfig->set('system', 'suppress_tags' , $suppress_tags);
$transactionConfig->set('system', 'shortcut_icon' , $shortcut_icon); $transactionConfig->set('system', 'shortcut_icon' , $shortcut_icon);
@ -188,7 +190,9 @@ class Site extends BaseAdmin
} else { } else {
$transactionConfig->set('config', 'info', $additional_info); $transactionConfig->set('config', 'info', $additional_info);
} }
$transactionConfig->set('system', 'language', $language); if (DI::config()->isWritable('system', 'language')) {
$transactionConfig->set('system', 'language', $language);
}
$transactionConfig->set('system', 'theme', $theme); $transactionConfig->set('system', 'theme', $theme);
Theme::install($theme); Theme::install($theme);
@ -413,7 +417,7 @@ class Site extends BaseAdmin
'$relocate_cmd' => DI::l10n()->t('(Friendica directory)# bin/console relocate https://newdomain.com'), '$relocate_cmd' => DI::l10n()->t('(Friendica directory)# bin/console relocate https://newdomain.com'),
// name, label, value, help string, extra data... // name, label, value, help string, extra data...
'$sitename' => ['sitename', DI::l10n()->t('Site name'), DI::config()->get('config', 'sitename'), ''], '$sitename' => ['sitename', DI::l10n()->t('Site name'), DI::config()->get('config', 'sitename'), !DI::config()->isWritable('config', 'sitename') ? DI::l10n()->t('<strong>Read-only</strong> because it is set by an environment variable') : '', '', !DI::config()->isWritable('config', 'sitename') ? 'disabled' : ''],
'$sender_email' => ['sender_email', DI::l10n()->t('Sender Email'), DI::config()->get('config', 'sender_email'), DI::l10n()->t('The email address your server shall use to send notification emails from.'), '', '', 'email'], '$sender_email' => ['sender_email', DI::l10n()->t('Sender Email'), DI::config()->get('config', 'sender_email'), DI::l10n()->t('The email address your server shall use to send notification emails from.'), '', '', 'email'],
'$system_actor_name' => ['system_actor_name', DI::l10n()->t('Name of the system actor'), User::getActorName(), DI::l10n()->t("Name of the internal system account that is used to perform ActivityPub requests. This must be an unused username. If set, this can't be changed again.")], '$system_actor_name' => ['system_actor_name', DI::l10n()->t('Name of the system actor'), User::getActorName(), DI::l10n()->t("Name of the internal system account that is used to perform ActivityPub requests. This must be an unused username. If set, this can't be changed again.")],
'$banner' => ['banner', DI::l10n()->t('Banner/Logo'), $banner, ''], '$banner' => ['banner', DI::l10n()->t('Banner/Logo'), $banner, ''],
@ -421,7 +425,7 @@ class Site extends BaseAdmin
'$shortcut_icon' => ['shortcut_icon', DI::l10n()->t('Shortcut icon'), DI::config()->get('system', 'shortcut_icon'), DI::l10n()->t('Link to an icon that will be used for browsers.')], '$shortcut_icon' => ['shortcut_icon', DI::l10n()->t('Shortcut icon'), DI::config()->get('system', 'shortcut_icon'), DI::l10n()->t('Link to an icon that will be used for browsers.')],
'$touch_icon' => ['touch_icon', DI::l10n()->t('Touch icon'), DI::config()->get('system', 'touch_icon'), DI::l10n()->t('Link to an icon that will be used for tablets and mobiles.')], '$touch_icon' => ['touch_icon', DI::l10n()->t('Touch icon'), DI::config()->get('system', 'touch_icon'), DI::l10n()->t('Link to an icon that will be used for tablets and mobiles.')],
'$additional_info' => ['additional_info', DI::l10n()->t('Additional Info'), $additional_info, DI::l10n()->t('For public servers: you can add additional information here that will be listed at %s/servers.', Search::getGlobalDirectory())], '$additional_info' => ['additional_info', DI::l10n()->t('Additional Info'), $additional_info, DI::l10n()->t('For public servers: you can add additional information here that will be listed at %s/servers.', Search::getGlobalDirectory())],
'$language' => ['language', DI::l10n()->t('System language'), DI::config()->get('system', 'language'), '', $lang_choices], '$language' => ['language', DI::l10n()->t('System language'), DI::config()->get('system', 'language'), !DI::config()->isWritable('system', 'language') ? DI::l10n()->t("<strong>Read-only</strong> because it is set by an environment variable") : '', $lang_choices, !DI::config()->isWritable('system', 'language') ? 'disabled' : ''],
'$theme' => ['theme', DI::l10n()->t('System theme'), DI::config()->get('system', 'theme'), DI::l10n()->t('Default system theme - may be over-ridden by user profiles - <a href="%s" id="cnftheme">Change default theme settings</a>', DI::baseUrl() . '/admin/themes'), $theme_choices], '$theme' => ['theme', DI::l10n()->t('System theme'), DI::config()->get('system', 'theme'), DI::l10n()->t('Default system theme - may be over-ridden by user profiles - <a href="%s" id="cnftheme">Change default theme settings</a>', DI::baseUrl() . '/admin/themes'), $theme_choices],
'$theme_mobile' => ['theme_mobile', DI::l10n()->t('Mobile system theme'), DI::config()->get('system', 'mobile-theme', '---'), DI::l10n()->t('Theme for mobile devices'), $theme_choices_mobile], '$theme_mobile' => ['theme_mobile', DI::l10n()->t('Mobile system theme'), DI::config()->get('system', 'mobile-theme', '---'), DI::l10n()->t('Theme for mobile devices'), $theme_choices_mobile],
'$force_ssl' => ['force_ssl', DI::l10n()->t('Force SSL'), DI::config()->get('system', 'force_ssl'), DI::l10n()->t('Force all Non-SSL requests to SSL - Attention: on some systems it could lead to endless loops.')], '$force_ssl' => ['force_ssl', DI::l10n()->t('Force SSL'), DI::config()->get('system', 'force_ssl'), DI::l10n()->t('Force all Non-SSL requests to SSL - Attention: on some systems it could lead to endless loops.')],

View file

@ -76,7 +76,7 @@ class Storage extends BaseAdmin
} }
} }
if (!empty($_POST['submit_save_set'])) { if (!empty($_POST['submit_save_set']) && DI::config()->isWritable('storage', 'name') ) {
try { try {
$newstorage = DI::storageManager()->getWritableStorageByName($storagebackend); $newstorage = DI::storageManager()->getWritableStorageByName($storagebackend);
@ -145,6 +145,8 @@ class Storage extends BaseAdmin
'$save_reload' => DI::l10n()->t('Save & Reload'), '$save_reload' => DI::l10n()->t('Save & Reload'),
'$noconfig' => DI::l10n()->t('This backend doesn\'t have custom settings'), '$noconfig' => DI::l10n()->t('This backend doesn\'t have custom settings'),
'$form_security_token' => self::getFormSecurityToken("admin_storage"), '$form_security_token' => self::getFormSecurityToken("admin_storage"),
'$storagebackend_ro_txt' => !DI::config()->isWritable('storage', 'name') ? DI::l10n()->t('Changing the current backend is prohibited because it is set by an environment variable') : '',
'$is_writable' => DI::config()->isWritable('storage', 'name'),
'$storagebackend' => $current_storage_backend instanceof ICanWriteToStorage ? $current_storage_backend::getName() : DI::l10n()->t('Database (legacy)'), '$storagebackend' => $current_storage_backend instanceof ICanWriteToStorage ? $current_storage_backend::getName() : DI::l10n()->t('Database (legacy)'),
'$availablestorageforms' => $available_storage_forms, '$availablestorageforms' => $available_storage_forms,
]); ]);

View file

@ -65,7 +65,7 @@ trait VFSTrait
* @param string $sourceFilePath The filename of the config file * @param string $sourceFilePath The filename of the config file
* @param bool $static True, if the folder `static` instead of `config` should be used * @param bool $static True, if the folder `static` instead of `config` should be used
*/ */
protected function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null) public function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
{ {
$file = dirname(__DIR__) . DIRECTORY_SEPARATOR . $file = dirname(__DIR__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR .

View file

@ -566,4 +566,74 @@ class ConfigTest extends DatabaseTest
$config->set('test', 'it', $value); $config->set('test', 'it', $value);
self:self::assertEquals($assertion, $config->get('test', 'it')); self:self::assertEquals($assertion, $config->get('test', 'it'));
} }
public function dataEnv(): array
{
$data = [
'config' => [
'admin_email' => 'value1',
'timezone' => 'value2',
'language' => 'value3',
'sitename' => 'value',
],
'system' => [
'url' => 'value1a',
'debugging' => true,
'logfile' => 'value4',
'loglevel' => 'notice',
'proflier' => true,
],
'proxy' => [
'trusted_proxies' => 'value5',
],
];
return [
'empty' => [
'data' => $data,
'server' => [],
'assertDisabled' => [],
],
'mixed' => [
'data' => $data,
'server' => [
'FRIENDICA_ADMIN_MAIL' => 'test@friendica.local',
'FRIENDICA_DEBUGGING' => true,
],
'assertDisabled' => [
'config' => [
'admin_email' => true,
],
'system' => [
'debugging' => true,
],
],
],
];
}
/**
* Tests if environment variables can change the permission to write a config key
*
* @dataProvider dataEnv
*/
public function testIsWritable(array $data, array $server, array $assertDisabled)
{
$this->setConfigFile('static' . DIRECTORY_SEPARATOR . 'env.config.php', true);
$this->loadDirectFixture($this->configToDbArray($data), $this->getDbInstance());
$configFileManager = new ConfigFileManager($this->root->url(), $this->root->url() . '/config/', $this->root->url() . '/static/', $server);
$configFileManager->setupCache($this->configCache);
$config = new DatabaseConfig($this->getDbInstance(), $this->configCache);
foreach ($data as $category => $keyvalues) {
foreach ($keyvalues as $key => $value) {
if (empty($assertDisabled[$category][$key])) {
static::assertTrue($config->isWritable($category, $key), sprintf('%s.%s is not true', $category, $key));
} else {
static::assertFalse($config->isWritable($category, $key), sprintf('%s.%s is not false', $category, $key));
}
}
}
}
} }

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2023.03-rc\n" "Project-Id-Version: 2023.03-rc\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-24 08:56+0100\n" "POT-Creation-Date: 2023-03-28 17:42+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"
@ -1546,7 +1546,7 @@ msgstr ""
msgid "show more" msgid "show more"
msgstr "" msgstr ""
#: src/Content/Item.php:326 src/Model/Item.php:2904 #: src/Content/Item.php:326 src/Model/Item.php:2906
msgid "event" msgid "event"
msgstr "" msgstr ""
@ -1554,7 +1554,7 @@ msgstr ""
msgid "status" msgid "status"
msgstr "" msgstr ""
#: src/Content/Item.php:335 src/Model/Item.php:2906 #: src/Content/Item.php:335 src/Model/Item.php:2908
#: src/Module/Post/Tag/Add.php:123 #: src/Module/Post/Tag/Add.php:123
msgid "photo" msgid "photo"
msgstr "" msgstr ""
@ -1960,8 +1960,8 @@ msgid ""
"<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s" "<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s"
msgstr "" msgstr ""
#: src/Content/Text/BBCode.php:955 src/Model/Item.php:3585 #: src/Content/Text/BBCode.php:955 src/Model/Item.php:3587
#: src/Model/Item.php:3591 src/Model/Item.php:3592 #: src/Model/Item.php:3593 src/Model/Item.php:3594
msgid "Link to source" msgid "Link to source"
msgstr "" msgstr ""
@ -3130,81 +3130,81 @@ msgstr ""
msgid "Edit groups" msgid "Edit groups"
msgstr "" msgstr ""
#: src/Model/Item.php:2005 #: src/Model/Item.php:2007
#, php-format #, php-format
msgid "Detected languages in this post:\\n%s" msgid "Detected languages in this post:\\n%s"
msgstr "" msgstr ""
#: src/Model/Item.php:2908 #: src/Model/Item.php:2910
msgid "activity" msgid "activity"
msgstr "" msgstr ""
#: src/Model/Item.php:2910 #: src/Model/Item.php:2912
msgid "comment" msgid "comment"
msgstr "" msgstr ""
#: src/Model/Item.php:2913 src/Module/Post/Tag/Add.php:123 #: src/Model/Item.php:2915 src/Module/Post/Tag/Add.php:123
msgid "post" msgid "post"
msgstr "" msgstr ""
#: src/Model/Item.php:3071
#, php-format
msgid "%s is blocked"
msgstr ""
#: src/Model/Item.php:3073 #: src/Model/Item.php:3073
#, php-format #, php-format
msgid "%s is ignored" msgid "%s is blocked"
msgstr "" msgstr ""
#: src/Model/Item.php:3075 #: src/Model/Item.php:3075
#, php-format #, php-format
msgid "%s is ignored"
msgstr ""
#: src/Model/Item.php:3077
#, php-format
msgid "Content from %s is collapsed" msgid "Content from %s is collapsed"
msgstr "" msgstr ""
#: src/Model/Item.php:3079 #: src/Model/Item.php:3081
#, php-format #, php-format
msgid "Content warning: %s" msgid "Content warning: %s"
msgstr "" msgstr ""
#: src/Model/Item.php:3497 #: src/Model/Item.php:3499
msgid "bytes" msgid "bytes"
msgstr "" msgstr ""
#: src/Model/Item.php:3528 #: src/Model/Item.php:3530
#, php-format #, php-format
msgid "%2$s (%3$d%%, %1$d vote)" msgid "%2$s (%3$d%%, %1$d vote)"
msgid_plural "%2$s (%3$d%%, %1$d votes)" msgid_plural "%2$s (%3$d%%, %1$d votes)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3530 #: src/Model/Item.php:3532
#, php-format #, php-format
msgid "%2$s (%1$d vote)" msgid "%2$s (%1$d vote)"
msgid_plural "%2$s (%1$d votes)" msgid_plural "%2$s (%1$d votes)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3535 #: src/Model/Item.php:3537
#, php-format #, php-format
msgid "%d voter. Poll end: %s" msgid "%d voter. Poll end: %s"
msgid_plural "%d voters. Poll end: %s" msgid_plural "%d voters. Poll end: %s"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3537 #: src/Model/Item.php:3539
#, php-format #, php-format
msgid "%d voter." msgid "%d voter."
msgid_plural "%d voters." msgid_plural "%d voters."
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3539 #: src/Model/Item.php:3541
#, php-format #, php-format
msgid "Poll end: %s" msgid "Poll end: %s"
msgstr "" msgstr ""
#: src/Model/Item.php:3573 src/Model/Item.php:3574 #: src/Model/Item.php:3575 src/Model/Item.php:3576
msgid "View on separate page" msgid "View on separate page"
msgstr "" msgstr ""
@ -3644,9 +3644,9 @@ msgid "Enable"
msgstr "" msgstr ""
#: src/Module/Admin/Addons/Details.php:111 src/Module/Admin/Addons/Index.php:67 #: src/Module/Admin/Addons/Details.php:111 src/Module/Admin/Addons/Index.php:67
#: src/Module/Admin/Federation.php:209 src/Module/Admin/Logs/Settings.php:79 #: src/Module/Admin/Federation.php:209 src/Module/Admin/Logs/Settings.php:85
#: src/Module/Admin/Logs/View.php:83 src/Module/Admin/Queue.php:72 #: src/Module/Admin/Logs/View.php:83 src/Module/Admin/Queue.php:72
#: src/Module/Admin/Site.php:394 src/Module/Admin/Storage.php:138 #: src/Module/Admin/Site.php:398 src/Module/Admin/Storage.php:138
#: src/Module/Admin/Summary.php:220 src/Module/Admin/Themes/Details.php:90 #: src/Module/Admin/Summary.php:220 src/Module/Admin/Themes/Details.php:90
#: src/Module/Admin/Themes/Index.php:111 src/Module/Admin/Tos.php:77 #: src/Module/Admin/Themes/Index.php:111 src/Module/Admin/Tos.php:77
#: src/Module/Moderation/Users/Create.php:61 #: src/Module/Moderation/Users/Create.php:61
@ -3684,7 +3684,7 @@ msgid "Addon %s failed to install."
msgstr "" msgstr ""
#: src/Module/Admin/Addons/Index.php:69 src/Module/Admin/Features.php:86 #: src/Module/Admin/Addons/Index.php:69 src/Module/Admin/Features.php:86
#: src/Module/Admin/Logs/Settings.php:81 src/Module/Admin/Site.php:397 #: src/Module/Admin/Logs/Settings.php:87 src/Module/Admin/Site.php:401
#: src/Module/Admin/Themes/Index.php:113 src/Module/Admin/Tos.php:86 #: src/Module/Admin/Themes/Index.php:113 src/Module/Admin/Tos.php:86
#: src/Module/Settings/Account.php:560 src/Module/Settings/Addons.php:78 #: src/Module/Settings/Account.php:560 src/Module/Settings/Addons.php:78
#: src/Module/Settings/Connectors.php:160 #: src/Module/Settings/Connectors.php:160
@ -3860,46 +3860,52 @@ msgstr[1] ""
msgid "The logfile '%s' is not writable. No logging possible" msgid "The logfile '%s' is not writable. No logging possible"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:71 #: src/Module/Admin/Logs/Settings.php:77
msgid "PHP log currently enabled." msgid "PHP log currently enabled."
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:73 #: src/Module/Admin/Logs/Settings.php:79
msgid "PHP log currently disabled." msgid "PHP log currently disabled."
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:80 src/Module/BaseAdmin.php:102 #: src/Module/Admin/Logs/Settings.php:86 src/Module/BaseAdmin.php:102
#: src/Module/BaseAdmin.php:103 #: src/Module/BaseAdmin.php:103
msgid "Logs" msgid "Logs"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:82 #: src/Module/Admin/Logs/Settings.php:88
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:85 #: src/Module/Admin/Logs/Settings.php:91
msgid "Enable Debugging" msgid "Enable Debugging"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:86 #: src/Module/Admin/Logs/Settings.php:91 src/Module/Admin/Logs/Settings.php:92
#: src/Module/Admin/Logs/Settings.php:93 src/Module/Admin/Site.php:420
#: src/Module/Admin/Site.php:428
msgid "<strong>Read-only</strong> because it is set by an environment variable"
msgstr ""
#: src/Module/Admin/Logs/Settings.php:92
msgid "Log file" msgid "Log file"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:86 #: src/Module/Admin/Logs/Settings.php:92
msgid "" msgid ""
"Must be writable by web server. Relative to your Friendica top-level " "Must be writable by web server. Relative to your Friendica top-level "
"directory." "directory."
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:87 #: src/Module/Admin/Logs/Settings.php:93
msgid "Log level" msgid "Log level"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:89 #: src/Module/Admin/Logs/Settings.php:95
msgid "PHP logging" msgid "PHP logging"
msgstr "" msgstr ""
#: src/Module/Admin/Logs/Settings.php:90 #: src/Module/Admin/Logs/Settings.php:96
msgid "" msgid ""
"To temporarily enable logging of PHP errors and warnings you can prepend the " "To temporarily enable logging of PHP errors and warnings you can prepend the "
"following to the index.php file of your installation. The filename set in " "following to the index.php file of your installation. The filename set in "
@ -4036,269 +4042,269 @@ msgstr ""
msgid "Priority" msgid "Priority"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:208 #: src/Module/Admin/Site.php:212
#, php-format #, php-format
msgid "%s is no valid input for maximum image size" msgid "%s is no valid input for maximum image size"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:309 src/Module/Settings/Display.php:169 #: src/Module/Admin/Site.php:313 src/Module/Settings/Display.php:169
msgid "No special theme for mobile devices" msgid "No special theme for mobile devices"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:326 src/Module/Settings/Display.php:179 #: src/Module/Admin/Site.php:330 src/Module/Settings/Display.php:179
#, php-format #, php-format
msgid "%s - (Experimental)" msgid "%s - (Experimental)"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:338 #: src/Module/Admin/Site.php:342
msgid "No community page" msgid "No community page"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:339 #: src/Module/Admin/Site.php:343
msgid "No community page for visitors" msgid "No community page for visitors"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:340 #: src/Module/Admin/Site.php:344
msgid "Public postings from users of this site" msgid "Public postings from users of this site"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:341 #: src/Module/Admin/Site.php:345
msgid "Public postings from the federated network" msgid "Public postings from the federated network"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:342 #: src/Module/Admin/Site.php:346
msgid "Public postings from local users and the federated network" msgid "Public postings from local users and the federated network"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:348 #: src/Module/Admin/Site.php:352
msgid "Multi user instance" msgid "Multi user instance"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:371 #: src/Module/Admin/Site.php:375
msgid "Closed" msgid "Closed"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:372 #: src/Module/Admin/Site.php:376
msgid "Requires approval" msgid "Requires approval"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:373 #: src/Module/Admin/Site.php:377
msgid "Open" msgid "Open"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:377 #: src/Module/Admin/Site.php:381
msgid "Don't check" msgid "Don't check"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:378 #: src/Module/Admin/Site.php:382
msgid "check the stable version" msgid "check the stable version"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:379 #: src/Module/Admin/Site.php:383
msgid "check the development version" msgid "check the development version"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:383 #: src/Module/Admin/Site.php:387
msgid "none" msgid "none"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:384 #: src/Module/Admin/Site.php:388
msgid "Local contacts" msgid "Local contacts"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:385 #: src/Module/Admin/Site.php:389
msgid "Interactors" msgid "Interactors"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:395 src/Module/BaseAdmin.php:90 #: src/Module/Admin/Site.php:399 src/Module/BaseAdmin.php:90
msgid "Site" msgid "Site"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:396 #: src/Module/Admin/Site.php:400
msgid "General Information" msgid "General Information"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:398 #: src/Module/Admin/Site.php:402
msgid "Republish users to directory" msgid "Republish users to directory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:399 src/Module/Register.php:152 #: src/Module/Admin/Site.php:403 src/Module/Register.php:152
msgid "Registration" msgid "Registration"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:400 #: src/Module/Admin/Site.php:404
msgid "File upload" msgid "File upload"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:401 #: src/Module/Admin/Site.php:405
msgid "Policies" msgid "Policies"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:402 src/Module/Calendar/Event/Form.php:252 #: src/Module/Admin/Site.php:406 src/Module/Calendar/Event/Form.php:252
#: src/Module/Contact.php:516 src/Module/Profile/Profile.php:276 #: src/Module/Contact.php:516 src/Module/Profile/Profile.php:276
msgid "Advanced" msgid "Advanced"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:403 #: src/Module/Admin/Site.php:407
msgid "Auto Discovered Contact Directory" msgid "Auto Discovered Contact Directory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:404 #: src/Module/Admin/Site.php:408
msgid "Performance" msgid "Performance"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:405 #: src/Module/Admin/Site.php:409
msgid "Worker" msgid "Worker"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:406 #: src/Module/Admin/Site.php:410
msgid "Message Relay" msgid "Message Relay"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:407 #: src/Module/Admin/Site.php:411
msgid "" msgid ""
"Use the command \"console relay\" in the command line to add or remove " "Use the command \"console relay\" in the command line to add or remove "
"relays." "relays."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:408 #: src/Module/Admin/Site.php:412
msgid "The system is not subscribed to any relays at the moment." msgid "The system is not subscribed to any relays at the moment."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:409 #: src/Module/Admin/Site.php:413
msgid "The system is currently subscribed to the following relays:" msgid "The system is currently subscribed to the following relays:"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:411 #: src/Module/Admin/Site.php:415
msgid "Relocate Node" msgid "Relocate Node"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:412 #: src/Module/Admin/Site.php:416
msgid "" msgid ""
"Relocating your node enables you to change the DNS domain of this node and " "Relocating your node enables you to change the DNS domain of this node and "
"keep all the existing users and posts. This process takes a while and can " "keep all the existing users and posts. This process takes a while and can "
"only be started from the relocate console command like this:" "only be started from the relocate console command like this:"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:413 #: src/Module/Admin/Site.php:417
msgid "(Friendica directory)# bin/console relocate https://newdomain.com" msgid "(Friendica directory)# bin/console relocate https://newdomain.com"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:416 #: src/Module/Admin/Site.php:420
msgid "Site name" msgid "Site name"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:417 #: src/Module/Admin/Site.php:421
msgid "Sender Email" msgid "Sender Email"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:417 #: src/Module/Admin/Site.php:421
msgid "" msgid ""
"The email address your server shall use to send notification emails from." "The email address your server shall use to send notification emails from."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:418 #: src/Module/Admin/Site.php:422
msgid "Name of the system actor" msgid "Name of the system actor"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:418 #: src/Module/Admin/Site.php:422
msgid "" msgid ""
"Name of the internal system account that is used to perform ActivityPub " "Name of the internal system account that is used to perform ActivityPub "
"requests. This must be an unused username. If set, this can't be changed " "requests. This must be an unused username. If set, this can't be changed "
"again." "again."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:419 #: src/Module/Admin/Site.php:423
msgid "Banner/Logo" msgid "Banner/Logo"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:420 #: src/Module/Admin/Site.php:424
msgid "Email Banner/Logo" msgid "Email Banner/Logo"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:421 #: src/Module/Admin/Site.php:425
msgid "Shortcut icon" msgid "Shortcut icon"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:421 #: src/Module/Admin/Site.php:425
msgid "Link to an icon that will be used for browsers." msgid "Link to an icon that will be used for browsers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:422 #: src/Module/Admin/Site.php:426
msgid "Touch icon" msgid "Touch icon"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:422 #: src/Module/Admin/Site.php:426
msgid "Link to an icon that will be used for tablets and mobiles." msgid "Link to an icon that will be used for tablets and mobiles."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:423 #: src/Module/Admin/Site.php:427
msgid "Additional Info" msgid "Additional Info"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:423 #: src/Module/Admin/Site.php:427
#, php-format #, php-format
msgid "" msgid ""
"For public servers: you can add additional information here that will be " "For public servers: you can add additional information here that will be "
"listed at %s/servers." "listed at %s/servers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:424 #: src/Module/Admin/Site.php:428
msgid "System language" msgid "System language"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:425 #: src/Module/Admin/Site.php:429
msgid "System theme" msgid "System theme"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:425 #: src/Module/Admin/Site.php:429
#, php-format #, php-format
msgid "" msgid ""
"Default system theme - may be over-ridden by user profiles - <a href=\"%s\" " "Default system theme - may be over-ridden by user profiles - <a href=\"%s\" "
"id=\"cnftheme\">Change default theme settings</a>" "id=\"cnftheme\">Change default theme settings</a>"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:426 #: src/Module/Admin/Site.php:430
msgid "Mobile system theme" msgid "Mobile system theme"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:426 #: src/Module/Admin/Site.php:430
msgid "Theme for mobile devices" msgid "Theme for mobile devices"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:427 #: src/Module/Admin/Site.php:431
msgid "Force SSL" msgid "Force SSL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:427 #: src/Module/Admin/Site.php:431
msgid "" msgid ""
"Force all Non-SSL requests to SSL - Attention: on some systems it could lead " "Force all Non-SSL requests to SSL - Attention: on some systems it could lead "
"to endless loops." "to endless loops."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:428 #: src/Module/Admin/Site.php:432
msgid "Show help entry from navigation menu" msgid "Show help entry from navigation menu"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:428 #: src/Module/Admin/Site.php:432
msgid "" msgid ""
"Displays the menu entry for the Help pages from the navigation menu. It is " "Displays the menu entry for the Help pages from the navigation menu. It is "
"always accessible by calling /help directly." "always accessible by calling /help directly."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:429 #: src/Module/Admin/Site.php:433
msgid "Single user instance" msgid "Single user instance"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:429 #: src/Module/Admin/Site.php:433
msgid "Make this instance multi-user or single-user for the named user" msgid "Make this instance multi-user or single-user for the named user"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:431 #: src/Module/Admin/Site.php:435
msgid "Maximum image size" msgid "Maximum image size"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:431 #: src/Module/Admin/Site.php:435
#, php-format #, php-format
msgid "" msgid ""
"Maximum size in bytes of uploaded images. Default is 0, which means no " "Maximum size in bytes of uploaded images. Default is 0, which means no "
@ -4310,35 +4316,35 @@ msgid ""
"to %s (%s byte)" "to %s (%s byte)"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:435 #: src/Module/Admin/Site.php:439
msgid "Maximum image length" msgid "Maximum image length"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:435 #: src/Module/Admin/Site.php:439
msgid "" msgid ""
"Maximum length in pixels of the longest side of uploaded images. Default is " "Maximum length in pixels of the longest side of uploaded images. Default is "
"-1, which means no limits." "-1, which means no limits."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:436 #: src/Module/Admin/Site.php:440
msgid "JPEG image quality" msgid "JPEG image quality"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:436 #: src/Module/Admin/Site.php:440
msgid "" msgid ""
"Uploaded JPEGS will be saved at this quality setting [0-100]. Default is " "Uploaded JPEGS will be saved at this quality setting [0-100]. Default is "
"100, which is full quality." "100, which is full quality."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:438 #: src/Module/Admin/Site.php:442
msgid "Register policy" msgid "Register policy"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:439 #: src/Module/Admin/Site.php:443
msgid "Maximum Users" msgid "Maximum Users"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:439 #: src/Module/Admin/Site.php:443
msgid "" msgid ""
"If defined, the register policy is automatically closed when the given " "If defined, the register policy is automatically closed when the given "
"number of users is reached and reopens the registry when the number drops " "number of users is reached and reopens the registry when the number drops "
@ -4346,168 +4352,168 @@ msgid ""
"not when the policy is set to approval." "not when the policy is set to approval."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:440 #: src/Module/Admin/Site.php:444
msgid "Maximum Daily Registrations" msgid "Maximum Daily Registrations"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:440 #: src/Module/Admin/Site.php:444
msgid "" msgid ""
"If registration is permitted above, this sets the maximum number of new user " "If registration is permitted above, this sets the maximum number of new user "
"registrations to accept per day. If register is set to closed, this setting " "registrations to accept per day. If register is set to closed, this setting "
"has no effect." "has no effect."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:441 #: src/Module/Admin/Site.php:445
msgid "Register text" msgid "Register text"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:441 #: src/Module/Admin/Site.php:445
msgid "" msgid ""
"Will be displayed prominently on the registration page. You can use BBCode " "Will be displayed prominently on the registration page. You can use BBCode "
"here." "here."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:442 #: src/Module/Admin/Site.php:446
msgid "Forbidden Nicknames" msgid "Forbidden Nicknames"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:442 #: src/Module/Admin/Site.php:446
msgid "" msgid ""
"Comma separated list of nicknames that are forbidden from registration. " "Comma separated list of nicknames that are forbidden from registration. "
"Preset is a list of role names according RFC 2142." "Preset is a list of role names according RFC 2142."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:443 #: src/Module/Admin/Site.php:447
msgid "Accounts abandoned after x days" msgid "Accounts abandoned after x days"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:443 #: src/Module/Admin/Site.php:447
msgid "" msgid ""
"Will not waste system resources polling external sites for abandonded " "Will not waste system resources polling external sites for abandonded "
"accounts. Enter 0 for no time limit." "accounts. Enter 0 for no time limit."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:444 #: src/Module/Admin/Site.php:448
msgid "Allowed friend domains" msgid "Allowed friend domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:444 #: src/Module/Admin/Site.php:448
msgid "" msgid ""
"Comma separated list of domains which are allowed to establish friendships " "Comma separated list of domains which are allowed to establish friendships "
"with this site. Wildcards are accepted. Empty to allow any domains" "with this site. Wildcards are accepted. Empty to allow any domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:445 #: src/Module/Admin/Site.php:449
msgid "Allowed email domains" msgid "Allowed email domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:445 #: src/Module/Admin/Site.php:449
msgid "" msgid ""
"Comma separated list of domains which are allowed in email addresses for " "Comma separated list of domains which are allowed in email addresses for "
"registrations to this site. Wildcards are accepted. Empty to allow any " "registrations to this site. Wildcards are accepted. Empty to allow any "
"domains" "domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:446 #: src/Module/Admin/Site.php:450
msgid "No OEmbed rich content" msgid "No OEmbed rich content"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:446 #: src/Module/Admin/Site.php:450
msgid "" msgid ""
"Don't show the rich content (e.g. embedded PDF), except from the domains " "Don't show the rich content (e.g. embedded PDF), except from the domains "
"listed below." "listed below."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:447 #: src/Module/Admin/Site.php:451
msgid "Trusted third-party domains" msgid "Trusted third-party domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:447 #: src/Module/Admin/Site.php:451
msgid "" msgid ""
"Comma separated list of domains from which content is allowed to be embedded " "Comma separated list of domains from which content is allowed to be embedded "
"in posts like with OEmbed. All sub-domains of the listed domains are allowed " "in posts like with OEmbed. All sub-domains of the listed domains are allowed "
"as well." "as well."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:448 #: src/Module/Admin/Site.php:452
msgid "Block public" msgid "Block public"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:448 #: src/Module/Admin/Site.php:452
msgid "" msgid ""
"Check to block public access to all otherwise public personal pages on this " "Check to block public access to all otherwise public personal pages on this "
"site unless you are currently logged in." "site unless you are currently logged in."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:449 #: src/Module/Admin/Site.php:453
msgid "Force publish" msgid "Force publish"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:449 #: src/Module/Admin/Site.php:453
msgid "" msgid ""
"Check to force all profiles on this site to be listed in the site directory." "Check to force all profiles on this site to be listed in the site directory."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:449 #: src/Module/Admin/Site.php:453
msgid "Enabling this may violate privacy laws like the GDPR" msgid "Enabling this may violate privacy laws like the GDPR"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:450 #: src/Module/Admin/Site.php:454
msgid "Global directory URL" msgid "Global directory URL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:450 #: src/Module/Admin/Site.php:454
msgid "" msgid ""
"URL to the global directory. If this is not set, the global directory is " "URL to the global directory. If this is not set, the global directory is "
"completely unavailable to the application." "completely unavailable to the application."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:451 #: src/Module/Admin/Site.php:455
msgid "Private posts by default for new users" msgid "Private posts by default for new users"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:451 #: src/Module/Admin/Site.php:455
msgid "" msgid ""
"Set default post permissions for all new members to the default privacy " "Set default post permissions for all new members to the default privacy "
"group rather than public." "group rather than public."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:452 #: src/Module/Admin/Site.php:456
msgid "Don't include post content in email notifications" msgid "Don't include post content in email notifications"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:452 #: src/Module/Admin/Site.php:456
msgid "" msgid ""
"Don't include the content of a post/comment/private message/etc. in the " "Don't include the content of a post/comment/private message/etc. in the "
"email notifications that are sent out from this site, as a privacy measure." "email notifications that are sent out from this site, as a privacy measure."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:453 #: src/Module/Admin/Site.php:457
msgid "Disallow public access to addons listed in the apps menu." msgid "Disallow public access to addons listed in the apps menu."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:453 #: src/Module/Admin/Site.php:457
msgid "" msgid ""
"Checking this box will restrict addons listed in the apps menu to members " "Checking this box will restrict addons listed in the apps menu to members "
"only." "only."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:454 #: src/Module/Admin/Site.php:458
msgid "Don't embed private images in posts" msgid "Don't embed private images in posts"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:454 #: src/Module/Admin/Site.php:458
msgid "" msgid ""
"Don't replace locally-hosted private photos in posts with an embedded copy " "Don't replace locally-hosted private photos in posts with an embedded copy "
"of the image. This means that contacts who receive posts containing private " "of the image. This means that contacts who receive posts containing private "
"photos will have to authenticate and load each image, which may take a while." "photos will have to authenticate and load each image, which may take a while."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:455 #: src/Module/Admin/Site.php:459
msgid "Explicit Content" msgid "Explicit Content"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:455 #: src/Module/Admin/Site.php:459
msgid "" msgid ""
"Set this to announce that your node is used mostly for explicit content that " "Set this to announce that your node is used mostly for explicit content that "
"might not be suited for minors. This information will be published in the " "might not be suited for minors. This information will be published in the "
@ -4516,267 +4522,267 @@ msgid ""
"will be shown at the user registration page." "will be shown at the user registration page."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:456 #: src/Module/Admin/Site.php:460
msgid "Proxify external content" msgid "Proxify external content"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:456 #: src/Module/Admin/Site.php:460
msgid "" msgid ""
"Route external content via the proxy functionality. This is used for example " "Route external content via the proxy functionality. This is used for example "
"for some OEmbed accesses and in some other rare cases." "for some OEmbed accesses and in some other rare cases."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:457 #: src/Module/Admin/Site.php:461
msgid "Cache contact avatars" msgid "Cache contact avatars"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:457 #: src/Module/Admin/Site.php:461
msgid "" msgid ""
"Locally store the avatar pictures of the contacts. This uses a lot of " "Locally store the avatar pictures of the contacts. This uses a lot of "
"storage space but it increases the performance." "storage space but it increases the performance."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:458 #: src/Module/Admin/Site.php:462
msgid "Allow Users to set remote_self" msgid "Allow Users to set remote_self"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:458 #: src/Module/Admin/Site.php:462
msgid "" msgid ""
"With checking this, every user is allowed to mark every contact as a " "With checking this, every user is allowed to mark every contact as a "
"remote_self in the repair contact dialog. Setting this flag on a contact " "remote_self in the repair contact dialog. Setting this flag on a contact "
"causes mirroring every posting of that contact in the users stream." "causes mirroring every posting of that contact in the users stream."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:459 #: src/Module/Admin/Site.php:463
msgid "Enable multiple registrations" msgid "Enable multiple registrations"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:459 #: src/Module/Admin/Site.php:463
msgid "Enable users to register additional accounts for use as pages." msgid "Enable users to register additional accounts for use as pages."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:460 #: src/Module/Admin/Site.php:464
msgid "Enable OpenID" msgid "Enable OpenID"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:460 #: src/Module/Admin/Site.php:464
msgid "Enable OpenID support for registration and logins." msgid "Enable OpenID support for registration and logins."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:461 #: src/Module/Admin/Site.php:465
msgid "Enable Fullname check" msgid "Enable Fullname check"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:461 #: src/Module/Admin/Site.php:465
msgid "" msgid ""
"Enable check to only allow users to register with a space between the first " "Enable check to only allow users to register with a space between the first "
"name and the last name in their full name." "name and the last name in their full name."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:462 #: src/Module/Admin/Site.php:466
msgid "Email administrators on new registration" msgid "Email administrators on new registration"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:462 #: src/Module/Admin/Site.php:466
msgid "" msgid ""
"If enabled and the system is set to an open registration, an email for each " "If enabled and the system is set to an open registration, an email for each "
"new registration is sent to the administrators." "new registration is sent to the administrators."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:463 #: src/Module/Admin/Site.php:467
msgid "Community pages for visitors" msgid "Community pages for visitors"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:463 #: src/Module/Admin/Site.php:467
msgid "" msgid ""
"Which community pages should be available for visitors. Local users always " "Which community pages should be available for visitors. Local users always "
"see both pages." "see both pages."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:464 #: src/Module/Admin/Site.php:468
msgid "Posts per user on community page" msgid "Posts per user on community page"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:464 #: src/Module/Admin/Site.php:468
msgid "" msgid ""
"The maximum number of posts per user on the community page. (Not valid for " "The maximum number of posts per user on the community page. (Not valid for "
"\"Global Community\")" "\"Global Community\")"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:466 #: src/Module/Admin/Site.php:470
msgid "Enable Mail support" msgid "Enable Mail support"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:466 #: src/Module/Admin/Site.php:470
msgid "" msgid ""
"Enable built-in mail support to poll IMAP folders and to reply via mail." "Enable built-in mail support to poll IMAP folders and to reply via mail."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:467 #: src/Module/Admin/Site.php:471
msgid "" msgid ""
"Mail support can't be enabled because the PHP IMAP module is not installed." "Mail support can't be enabled because the PHP IMAP module is not installed."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:468 #: src/Module/Admin/Site.php:472
msgid "Enable OStatus support" msgid "Enable OStatus support"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:468 #: src/Module/Admin/Site.php:472
msgid "" msgid ""
"Enable built-in OStatus (StatusNet, GNU Social etc.) compatibility. All " "Enable built-in OStatus (StatusNet, GNU Social etc.) compatibility. All "
"communications in OStatus are public." "communications in OStatus are public."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:470 #: src/Module/Admin/Site.php:474
msgid "" msgid ""
"Diaspora support can't be enabled because Friendica was installed into a sub " "Diaspora support can't be enabled because Friendica was installed into a sub "
"directory." "directory."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:471 #: src/Module/Admin/Site.php:475
msgid "Enable Diaspora support" msgid "Enable Diaspora support"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:471 #: src/Module/Admin/Site.php:475
msgid "" msgid ""
"Enable built-in Diaspora network compatibility for communicating with " "Enable built-in Diaspora network compatibility for communicating with "
"diaspora servers." "diaspora servers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:472 #: src/Module/Admin/Site.php:476
msgid "Verify SSL" msgid "Verify SSL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:472 #: src/Module/Admin/Site.php:476
msgid "" msgid ""
"If you wish, you can turn on strict certificate checking. This will mean you " "If you wish, you can turn on strict certificate checking. This will mean you "
"cannot connect (at all) to self-signed SSL sites." "cannot connect (at all) to self-signed SSL sites."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:473 #: src/Module/Admin/Site.php:477
msgid "Proxy user" msgid "Proxy user"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:473 #: src/Module/Admin/Site.php:477
msgid "User name for the proxy server." msgid "User name for the proxy server."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:474 #: src/Module/Admin/Site.php:478
msgid "Proxy URL" msgid "Proxy URL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:474 #: src/Module/Admin/Site.php:478
msgid "" msgid ""
"If you want to use a proxy server that Friendica should use to connect to " "If you want to use a proxy server that Friendica should use to connect to "
"the network, put the URL of the proxy here." "the network, put the URL of the proxy here."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:475 #: src/Module/Admin/Site.php:479
msgid "Network timeout" msgid "Network timeout"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:475 #: src/Module/Admin/Site.php:479
msgid "Value is in seconds. Set to 0 for unlimited (not recommended)." msgid "Value is in seconds. Set to 0 for unlimited (not recommended)."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:476 #: src/Module/Admin/Site.php:480
msgid "Maximum Load Average" msgid "Maximum Load Average"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:476 #: src/Module/Admin/Site.php:480
#, php-format #, php-format
msgid "" msgid ""
"Maximum system load before delivery and poll processes are deferred - " "Maximum system load before delivery and poll processes are deferred - "
"default %d." "default %d."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:477 #: src/Module/Admin/Site.php:481
msgid "Minimal Memory" msgid "Minimal Memory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:477 #: src/Module/Admin/Site.php:481
msgid "" msgid ""
"Minimal free memory in MB for the worker. Needs access to /proc/meminfo - " "Minimal free memory in MB for the worker. Needs access to /proc/meminfo - "
"default 0 (deactivated)." "default 0 (deactivated)."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:478 #: src/Module/Admin/Site.php:482
msgid "Periodically optimize tables" msgid "Periodically optimize tables"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:478 #: src/Module/Admin/Site.php:482
msgid "Periodically optimize tables like the cache and the workerqueue" msgid "Periodically optimize tables like the cache and the workerqueue"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:480 #: src/Module/Admin/Site.php:484
msgid "Discover followers/followings from contacts" msgid "Discover followers/followings from contacts"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:480 #: src/Module/Admin/Site.php:484
msgid "" msgid ""
"If enabled, contacts are checked for their followers and following contacts." "If enabled, contacts are checked for their followers and following contacts."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:481 #: src/Module/Admin/Site.php:485
msgid "None - deactivated" msgid "None - deactivated"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:482 #: src/Module/Admin/Site.php:486
msgid "" msgid ""
"Local contacts - contacts of our local contacts are discovered for their " "Local contacts - contacts of our local contacts are discovered for their "
"followers/followings." "followers/followings."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:483 #: src/Module/Admin/Site.php:487
msgid "" msgid ""
"Interactors - contacts of our local contacts and contacts who interacted on " "Interactors - contacts of our local contacts and contacts who interacted on "
"locally visible postings are discovered for their followers/followings." "locally visible postings are discovered for their followers/followings."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:485 #: src/Module/Admin/Site.php:489
msgid "Synchronize the contacts with the directory server" msgid "Synchronize the contacts with the directory server"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:485 #: src/Module/Admin/Site.php:489
msgid "" msgid ""
"if enabled, the system will check periodically for new contacts on the " "if enabled, the system will check periodically for new contacts on the "
"defined directory server." "defined directory server."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:487 #: src/Module/Admin/Site.php:491
msgid "Days between requery" msgid "Days between requery"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:487 #: src/Module/Admin/Site.php:491
msgid "Number of days after which a server is requeried for his contacts." msgid "Number of days after which a server is requeried for his contacts."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:488 #: src/Module/Admin/Site.php:492
msgid "Discover contacts from other servers" msgid "Discover contacts from other servers"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:488 #: src/Module/Admin/Site.php:492
msgid "" msgid ""
"Periodically query other servers for contacts. The system queries Friendica, " "Periodically query other servers for contacts. The system queries Friendica, "
"Mastodon and Hubzilla servers." "Mastodon and Hubzilla servers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:489 #: src/Module/Admin/Site.php:493
msgid "Search the local directory" msgid "Search the local directory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:489 #: src/Module/Admin/Site.php:493
msgid "" msgid ""
"Search the local directory instead of the global directory. When searching " "Search the local directory instead of the global directory. When searching "
"locally, every search will be executed on the global directory in the " "locally, every search will be executed on the global directory in the "
"background. This improves the search results when the search is repeated." "background. This improves the search results when the search is repeated."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:491 #: src/Module/Admin/Site.php:495
msgid "Publish server information" msgid "Publish server information"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:491 #: src/Module/Admin/Site.php:495
msgid "" msgid ""
"If enabled, general server and usage data will be published. The data " "If enabled, general server and usage data will be published. The data "
"contains the name and version of the server, number of users with public " "contains the name and version of the server, number of users with public "
@ -4784,50 +4790,50 @@ msgid ""
"href=\"http://the-federation.info/\">the-federation.info</a> for details." "href=\"http://the-federation.info/\">the-federation.info</a> for details."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:493 #: src/Module/Admin/Site.php:497
msgid "Check upstream version" msgid "Check upstream version"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:493 #: src/Module/Admin/Site.php:497
msgid "" msgid ""
"Enables checking for new Friendica versions at github. If there is a new " "Enables checking for new Friendica versions at github. If there is a new "
"version, you will be informed in the admin panel overview." "version, you will be informed in the admin panel overview."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:494 #: src/Module/Admin/Site.php:498
msgid "Suppress Tags" msgid "Suppress Tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:494 #: src/Module/Admin/Site.php:498
msgid "Suppress showing a list of hashtags at the end of the posting." msgid "Suppress showing a list of hashtags at the end of the posting."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:495 #: src/Module/Admin/Site.php:499
msgid "Clean database" msgid "Clean database"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:495 #: src/Module/Admin/Site.php:499
msgid "" msgid ""
"Remove old remote items, orphaned database records and old content from some " "Remove old remote items, orphaned database records and old content from some "
"other helper tables." "other helper tables."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:496 #: src/Module/Admin/Site.php:500
msgid "Lifespan of remote items" msgid "Lifespan of remote items"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:496 #: src/Module/Admin/Site.php:500
msgid "" msgid ""
"When the database cleanup is enabled, this defines the days after which " "When the database cleanup is enabled, this defines the days after which "
"remote items will be deleted. Own items, and marked or filed items are " "remote items will be deleted. Own items, and marked or filed items are "
"always kept. 0 disables this behaviour." "always kept. 0 disables this behaviour."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:497 #: src/Module/Admin/Site.php:501
msgid "Lifespan of unclaimed items" msgid "Lifespan of unclaimed items"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:497 #: src/Module/Admin/Site.php:501
msgid "" msgid ""
"When the database cleanup is enabled, this defines the days after which " "When the database cleanup is enabled, this defines the days after which "
"unclaimed remote items (mostly content from the relay) will be deleted. " "unclaimed remote items (mostly content from the relay) will be deleted. "
@ -4835,144 +4841,144 @@ msgid ""
"items if set to 0." "items if set to 0."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:498 #: src/Module/Admin/Site.php:502
msgid "Lifespan of raw conversation data" msgid "Lifespan of raw conversation data"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:498 #: src/Module/Admin/Site.php:502
msgid "" msgid ""
"The conversation data is used for ActivityPub and OStatus, as well as for " "The conversation data is used for ActivityPub and OStatus, as well as for "
"debug purposes. It should be safe to remove it after 14 days, default is 90 " "debug purposes. It should be safe to remove it after 14 days, default is 90 "
"days." "days."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:499 #: src/Module/Admin/Site.php:503
msgid "Maximum numbers of comments per post" msgid "Maximum numbers of comments per post"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:499 #: src/Module/Admin/Site.php:503
msgid "How much comments should be shown for each post? Default value is 100." msgid "How much comments should be shown for each post? Default value is 100."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:500 #: src/Module/Admin/Site.php:504
msgid "Maximum numbers of comments per post on the display page" msgid "Maximum numbers of comments per post on the display page"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:500 #: src/Module/Admin/Site.php:504
msgid "" msgid ""
"How many comments should be shown on the single view for each post? Default " "How many comments should be shown on the single view for each post? Default "
"value is 1000." "value is 1000."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:501 #: src/Module/Admin/Site.php:505
msgid "Temp path" msgid "Temp path"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:501 #: src/Module/Admin/Site.php:505
msgid "" msgid ""
"If you have a restricted system where the webserver can't access the system " "If you have a restricted system where the webserver can't access the system "
"temp path, enter another path here." "temp path, enter another path here."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:502 #: src/Module/Admin/Site.php:506
msgid "Only search in tags" msgid "Only search in tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:502 #: src/Module/Admin/Site.php:506
msgid "On large systems the text search can slow down the system extremely." msgid "On large systems the text search can slow down the system extremely."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:503 #: src/Module/Admin/Site.php:507
msgid "Generate counts per contact group when calculating network count" msgid "Generate counts per contact group when calculating network count"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:503 #: src/Module/Admin/Site.php:507
msgid "" msgid ""
"On systems with users that heavily use contact groups the query can be very " "On systems with users that heavily use contact groups the query can be very "
"expensive." "expensive."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:505 #: src/Module/Admin/Site.php:509
msgid "Maximum number of parallel workers" msgid "Maximum number of parallel workers"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:505 #: src/Module/Admin/Site.php:509
#, php-format #, php-format
msgid "" msgid ""
"On shared hosters set this to %d. On larger systems, values of %d are great. " "On shared hosters set this to %d. On larger systems, values of %d are great. "
"Default value is %d." "Default value is %d."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:506 #: src/Module/Admin/Site.php:510
msgid "Enable fastlane" msgid "Enable fastlane"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:506 #: src/Module/Admin/Site.php:510
msgid "" msgid ""
"When enabed, the fastlane mechanism starts an additional worker if processes " "When enabed, the fastlane mechanism starts an additional worker if processes "
"with higher priority are blocked by processes of lower priority." "with higher priority are blocked by processes of lower priority."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:508 #: src/Module/Admin/Site.php:512
msgid "Direct relay transfer" msgid "Direct relay transfer"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:508 #: src/Module/Admin/Site.php:512
msgid "" msgid ""
"Enables the direct transfer to other servers without using the relay servers" "Enables the direct transfer to other servers without using the relay servers"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 #: src/Module/Admin/Site.php:513
msgid "Relay scope" msgid "Relay scope"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 #: src/Module/Admin/Site.php:513
msgid "" msgid ""
"Can be \"all\" or \"tags\". \"all\" means that every public post should be " "Can be \"all\" or \"tags\". \"all\" means that every public post should be "
"received. \"tags\" means that only posts with selected tags should be " "received. \"tags\" means that only posts with selected tags should be "
"received." "received."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 src/Module/Contact/Profile.php:286 #: src/Module/Admin/Site.php:513 src/Module/Contact/Profile.php:286
#: src/Module/Settings/TwoFactor/Index.php:125 #: src/Module/Settings/TwoFactor/Index.php:125
msgid "Disabled" msgid "Disabled"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 #: src/Module/Admin/Site.php:513
msgid "all" msgid "all"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 #: src/Module/Admin/Site.php:513
msgid "tags" msgid "tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:510 #: src/Module/Admin/Site.php:514
msgid "Server tags" msgid "Server tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:510 #: src/Module/Admin/Site.php:514
msgid "Comma separated list of tags for the \"tags\" subscription." msgid "Comma separated list of tags for the \"tags\" subscription."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:511 #: src/Module/Admin/Site.php:515
msgid "Deny Server tags" msgid "Deny Server tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:511 #: src/Module/Admin/Site.php:515
msgid "Comma separated list of tags that are rejected." msgid "Comma separated list of tags that are rejected."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:512 #: src/Module/Admin/Site.php:516
msgid "Allow user tags" msgid "Allow user tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:512 #: src/Module/Admin/Site.php:516
msgid "" msgid ""
"If enabled, the tags from the saved searches will used for the \"tags\" " "If enabled, the tags from the saved searches will used for the \"tags\" "
"subscription in addition to the \"relay_server_tags\"." "subscription in addition to the \"relay_server_tags\"."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:515 #: src/Module/Admin/Site.php:519
msgid "Start Relocation" msgid "Start Relocation"
msgstr "" msgstr ""
@ -5019,6 +5025,12 @@ msgid "This backend doesn't have custom settings"
msgstr "" msgstr ""
#: src/Module/Admin/Storage.php:148 #: src/Module/Admin/Storage.php:148
msgid ""
"Changing the current backend is prohibited because it is set by an "
"environment variable"
msgstr ""
#: src/Module/Admin/Storage.php:150
msgid "Database (legacy)" msgid "Database (legacy)"
msgstr "" msgstr ""

View file

@ -2,6 +2,7 @@
<h1>{{$title}} - {{$page}}</h1> <h1>{{$title}} - {{$page}}</h1>
<h2>{{$label_current}}: <b>{{$storagebackend}}</b></h2> <h2>{{$label_current}}: <b>{{$storagebackend}}</b></h2>
{{$storagebackend_ro_txt nofilter}}
<h2>{{$label_config}}</h2> <h2>{{$label_config}}</h2>
@ -19,12 +20,14 @@
{{if $storage.form}} {{if $storage.form}}
<input type="submit" name="submit_save" value="{{$save}}"/> <input type="submit" name="submit_save" value="{{$save}}"/>
{{if $storage.active}} {{if $is_writable}}
{{if $storage.active}}
<input type="submit" name="submit_save_set" value="{{$save_reload}}"/> <input type="submit" name="submit_save_set" value="{{$save_reload}}"/>
{{else}} {{else}}
<input type="submit" name="submit_save_set" value="{{$save_use}}"/> <input type="submit" name="submit_save_set" value="{{$save_use}}"/>
{{/if}}
{{/if}} {{/if}}
{{else}} {{elseif $is_writable}}
<br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/> <br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
{{/if}} {{/if}}
</form> </form>

View file

@ -1,7 +1,7 @@
<div class="field select"> <div class="field select">
<label for="id_{{$field.0}}">{{$field.1}}</label> <label for="id_{{$field.0}}">{{$field.1}}</label>
<select name="{{$field.0}}" id="id_{{$field.0}}" aria-describedby="{{$field.0}}_tip"> <select name="{{$field.0}}" id="id_{{$field.0}}" aria-describedby="{{$field.0}}_tip" {{$field.5 nofilter}}>
{{foreach $field.4 as $opt=>$val}} {{foreach $field.4 as $opt=>$val}}
<option value="{{$opt}}" dir="auto"{{if $opt==$field.2}} selected="selected"{{/if}}>{{$val}}</option> <option value="{{$opt}}" dir="auto"{{if $opt==$field.2}} selected="selected"{{/if}}>{{$val}}</option>
{{/foreach}} {{/foreach}}

View file

@ -5,6 +5,9 @@
<div class="well well-lg"> <div class="well well-lg">
{{$label_current}}: <b>{{$storagebackend}}</b> {{$label_current}}: <b>{{$storagebackend}}</b>
{{if $storagebackend_ro_txt}}
<br><i>{{$storagebackend_ro_txt nofilter}}</i>
{{/if}}
</div> </div>
<h2>{{$label_config}}</h2> <h2>{{$label_config}}</h2>
@ -33,12 +36,14 @@
<div class="panel-footer"> <div class="panel-footer">
{{if $storage.form}} {{if $storage.form}}
<input type="submit" name="submit_save" class="btn btn-primary" value="{{$save}}"/> <input type="submit" name="submit_save" class="btn btn-primary" value="{{$save}}"/>
{{if $storage.active}} {{if $is_writable}}
{{if $storage.active}}
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_reload}}"/> <input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_reload}}"/>
{{else}} {{else}}
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_use}}"/> <input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_use}}"/>
{{/if}}
{{/if}} {{/if}}
{{else}} {{elseif $is_writable}}
<input type="submit" name="submit_save_set" class="btn btn-primary" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/> <input type="submit" name="submit_save_set" class="btn btn-primary" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
{{/if}} {{/if}}
</div> </div>

View file

@ -1,7 +1,7 @@
<div class="form-group field select"> <div class="form-group field select">
<label for="id_{{$field.0}}">{{$field.1}}</label> <label for="id_{{$field.0}}">{{$field.1}}</label>
<select name="{{$field.0}}" id="id_{{$field.0}}" class="form-control" aria-describedby="{{$field.0}}_tip"> <select name="{{$field.0}}" id="id_{{$field.0}}" class="form-control" aria-describedby="{{$field.0}}_tip" {{$field.5 nofilter}}>
{{foreach $field.4 as $opt=>$val}} {{foreach $field.4 as $opt=>$val}}
<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option> <option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>
{{/foreach}} {{/foreach}}