forked from GNUsocial/gnu-social
Update punctuation for exceptions.
This commit is contained in:
parent
f20ddaec56
commit
124070e63d
@ -171,7 +171,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
return true;
|
return true;
|
||||||
} else if ($this->group_id && ($this->profile_id || $this->peopletag_id)) {
|
} else if ($this->group_id && ($this->profile_id || $this->peopletag_id)) {
|
||||||
// TRANS: Server exception. %s is a URI
|
// TRANS: Server exception. %s is a URI
|
||||||
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: two or more IDs set for %s'), $this->uri));
|
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: two or more IDs set for %s.'), $this->uri));
|
||||||
} else {
|
} else {
|
||||||
// TRANS: Server exception. %s is a URI
|
// TRANS: Server exception. %s is a URI
|
||||||
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: all IDs empty for %s.'), $this->uri));
|
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: all IDs empty for %s.'), $this->uri));
|
||||||
@ -189,7 +189,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
return true;
|
return true;
|
||||||
} else if ($this->peopletag_id && ($this->profile_id || $this->group_id)) {
|
} else if ($this->peopletag_id && ($this->profile_id || $this->group_id)) {
|
||||||
// TRANS: Server exception. %s is a URI
|
// TRANS: Server exception. %s is a URI
|
||||||
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: two or more IDs set for %s'), $this->uri));
|
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: two or more IDs set for %s.'), $this->uri));
|
||||||
} else {
|
} else {
|
||||||
// TRANS: Server exception. %s is a URI
|
// TRANS: Server exception. %s is a URI
|
||||||
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: all IDs empty for %s.'), $this->uri));
|
throw new ServerException(sprintf(_m('Invalid ostatus_profile state: all IDs empty for %s.'), $this->uri));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user