Skip to content
Snippets Groups Projects
Commit 7611d218 authored by Andreas Ergenzinger's avatar Andreas Ergenzinger
Browse files

merge translations with those from theme

parent 6a5f5ce1
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,8 @@ class OC_L10N{
)
&& file_exists($i18ndir.$lang.'.php')) {
// Include the file, save the data from $CONFIG
include strip_tags($i18ndir).strip_tags($lang).'.php';
$transFile = strip_tags($i18ndir).strip_tags($lang).'.php';
include $transFile;
if(isset($TRANSLATIONS) && is_array($TRANSLATIONS)) {
$this->translations = $TRANSLATIONS;
//merge with translations from theme
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment