X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flogin.pl;h=49cb6c613e62bfafc0e48a6ee58457d13360ac96;hb=be6f6cfd8dc7def5356edd0c5aacb814b4baded1;hp=072432aff018c8b44f213cd46858985b701cfb7b;hpb=a0d77095754b149d558d4ca627e78f640eb12cf0;p=kivitendo-erp.git diff --git a/bin/mozilla/login.pl b/bin/mozilla/login.pl index 072432aff..49cb6c613 100644 --- a/bin/mozilla/login.pl +++ b/bin/mozilla/login.pl @@ -66,7 +66,7 @@ sub run { $::locale = Locale->new($::myconfig{countrycode}) if $::myconfig{countrycode}; if (!$::myconfig{login} || (SL::Auth::OK != $auth->authenticate($form->{login}, $form->{password}, 0))) { - $form->{error_message} = $::locale->text('Incorrect Password!'); + $form->{error_message} = $::locale->text('Incorrect username or password!'); login_screen(); } else { $auth->set_session_value('login', $form->{login}, 'password', $form->{password}); @@ -162,7 +162,7 @@ sub company_logo { $form->{todo_list} = create_todo_list('login_screen' => 1) if (!$form->{no_todo_list}); $form->{stylesheet} = $myconfig{stylesheet}; - $form->{title} = $::locale->text('About'); + $form->{title} = $::locale->text('Lx-Office'); # create the logo screen $form->header() unless $form->{noheader}; @@ -175,7 +175,7 @@ sub company_logo { sub show_error { my $template = shift; my %myconfig = %main::myconfig; - $myconfig{countrycode} = $main::language; + $myconfig{countrycode} = $::lx_office_conf{system}->{language}; $form->{stylesheet} = 'css/lx-office-erp.css'; $form->header();