Keeping naming consistency resolved gh-265. Started adding the needed features for the new translation improvment gh-261

This commit is contained in:
2018-04-15 22:21:34 +02:00
parent 4e7d4af1d3
commit dfff74989e
11 changed files with 181 additions and 26 deletions

View File

@ -148,6 +148,11 @@ class ComponentbuilderViewLanguages extends JViewLegacy
{
JToolBarHelper::custom('languages.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true);
}
}
if ($this->user->authorise('language.build', 'com_componentbuilder'))
{
// add Build button.
JToolBarHelper::custom('languages.buildLanguages', 'joomla', '', 'COM_COMPONENTBUILDER_BUILD', false);
}
if ($this->canDo->get('core.import') && $this->canDo->get('language.import'))