fixing issue of Custom Case List not showed, and some translation issues
This commit is contained in:
@@ -534,6 +534,7 @@ class Bootstrap
|
||||
|
||||
// if the default translations table doesn't exist we can't proceed
|
||||
if (!is_file(PATH_LANGUAGECONT . 'translation.en')) {
|
||||
error_log("The default translations table doesn't exist we can't get the translation " . PATH_LANGUAGECONT );
|
||||
return null;
|
||||
}
|
||||
global $translation;
|
||||
@@ -874,7 +875,7 @@ class Bootstrap
|
||||
return 'var TRANSLATIONS_' . strtoupper($typeName) . ' = ' . Bootstrap::json_encode($translationToEncode) . ';';
|
||||
} else {
|
||||
error_log("Missing or invalid translation array for type: " . $typeName);
|
||||
return '';
|
||||
return '';
|
||||
}
|
||||
}
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user