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

This commit is contained in:
2019-08-28 13:48:07 +02:00
parent 40d867e602
commit f168fb7363
4 changed files with 12 additions and 11 deletions

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;