forked from GNUsocial/gnu-social
Fix PHP syntax errors introduced during localization fixups in a few files.
This commit is contained in:
parent
0dc5080a5d
commit
a6469aeed8
@ -400,7 +400,7 @@ class GroupBlockForm extends Form
|
||||
'submit',
|
||||
null,
|
||||
// TRANS: Submit button title.
|
||||
_m('TOOLTIP',_('Block this user'));
|
||||
_m('TOOLTIP', 'Block this user'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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."));
|
||||
|
Loading…
Reference in New Issue
Block a user