diff options
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r-- | lib/SimpleSAML/Locale/Translate.php | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/SimpleSAML/Locale/Translate.php b/lib/SimpleSAML/Locale/Translate.php index 837b0e3..01de9e0 100644 --- a/lib/SimpleSAML/Locale/Translate.php +++ b/lib/SimpleSAML/Locale/Translate.php @@ -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 { |