Improved JCB to now be able to have other languanges then en-GB as its base/main/global language. This will allow you to build your components in a language of your choice.
This commit is contained in:
@ -614,9 +614,9 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
|
||||
}
|
||||
|
||||
// Only for strings
|
||||
if (ComponentbuilderHelper::checkString($this->table->entranslation) && !is_numeric($this->table->entranslation))
|
||||
if (ComponentbuilderHelper::checkString($this->table->source) && !is_numeric($this->table->source))
|
||||
{
|
||||
$this->table->entranslation = $this->generateUniqe('entranslation',$this->table->entranslation);
|
||||
$this->table->source = $this->generateUniqe('source',$this->table->source);
|
||||
}
|
||||
|
||||
// insert all set values
|
||||
|
Reference in New Issue
Block a user