Skip to content

Commit 08da081

Browse files
authored
[5.4] configurated (joomla#45706)
Corrects the spelling of the 2 language keys *CONFIGURATED*.
1 parent 2eddaf4 commit 08da081

File tree

2 files changed

+27
-24
lines changed

2 files changed

+27
-24
lines changed
Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
; Joomla! Project
2-
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
3-
; License GNU General Public License version 2 or later; see LICENSE.txt
4-
; Note : All ini files need to be saved as UTF-8
5-
6-
PLG_SYSTEM_SCHEMAORG="System - Schema.org"
7-
PLG_SYSTEM_SCHEMAORG_BASETYPE_DESCRIPTION="Choose whether your website represents an organization or a single person."
8-
PLG_SYSTEM_SCHEMAORG_BASETYPE_LABEL="Base Type"
9-
PLG_SYSTEM_SCHEMAORG_BASETYPE_OPTION_ORGANIZATION="Organization"
10-
PLG_SYSTEM_SCHEMAORG_BASETYPE_OPTION_PERSON="Person"
11-
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION="Structured data is a standardised format for organising and representing information on the web. It provides a way to describe the content and meaning of data in a structured manner, making it easier for search engines and other applications to understand and process the information. <a href=\"https://schema.org\" target=\"_blank\" rel=\"noopener noreferrer\">More information on schema.org</a>."
12-
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED="To use the schema.org functionality, you have to configure the plugin first. Please contact an administrator of the page to get it configured."
13-
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED_ADMIN="To use the schema.org functionality, you have to configure the plugin first. Please select <a href=\"index.php?option=com_plugins&amp;task=plugin.edit&amp;extension_id=%s\" target=\"_blank\">this link to open the plugin</a>, configure and save."
14-
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_EXTEND_JED_DESC="<strong>Need more Schema types?</strong> Extend with <a href=\"https://extensions.joomla.org/category/core-enhancements/schema-plugins\" target=\"_blank\" rel=\"noopener noreferrer\">Schema Plugins from Joomla! Extension Directory</a>."
15-
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_LABEL="Schema"
16-
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_TYPE_LABEL="Schema Type"
17-
PLG_SYSTEM_SCHEMAORG_IMAGE_LABEL="Image"
18-
PLG_SYSTEM_SCHEMAORG_NAME_LABEL="Name"
19-
PLG_SYSTEM_SCHEMAORG_SOCIALMEDIA_LABEL="Social Media Accounts"
20-
PLG_SYSTEM_SCHEMAORG_SOCIALMEDIA_URL_LABEL="URL"
21-
PLG_SYSTEM_SCHEMAORG_USER_LABEL="Select User"
22-
PLG_SYSTEM_SCHEMAORG_XML_DESCRIPTION="Adds custom form field in article view and then injects that data in JSON+LD format in the head tag of that particular article."
1+
; Joomla! Project
2+
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
3+
; License GNU General Public License version 2 or later; see LICENSE.txt
4+
; Note : All ini files need to be saved as UTF-8
5+
6+
PLG_SYSTEM_SCHEMAORG="System - Schema.org"
7+
PLG_SYSTEM_SCHEMAORG_BASETYPE_DESCRIPTION="Choose whether your website represents an organization or a single person."
8+
PLG_SYSTEM_SCHEMAORG_BASETYPE_LABEL="Base Type"
9+
PLG_SYSTEM_SCHEMAORG_BASETYPE_OPTION_ORGANIZATION="Organization"
10+
PLG_SYSTEM_SCHEMAORG_BASETYPE_OPTION_PERSON="Person"
11+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION="Structured data is a standardised format for organising and representing information on the web. It provides a way to describe the content and meaning of data in a structured manner, making it easier for search engines and other applications to understand and process the information. <a href=\"https://schema.org\" target=\"_blank\" rel=\"noopener noreferrer\">More information on schema.org</a>."
12+
; The following two strings are deprecated and will be removed with 6.0
13+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED="To use the schema.org functionality, you have to configure the plugin first. Please contact an administrator of the page to get it configured."
14+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED_ADMIN="To use the schema.org functionality, you have to configure the plugin first. Please select <a href=\"index.php?option=com_plugins&amp;task=plugin.edit&amp;extension_id=%s\" target=\"_blank\">this link to open the plugin</a>, configure and save."
15+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURED="To use the schema.org functionality, you have to configure the plugin first. Please contact an administrator of the page to get it configured."
16+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURED_ADMIN="To use the schema.org functionality, you have to configure the plugin first. Please select <a href=\"index.php?option=com_plugins&amp;task=plugin.edit&amp;extension_id=%s\" target=\"_blank\">this link to open the plugin</a>, configure and save."
17+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_EXTEND_JED_DESC="<strong>Need more Schema types?</strong> Extend with <a href=\"https://extensions.joomla.org/category/core-enhancements/schema-plugins\" target=\"_blank\" rel=\"noopener noreferrer\">Schema Plugins from Joomla! Extension Directory</a>."
18+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_LABEL="Schema"
19+
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_TYPE_LABEL="Schema Type"
20+
PLG_SYSTEM_SCHEMAORG_IMAGE_LABEL="Image"
21+
PLG_SYSTEM_SCHEMAORG_NAME_LABEL="Name"
22+
PLG_SYSTEM_SCHEMAORG_SOCIALMEDIA_LABEL="Social Media Accounts"
23+
PLG_SYSTEM_SCHEMAORG_SOCIALMEDIA_URL_LABEL="URL"
24+
PLG_SYSTEM_SCHEMAORG_USER_LABEL="Select User"
25+
PLG_SYSTEM_SCHEMAORG_XML_DESCRIPTION="Adds custom form field in article view and then injects that data in JSON+LD format in the head tag of that particular article."

plugins/system/schemaorg/src/Extension/Schemaorg.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ public function onContentPrepareForm(Model\PrepareFormEvent $event)
159159

160160
$user = $this->getApplication()->getIdentity();
161161

162-
$infoText = Text::_('PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED');
162+
$infoText = Text::_('PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURED');
163163

164164
// If edit permission are available, offer a link
165165
if ($user->authorise('core.edit', 'com_plugins')) {
166-
$infoText = Text::sprintf('PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED_ADMIN', (int) $plugin->id);
166+
$infoText = Text::sprintf('PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURED_ADMIN', (int) $plugin->id);
167167
}
168168

169169
$form->setFieldAttribute('schemainfo', 'description', $infoText, 'schema');

0 commit comments

Comments
 (0)