Fix PHP syntax errors introduced during localization fixups in a few files.

This commit is contained in:
Brion Vibber 2010-09-25 12:10:36 -07:00
parent 0dc5080a5d
commit a6469aeed8
3 changed files with 5 additions and 5 deletions

View File

@ -400,7 +400,7 @@ class GroupBlockForm extends Form
'submit',
null,
// TRANS: Submit button title.
_m('TOOLTIP',_('Block this user'));
_m('TOOLTIP', 'Block this user'));
}
}

View File

@ -125,13 +125,13 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
function onInitializePlugin(){
parent::onInitializePlugin();
if(!isset($this->server)){
throw new Exception(_m("Specifying a server is required.");
throw new Exception(_m("Specifying a server is required."));
}
if(!isset($this->port)){
throw new Exception(_m("Specifying a port is required.");
throw new Exception(_m("Specifying a port is required."));
}
if(!isset($this->path)){
throw new Exception(_m("Specifying a path is required.");
throw new Exception(_m("Specifying a path is required."));
}
//These values need to be accessible to a action object
//I can't think of any other way than global variables

View File

@ -54,7 +54,7 @@ class ImapPlugin extends Plugin
throw new Exception(_m("A mailbox must be specified."));
}
if(!isset($this->user)){
throw new Exception(_m("A user must be specified.");
throw new Exception(_m("A user must be specified."));
}
if(!isset($this->password)){
throw new Exception(_m("A password must be specified."));