]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile_tag_subscription.php
Update/add translator documentation.
[quix0rs-gnu-social.git] / classes / Profile_tag_subscription.php
index 870640c40bf448f50e7544cf7a640c763699a995..f666fe51a0e5ffc3a989cf78d2a682003c0a0ff7 100644 (file)
@@ -50,7 +50,8 @@ class Profile_tag_subscription extends Memcached_DataObject
 
             if (!$result) {
                 common_log_db_error($sub, 'INSERT', __FILE__);
-                throw new Exception(_("Adding people tag subscription failed."));
+                // TRANS: Exception thrown when inserting a people tag subscription in the database fails.
+                throw new Exception(_('Adding people tag subscription failed.'));
             }
 
             $ptag = Profile_list::staticGet('id', $peopletag->id);
@@ -76,7 +77,8 @@ class Profile_tag_subscription extends Memcached_DataObject
 
             if (!$result) {
                 common_log_db_error($sub, 'DELETE', __FILE__);
-                throw new Exception(_("Removing people tag subscription failed."));
+                // TRANS: Exception thrown when deleting a people tag subscription from the database fails.
+                throw new Exception(_('Removing people tag subscription failed.'));
             }
 
             $peopletag->subscriberCount(true);