Update api_setup.class.php
some values needs more dictionaries
This commit is contained in:
parent
ba20087ceb
commit
65cbd2c663
@ -624,7 +624,7 @@ class Setup extends DolibarrApi
|
|||||||
global $conf;
|
global $conf;
|
||||||
$this->translations = new Translate('', $conf);
|
$this->translations = new Translate('', $conf);
|
||||||
$this->translations->setDefaultLang($lang);
|
$this->translations->setDefaultLang($lang);
|
||||||
$this->translations->load($dict);
|
$this->translations->loadLangs(array($dict));
|
||||||
}
|
}
|
||||||
if ($object->code) {
|
if ($object->code) {
|
||||||
$key = $prefix.$object->code;
|
$key = $prefix.$object->code;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user