From 19987407ab611edd5619a7900f51be941ac0d5f5 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 14 Nov 2007 22:12:25 +0000 Subject: [PATCH] MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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 4f400b1151..c9fc4695e2 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 effaeb1f37..c64e75570f 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 -- 2.39.5