diff --git a/application/loginwebpage.class.inc.php b/application/loginwebpage.class.inc.php index bb056d423f..83171d2308 100644 --- a/application/loginwebpage.class.inc.php +++ b/application/loginwebpage.class.inc.php @@ -56,8 +56,13 @@ class LoginWebPage extends NiceWebPage protected static $m_sLoginFailedMessage = ''; - public function __construct($sTitle = 'iTop Login') + public function __construct($sTitle = null) { + if($sTitle === null) + { + $sTitle = Dict::S('UI:Login:Title'); + } + parent::__construct($sTitle); $this->SetStyleSheet(); $this->add_header("Cache-control: no-cache"); diff --git a/dictionaries/dictionary.itop.ui.php b/dictionaries/dictionary.itop.ui.php index 4371d62e24..416ac97ed0 100644 --- a/dictionaries/dictionary.itop.ui.php +++ b/dictionaries/dictionary.itop.ui.php @@ -318,6 +318,7 @@ Dict::Add('EN US', 'English', 'English', array( Dict::Add('EN US', 'English', 'English', array( 'BooleanLabel:yes' => 'yes', 'BooleanLabel:no' => 'no', + 'UI:Login:Title' => 'iTop login', 'Menu:WelcomeMenu' => 'Welcome', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:WelcomeMenu+' => 'Welcome to iTop', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:WelcomeMenuPage' => 'Welcome', // Duplicated into itop-welcome-itil (will be removed from here...) diff --git a/dictionaries/fr.dictionary.itop.ui.php b/dictionaries/fr.dictionary.itop.ui.php index 7bb0925101..83d1bea164 100644 --- a/dictionaries/fr.dictionary.itop.ui.php +++ b/dictionaries/fr.dictionary.itop.ui.php @@ -201,6 +201,7 @@ Dict::Add('FR FR', 'French', 'Français', array( 'Class:URP_ClassProjection/Attribute:attribute+' => 'Target attribute code (optional)', 'BooleanLabel:yes' => 'oui', 'BooleanLabel:no' => 'non', + 'UI:Login:Title' => 'iTop login', 'Menu:WelcomeMenu' => 'Bienvenue', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:WelcomeMenu+' => 'Bienvenue dans iTop', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:WelcomeMenuPage' => 'Bienvenue', // Duplicated into itop-welcome-itil (will be removed from here...)