From 58e60ef706a4f142be8066e0210690fb23fe1720 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 4 Jan 2018 11:47:01 +0100 Subject: [PATCH] Add missing class properties --- lib/SimpleSAML/Locale/Localization.php | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/lib/SimpleSAML/Locale/Localization.php b/lib/SimpleSAML/Locale/Localization.php index 1fc1cb74b..5cf221353 100644 --- a/lib/SimpleSAML/Locale/Localization.php +++ b/lib/SimpleSAML/Locale/Localization.php @@ -14,7 +14,6 @@ use Gettext\Translator; class Localization { - /** * The configuration to use. * @@ -37,21 +36,36 @@ class Localization */ const GETTEXT_I18N_BACKEND = 'gettext/gettext'; - /* + /** * The default locale directory */ private $localeDir; - /* + /** * Where specific domains are stored */ private $localeDomainMap = array(); - /* + /** * Pointer to currently active translator */ private $translator; + /** + * Pointer to current Language + */ + private $language; + + /** + * Language code representing the current Language + */ + private $langcode; + + + /** + * The language backend to use + */ + private $i18nBackend; /** * Constructor -- GitLab