mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 10:30:42 +00:00
add translation phrases from extension
This commit is contained in:
parent
1b40717192
commit
8e06a17f62
|
|
@ -50,10 +50,7 @@ foreach($extmgr->getExtensionConfiguration() as $extname=>$extconf) {
|
|||
include($langfile);
|
||||
if(isset($__lang) && $__lang) {
|
||||
foreach($__lang as $lang=>&$data) {
|
||||
if(isset($GLOBALS['LANG'][$lang]))
|
||||
$GLOBALS['LANG'][$lang] = array_merge($GLOBALS['LANG'][$lang], $data);
|
||||
else
|
||||
$GLOBALS['LANG'][$lang] = $data;
|
||||
$translator->addPhrases($lang, $data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user