Skip to content
Snippets Groups Projects
Commit 8ae26f74 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Minor fixes.

parent f295ac59
No related branches found
No related tags found
No related merge requests found
......@@ -13,22 +13,32 @@ namespace SimpleSAML\Locale;
class Translate
{
private $configuration = null;
/**
* The configuration to be used for this translator.
*
* @var \SimpleSAML_Configuration
*/
private $configuration;
private $langtext = array();
/**
* Associative array of dictionaries.
*/
private $dictionaries = array();
/**
* The default dictionary.
*/
private $defaultDictionary = null;
/**
* The language object we'll use internally.
*
* @var \SimpleSAML\Locale\Language
*/
private $language;
/**
* Constructor
......@@ -327,7 +337,6 @@ class Translate
*/
public function includeLanguageFile($file, $otherConfig = null)
{
$filebase = null;
if (!empty($otherConfig)) {
$filebase = $otherConfig->getPathValue('dictionarydir', 'dictionaries/');
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment