From 8b435d0993f03f7a91a970b54cbabaf86d9be4f3 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 14 Nov 2007 23:39:24 +0000 Subject: [PATCH] MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From IƱaki Arenaza And here is a little patch with the last remaining non-traslated strings (unless I missed something). --- auth/ldap/ntlmsso_attempt.php | 2 +- auth/ldap/ntlmsso_finish.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/ldap/ntlmsso_attempt.php b/auth/ldap/ntlmsso_attempt.php index 4f400b11519..c9fc4695e2b 100644 --- a/auth/ldap/ntlmsso_attempt.php +++ b/auth/ldap/ntlmsso_attempt.php @@ -23,7 +23,7 @@ if (empty($authplugin->config->ntlmsso_enabled)) { $sesskey = sesskey(); //print_header("$site->fullname: $loginsite", $site->fullname, $loginsite, $focus, '', true); -$msg = '

Attempting SSO...

' +$msg = '

'.get_string('ntlmsso_attempting','auth').'

' . ''; diff --git a/auth/ldap/ntlmsso_finish.php b/auth/ldap/ntlmsso_finish.php index effaeb1f376..c64e75570fd 100644 --- a/auth/ldap/ntlmsso_finish.php +++ b/auth/ldap/ntlmsso_finish.php @@ -25,6 +25,6 @@ if (empty($authplugin->config->ntlmsso_enabled)) { if (!$authplugin->ntlmsso_finish()) { // Redirect to login, saying "don't try again!" redirect($CFG->wwwroot . '/login/index.php?authldap_skipntlmsso=1', - "Single Sign On failed, proceed to normal login", 3); + get_string('ntlmsso_failed','auth'), 3); } ?> \ No newline at end of file