diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-07-29 13:01:04 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-07-29 13:01:04 +0200 |
commit | 5813ecada276147d120d42ce2a92343313cf0029 (patch) | |
tree | dd5e0af9bd42969fa4da8c4468da33819a879ef4 /classes/Group_member.php | |
parent | e7acb45b5733e97ab9504aff5e4255a17fe5c6de (diff) |
* add translator documentation
* mark strings for translation
* add FIXME for unclear/confusing message
Diffstat (limited to 'classes/Group_member.php')
-rw-r--r-- | classes/Group_member.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/Group_member.php b/classes/Group_member.php index 7b1760f76..2239461be 100644 --- a/classes/Group_member.php +++ b/classes/Group_member.php @@ -38,6 +38,7 @@ class Group_member extends Memcached_DataObject if (!$result) { common_log_db_error($member, 'INSERT', __FILE__); + // TRANS: Exception thrown when joining a group fails. throw new Exception(_("Group join failed.")); } @@ -50,6 +51,7 @@ class Group_member extends Memcached_DataObject 'profile_id' => $profile_id)); if (empty($member)) { + // TRANS: Exception thrown when trying to leave a group the user is not a member of. throw new Exception(_("Not part of group.")); } @@ -57,6 +59,7 @@ class Group_member extends Memcached_DataObject if (!$result) { common_log_db_error($member, 'INSERT', __FILE__); + // TRANS: Exception thrown when trying to leave a group fails. throw new Exception(_("Group leave failed.")); } |