forked from GNUsocial/gnu-social
L10n updates.
This commit is contained in:
parent
5a34d26b98
commit
6c9554ddb2
@ -177,7 +177,7 @@ class Group_message extends Memcached_DataObject
|
|||||||
{
|
{
|
||||||
$group = User_group::staticGet('id', $this->to_group);
|
$group = User_group::staticGet('id', $this->to_group);
|
||||||
if (empty($group)) {
|
if (empty($group)) {
|
||||||
throw new ServerException(_m('No group for group message'));
|
throw new ServerException(_m('No group for group message.'));
|
||||||
}
|
}
|
||||||
return $group;
|
return $group;
|
||||||
}
|
}
|
||||||
@ -186,7 +186,7 @@ class Group_message extends Memcached_DataObject
|
|||||||
{
|
{
|
||||||
$sender = Profile::staticGet('id', $this->from_profile);
|
$sender = Profile::staticGet('id', $this->from_profile);
|
||||||
if (empty($sender)) {
|
if (empty($sender)) {
|
||||||
throw new ServerException(_m('No sender for group message'));
|
throw new ServerException(_m('No sender for group message.'));
|
||||||
}
|
}
|
||||||
return $sender;
|
return $sender;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user