JoomlaPolska / jezyk-J4

Język polski dla Joomla 4
GNU General Public License v2.0
3 stars 5 forks source link

[5.1] Adding notice to global configuration for additional options in SEF plugin #462

Closed joomlapl-bot closed 7 months ago

joomlapl-bot commented 8 months ago

PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/42832 Poniżej zmiany w oryginale:

Click to expand the diff! ```diff diff --git a/administrator/components/com_config/tmpl/application/default_cache.php b/administrator/components/com_config/tmpl/application/default_cache.php index 621f93e66383d..387e0a01f45d1 100644 --- a/administrator/components/com_config/tmpl/application/default_cache.php +++ b/administrator/components/com_config/tmpl/application/default_cache.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_CACHE_SETTINGS'); +$this->description = ''; $this->fieldsname = 'cache'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_cookie.php b/administrator/components/com_config/tmpl/application/default_cookie.php index f4a36c58adbb2..4b868fa97b0e1 100644 --- a/administrator/components/com_config/tmpl/application/default_cookie.php +++ b/administrator/components/com_config/tmpl/application/default_cookie.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_COOKIE_SETTINGS'); +$this->description = ''; $this->fieldsname = 'cookie'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_database.php b/administrator/components/com_config/tmpl/application/default_database.php index fd1c100f6b0d1..ded72b9faec72 100644 --- a/administrator/components/com_config/tmpl/application/default_database.php +++ b/administrator/components/com_config/tmpl/application/default_database.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_DATABASE_SETTINGS'); +$this->description = ''; $this->fieldsname = 'database'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_debug.php b/administrator/components/com_config/tmpl/application/default_debug.php index 1084473a15c26..3e0bf4f40a662 100644 --- a/administrator/components/com_config/tmpl/application/default_debug.php +++ b/administrator/components/com_config/tmpl/application/default_debug.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_DEBUG_SETTINGS'); +$this->description = ''; $this->fieldsname = 'debug'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_filters.php b/administrator/components/com_config/tmpl/application/default_filters.php index 55332781522d5..d5865d8a3c489 100644 --- a/administrator/components/com_config/tmpl/application/default_filters.php +++ b/administrator/components/com_config/tmpl/application/default_filters.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_TEXT_FILTER_SETTINGS'); +$this->description = ''; $this->fieldsname = 'filters'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_locale.php b/administrator/components/com_config/tmpl/application/default_locale.php index cc7aa3c47da7b..291e98cb72290 100644 --- a/administrator/components/com_config/tmpl/application/default_locale.php +++ b/administrator/components/com_config/tmpl/application/default_locale.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_LOCATION_SETTINGS'); +$this->description = ''; $this->fieldsname = 'locale'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_logging.php b/administrator/components/com_config/tmpl/application/default_logging.php index cf6aff84af017..1ba2a13dc5aec 100644 --- a/administrator/components/com_config/tmpl/application/default_logging.php +++ b/administrator/components/com_config/tmpl/application/default_logging.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_LOGGING_SETTINGS'); +$this->description = ''; $this->fieldsname = 'logging'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_logging_custom.php b/administrator/components/com_config/tmpl/application/default_logging_custom.php index dde9585e53f0e..2c1c0c1d159a0 100644 --- a/administrator/components/com_config/tmpl/application/default_logging_custom.php +++ b/administrator/components/com_config/tmpl/application/default_logging_custom.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_LOGGING_CUSTOM_SETTINGS'); +$this->description = ''; $this->fieldsname = 'logging_custom'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_mail.php b/administrator/components/com_config/tmpl/application/default_mail.php index 9597490fea5fc..6c1141c799287 100644 --- a/administrator/components/com_config/tmpl/application/default_mail.php +++ b/administrator/components/com_config/tmpl/application/default_mail.php @@ -36,6 +36,7 @@ $ajaxUri = Route::_('index.php?option=com_config&task=application.sendtestmail&format=json'); $this->name = Text::_('COM_CONFIG_MAIL_SETTINGS'); +$this->description = ''; $this->fieldsname = 'mail'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_metadata.php b/administrator/components/com_config/tmpl/application/default_metadata.php index 75f9eeb1fea93..1fc172039cd53 100644 --- a/administrator/components/com_config/tmpl/application/default_metadata.php +++ b/administrator/components/com_config/tmpl/application/default_metadata.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_METADATA_SETTINGS'); +$this->description = ''; $this->fieldsname = 'metadata'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_proxy.php b/administrator/components/com_config/tmpl/application/default_proxy.php index 8b2c578a21bd9..2c149ef97aaa6 100644 --- a/administrator/components/com_config/tmpl/application/default_proxy.php +++ b/administrator/components/com_config/tmpl/application/default_proxy.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_PROXY_SETTINGS'); +$this->description = ''; $this->fieldsname = 'proxy'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_seo.php b/administrator/components/com_config/tmpl/application/default_seo.php index 549a071f01b8a..e69c505fc0e19 100644 --- a/administrator/components/com_config/tmpl/application/default_seo.php +++ b/administrator/components/com_config/tmpl/application/default_seo.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_SEO_SETTINGS'); +$this->description = Text::_('COM_CONFIG_SEO_SETTINGS_DESC'); $this->fieldsname = 'seo'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_server.php b/administrator/components/com_config/tmpl/application/default_server.php index e69840fa1cc20..18faf3903d846 100644 --- a/administrator/components/com_config/tmpl/application/default_server.php +++ b/administrator/components/com_config/tmpl/application/default_server.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_SERVER_SETTINGS'); +$this->description = ''; $this->fieldsname = 'server'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_session.php b/administrator/components/com_config/tmpl/application/default_session.php index 2b6f4029f4962..82fdc7cc10b27 100644 --- a/administrator/components/com_config/tmpl/application/default_session.php +++ b/administrator/components/com_config/tmpl/application/default_session.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_SESSION_SETTINGS'); +$this->description = ''; $this->fieldsname = 'session'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_site.php b/administrator/components/com_config/tmpl/application/default_site.php index 8bca197db1de0..d51f531c134b5 100644 --- a/administrator/components/com_config/tmpl/application/default_site.php +++ b/administrator/components/com_config/tmpl/application/default_site.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_SITE_SETTINGS'); +$this->description = ''; $this->fieldsname = 'site'; $this->formclass = 'options-form'; diff --git a/administrator/components/com_config/tmpl/application/default_webservices.php b/administrator/components/com_config/tmpl/application/default_webservices.php index d81820ced24f3..d4bf51321861c 100644 --- a/administrator/components/com_config/tmpl/application/default_webservices.php +++ b/administrator/components/com_config/tmpl/application/default_webservices.php @@ -14,6 +14,7 @@ defined('_JEXEC') or die; $this->name = Text::_('COM_CONFIG_WEBSERVICES_SETTINGS'); +$this->description = ''; $this->fieldsname = 'webservices'; $this->formclass = 'options-form'; diff --git a/administrator/language/en-GB/com_config.ini b/administrator/language/en-GB/com_config.ini index c4c0b646d8268..5e3b1d1c1fc07 100644 --- a/administrator/language/en-GB/com_config.ini +++ b/administrator/language/en-GB/com_config.ini @@ -239,6 +239,7 @@ COM_CONFIG_SENDMAIL_METHOD_SMTP="SMTP" COM_CONFIG_SENDMAIL_SUBJECT="Test mail from {SITENAME}" COM_CONFIG_SENDMAIL_SUCCESS="The email was sent to %s using %s. You should check that you've received the test email." COM_CONFIG_SENDMAIL_SUCCESS_FALLBACK="The email was sent to %s but using %s as fallback. You should check that you've received the test email." +COM_CONFIG_SEO_SETTINGS_DESC="Additional settings can be found in the \"System - SEF\" plugin." COM_CONFIG_SEO_SETTINGS="SEO" COM_CONFIG_SERVER="Server" COM_CONFIG_SERVER_SETTINGS="Server" diff --git a/layouts/joomla/content/options_default.php b/layouts/joomla/content/options_default.php index 9d0981f495d53..71c903995f58a 100644 --- a/layouts/joomla/content/options_default.php +++ b/layouts/joomla/content/options_default.php @@ -12,6 +12,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\Form\FormHelper; +use Joomla\CMS\Language\Text; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); @@ -21,7 +22,10 @@
name; ?> description)) : ?> -

description; ?>

+
+ + description; ?> +
fieldsname); ?>
```
zwiastunsw commented 7 months ago

język - rozwiązane w 5.0.3