added the translation to the component view, also adding lang tags of ready translated languages

This commit is contained in:
dev
2017-04-05 17:26:17 +01:00
parent 1b3cb2bfdd
commit 2caaa1a1e3
69 changed files with 857 additions and 560 deletions

View File

@ -9,7 +9,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 314 of this MVC
@version @update number 318 of this MVC
@build 5th April, 2017
@created 6th May, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 314 of this MVC
@version @update number 318 of this MVC
@build 5th April, 2017
@created 6th May, 2015
@package Component Builder
@ -181,6 +181,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php if ($this->canDo->get('language_translation.access')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'translation', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.translation_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>
<?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'publishing', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PUBLISHING', true)); ?>
<div class="row-fluid form-horizontal-desktop">

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 314 of this MVC
@version @update number 318 of this MVC
@build 5th April, 2017
@created 6th May, 2015
@package Component Builder
@ -77,7 +77,10 @@ class ComponentbuilderViewJoomla_component extends JViewLegacy
$this->vwncustom_admin_views = $this->get('Vwncustom_admin_views');
// Get Linked view data
$this->vwosite_views = $this->get('Vwosite_views');
$this->vwosite_views = $this->get('Vwosite_views');
// Get Linked view data
$this->vwptranslation = $this->get('Vwptranslation');
// Set the toolbar
$this->addToolBar();