Commit a99fe36547608bfd79c6fd722306011a4e69b4d2

Authored by Neil Blakey-Milner
1 parent f74cf3af

KTS-750: make "Built-in authentication provider" translateable.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5185 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/authentication/builtinauthenticationprovider.inc.php
... ... @@ -31,9 +31,13 @@ require_once(KT_LIB_DIR . '/authentication/Authenticator.inc');
31 31 require_once('DBAuthenticator.inc');
32 32  
33 33 class KTBuiltinAuthenticationProvider extends KTAuthenticationProvider {
34   - var $sName = "Built-in authentication provider";
35 34 var $sNamespace = "ktcore.authentication.builtin";
36 35  
  36 + function KTBuiltinAuthenticationProvider() {
  37 + $this->sName = _kt("Built-in authentication provider");
  38 + parent::KTAuthenticationProvider();
  39 + }
  40 +
37 41 function &getAuthenticator($oSource) {
38 42 // $oSource is null, since the built-in authentication provider
39 43 // only has a single, non-registered, instance.
... ...