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

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder
@ -77,18 +77,15 @@ $edit = "index.php?option=com_componentbuilder&view=language_translations&task=l
<td class="nowrap">
<?php if ($canDo->get('language_translation.edit')): ?>
<div class="name">
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->entranslation); ?></a>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $item->entranslation; ?></a>
<?php if ($item->checked_out): ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'language_translations.', $canCheckin); ?>
<?php endif; ?>
</div>
<?php else: ?>
<div class="name"><?php echo $this->escape($item->entranslation); ?></div>
<div class="name"><?php echo $item->entranslation; ?></div>
<?php endif; ?>
</td>
<td class="hidden-phone">
<?php echo $this->escape($item->components); ?>
</td>
<td class="center">
<?php if ($canDo->get('language_translation.edit.state')) : ?>
<?php if ($item->checked_out) : ?>

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder
@ -28,5 +28,5 @@ defined('_JEXEC') or die('Restricted access');
?>
<tr>
<td colspan="6"><?php echo $this->pagination->getListFooter(); ?></td>
<td colspan="5"><?php echo $this->pagination->getListFooter(); ?></td>
</tr>

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder
@ -46,9 +46,6 @@ defined('_JEXEC') or die('Restricted access');
<th class="nowrap" >
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_ENTRANSLATION_LABEL', 'entranslation', $this->listDirn, $this->listOrder); ?>
</th>
<th class="nowrap hidden-phone" >
<?php echo JText::_('COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_COMPONENTS_LABEL'); ?>
</th>
<?php if ($this->canState): ?>
<th width="10" class="nowrap center" >
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_STATUS', 'published', $this->listDirn, $this->listOrder); ?>

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 30 of this MVC
@version @update number 35 of this MVC
@build 5th April, 2017
@created 3rd April, 2017
@package Component Builder