Fixed gh-468 to insure language strings are updated correctly.

This commit is contained in:
Llewellyn van der Merwe 2019-08-28 13:48:07 +02:00
parent 40d867e602
commit f168fb7363
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
4 changed files with 12 additions and 11 deletions

View File

@ -146,14 +146,14 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 26th August, 2019
+ *Last Build*: 28th August, 2019
+ *Version*: 2.10.0
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **247734**
+ *Line count*: **248009**
+ *Field count*: **1343**
+ *File count*: **1604**
+ *Folder count*: **250**
+ *File count*: **1608**
+ *Folder count*: **253**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)

View File

@ -146,14 +146,14 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 26th August, 2019
+ *Last Build*: 28th August, 2019
+ *Version*: 2.10.0
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **247734**
+ *Line count*: **248009**
+ *Field count*: **1343**
+ *File count*: **1604**
+ *Folder count*: **250**
+ *File count*: **1608**
+ *Folder count*: **253**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)

View File

@ -4702,8 +4702,8 @@ class Get
// check if we should continue
if (ComponentbuilderHelper::checkArray($langStringTargets))
{
// insure string is not broken
$content = str_replace('COM_' . $this->hhh . 'COMPONENT' . $this->hhh, $this->langPrefix, $content);
// test add an placeholder updater here
$content = $this->setPlaceholders($content, $this->placeholders);
// reset some buckets
$langHolders = array();
$langCheck = array();
@ -7362,6 +7362,7 @@ class Get
// check if we should continue
if (ComponentbuilderHelper::checkArray($langStringTargets))
{
// start lang holder
$langHolders = array();
// set the lang for both since we don't know what area is being targeted
$_tmp = $this->lang;

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name>
<creationDate>26th August, 2019</creationDate>
<creationDate>28th August, 2019</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>