Typo fixes

This commit is contained in:
Tom van der Laan 2021-05-04 22:34:23 +02:00
parent 48d9265983
commit 28c404f4cd
4 changed files with 6 additions and 6 deletions

View File

@ -2099,12 +2099,12 @@ class Structure extends Get
// set message that this was done (will still add a tutorial link later)
$this->app->enqueueMessage(
JText::_(
'<hr /><h3>Dynamic folder/s were detected.</h3>'
'<hr /><h3>Dynamic folders were detected.</h3>'
), 'Notice'
);
$this->app->enqueueMessage(
JText::sprintf(
'A method (setDynamicF0ld3rs) was added to the install <b>script.php</b> of this package to insure that the folder/s are copied into the correct place when this componet is installed!'
'A method (setDynamicF0ld3rs) was added to the install <b>script.php</b> of this package to insure that the folders are copied into the correct place when this component is installed!'
), 'Notice'
);
}

View File

@ -6135,7 +6135,7 @@ class Fields extends Structure
{
$fieldData['component'] = $local_component;
}
// check that the componet has the com_ value in it
// check that the component has the com_ value in it
if (strpos($fieldData['component'], 'com_') === false
|| strpos(
$fieldData['component'], '='

View File

@ -184,9 +184,9 @@ class ComponentbuilderViewCompiler extends JViewLegacy
$options = array();
$options[''] = 'COM_COMPONENTBUILDER__SELECT_COMPONENT_';
// load component options from array
foreach($this->Components as $componet)
foreach($this->Components as $component)
{
$options[(int) $componet->id] = $this->escape($componet->name);
$options[(int) $component->id] = $this->escape($component->name);
}
// add to form
$form[] = ComponentbuilderHelper::getFieldObject($attributes, '', $options);

View File

@ -1113,7 +1113,7 @@ abstract class ComponentbuilderHelper
{
// we must first store the current woking directory
$joomla = getcwd();
// we are changing the working directory to the componet path
// we are changing the working directory to the component path
chdir($folder);
// make sure we have file type filter
if (self::checkArray($fileTypes))