|
|
@ -73,7 +73,7 @@ function get_lang($variable) |
|
|
|
$defaultDomain = 'messages'; |
|
|
|
$defaultDomain = 'messages'; |
|
|
|
$translated = Container::getTranslator()->trans( |
|
|
|
$translated = Container::getTranslator()->trans( |
|
|
|
$variable, |
|
|
|
$variable, |
|
|
|
array(), |
|
|
|
[], |
|
|
|
$defaultDomain |
|
|
|
$defaultDomain |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -81,7 +81,7 @@ function get_lang($variable) |
|
|
|
// Check the langVariable for BC |
|
|
|
// Check the langVariable for BC |
|
|
|
$translated = Container::getTranslator()->trans( |
|
|
|
$translated = Container::getTranslator()->trans( |
|
|
|
"lang$variable", |
|
|
|
"lang$variable", |
|
|
|
array(), |
|
|
|
[], |
|
|
|
$defaultDomain |
|
|
|
$defaultDomain |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|