forked from GNUsocial/gnu-social
Update translator documentation.
Whitespace updates. Break lines in README at or before 80 characters. L10n updates.
This commit is contained in:
@@ -52,7 +52,8 @@ class ShortenAction extends Action
|
||||
$this->users=array();
|
||||
$this->text = $this->arg('text');
|
||||
if(is_null($this->text)){
|
||||
throw new ClientException(_m('\'text\' argument must be specified.'));
|
||||
// TRANS: Client exception thrown when a text argument is not present.
|
||||
throw new ClientException(_m('"text" argument must be specified.'));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user