From: vincent@cubedesigners.com Date: Tue, 15 Oct 2013 09:43:27 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b8e71bcfda94de5e34656789e936b27828a7db8c;p=cubeextranet.git --- diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index c5f06d5f0..794bc893d 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -493,7 +493,7 @@ class wsHTML5Compiler { } $print = $this->writePrint(); - $message = sprintf($this->__('Your browser is not up to date and is not able to run this publication. %sLearn more%s'), '', ''); + $message = sprintf($this->__('Your browser is not up to date and is not able to run this publication. %sLearn more%s'), '
', ''); $splash = ''; if ($this->theme->parametres->logoLoader) { @@ -589,6 +589,10 @@ class wsHTML5Compiler { } protected function __($str) { + if (!isset($this->config->l10n)) { + $this->writeLangs(); + } + if (isset($this->config->l10n['default']->$str)) { return $this->config->l10n['default']->$str; } else {