Typo in compiler #54

Closed
opened 2017-03-16 22:21:35 +00:00 by mwweb · 1 comment
mwweb commented 2017-03-16 22:21:35 +00:00 (Migrated from github.com)

It was pointed out to me by a partner that there is a typo in the compiler, which is compiling "catagory" rather than "category". This then shows the typo on the dashboard, and in the language files.

It looks like the use of "catagory" is in 2 files in the compiler, and possibly 3 locations within e_Interpretation.php

administrators/components/com_componentbuilder/helpers/compiler/e_Interpretation.php (3 hits)
administrators/components/com_componentbuilder/script.php (52 hits)

e_Interpretation.php

Line 3694:
$dbStuff[$view.' catagory'] = $this->getCategoryContentType($view, $views, $component);

Line 9634:
$allow[] = "\t\t\t\t//".$this->setLine(LINE)." set catagory id";

Proper spelling would be "set category id"

Line 11151:
$langName = 'Catagory  For
'.ComponentbuilderHelper::safeString($otherViews, 'W');

It was pointed out to me by a partner that there is a typo in the compiler, which is compiling "catagory" rather than "category". This then shows the typo on the dashboard, and in the language files. It looks like the use of "catagory" is in 2 files in the compiler, and possibly 3 locations within e_Interpretation.php administrators/components/com_componentbuilder/helpers/compiler/e_Interpretation.php (3 hits) administrators/components/com_componentbuilder/script.php (52 hits) e_Interpretation.php Line 3694: $dbStuff[$view.' catagory'] = $this->getCategoryContentType($view, $views, $component); Line 9634: $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." set catagory id"; Proper spelling would be "set category id" Line 11151: $langName = 'Catagory &nbsp;For<br />'.ComponentbuilderHelper::safeString($otherViews, 'W');

Thanks, I am terrible with spelling... strange as that is.

Thanks, I am terrible with spelling... strange as that is.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#54
No description provided.