'submit',
null,
// TRANS: Submit button title.
- _m('TOOLTIP',_('Block this user'));
+ _m('TOOLTIP', 'Block this user'));
}
}
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
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."));