Skip to content

[4.0] Private Messages: Add legend in Configuration Form #1714

@jgerman-bot

Description

@jgerman-bot

New language relevant PR in upstream repo: joomla/joomla-cms#33442 Here are the upstream changes:

Click to expand the diff!
diff --git a/administrator/components/com_messages/tmpl/config/default.php b/administrator/components/com_messages/tmpl/config/default.php
index e3b69c47a0edb..51d802f6a1e1a 100644
--- a/administrator/components/com_messages/tmpl/config/default.php
+++ b/administrator/components/com_messages/tmpl/config/default.php
@@ -10,6 +10,7 @@
 defined('_JEXEC') or die;
 
 use Joomla\CMS\HTML\HTMLHelper;
+use Joomla\CMS\Language\Text;
 use Joomla\CMS\Router\Route;
 
 HTMLHelper::_('behavior.formvalidator');
@@ -20,9 +21,12 @@
 	<div class="form-grid">
 		<div class="card">
 			<div class="card-body">
-				<?php echo $this->form->renderField('lock'); ?>
-				<?php echo $this->form->renderField('mail_on_new'); ?>
-				<?php echo $this->form->renderField('auto_purge'); ?>
+				<fieldset class="options-form">
+					<legend><?php echo Text::_('COM_MESSAGES_CONFIG_FORM'); ?></legend>
+					<?php echo $this->form->renderField('lock'); ?>
+					<?php echo $this->form->renderField('mail_on_new'); ?>
+					<?php echo $this->form->renderField('auto_purge'); ?>
+				</fieldset>
 			</div>
 		</div>
 	</div>
diff --git a/administrator/language/en-GB/com_messages.ini b/administrator/language/en-GB/com_messages.ini
index 3d52cc044cc4e..37a4b5a0c60ec 100644
--- a/administrator/language/en-GB/com_messages.ini
+++ b/administrator/language/en-GB/com_messages.ini
@@ -5,8 +5,8 @@
 
 COM_MESSAGES="Messaging"
 COM_MESSAGES_ADD="New Private Message"
+COM_MESSAGES_CONFIG_FORM="My Settings"
 COM_MESSAGES_CONFIG_SAVED="Configuration saved."
-COM_MESSAGES_CONFIGURATION="Messages: Options"
 COM_MESSAGES_EMPTYSTATE_BUTTON_ADD="Send a message"
 COM_MESSAGES_EMPTYSTATE_CONTENT="Send messages to other administrators on your site and read their replies."
 COM_MESSAGES_EMPTYSTATE_TITLE="There are no messages for you in your inbox."

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions