From: martinlanghoff Date: Wed, 14 Nov 2007 22:12:25 +0000 (+0000) Subject: MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=19987407ab611edd5619a7900f51be941ac0d5f5;p=moodle.git MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings From IƱaki Arenaza And here is a little patch with the last remaining non-traslated strings (unless I missed something). --- 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