Update translator documentation.

Whitespace updates.
Break lines in README at or before 80 characters.
L10n updates.
This commit is contained in:
Siebrand Mazeland
2011-04-06 18:46:55 +02:00
parent 17c8df76f1
commit caa6690f4c
10 changed files with 15 additions and 8 deletions

View File

@@ -125,12 +125,15 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
function onInitializePlugin(){
parent::onInitializePlugin();
if(!isset($this->server)){
// TRANS: Exception thrown when the CAS Authentication plugin has been configured incorrectly.
throw new Exception(_m("Specifying a server is required."));
}
if(!isset($this->port)){
// TRANS: Exception thrown when the CAS Authentication plugin has been configured incorrectly.
throw new Exception(_m("Specifying a port is required."));
}
if(!isset($this->path)){
// TRANS: Exception thrown when the CAS Authentication plugin has been configured incorrectly.
throw new Exception(_m("Specifying a path is required."));
}
//These values need to be accessible to a action object