Fix plural strings
[civicrm-core.git] / CRM / Activity / Form / Task / RemoveFromTag.php
index c97fb65285881532dc98416ca91f63a5e67a9c1f..37973570e6d89b2d5647883ab36fe11d47f33e29 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -90,7 +90,7 @@ class CRM_Activity_Form_Task_RemoveFromTag extends CRM_Activity_Form_Task {
   }
 
   /**
-   * Process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated.
    *
    *
    * @return void
@@ -135,19 +135,20 @@ class CRM_Activity_Form_Task_RemoveFromTag extends CRM_Activity_Form_Task {
       list($total, $removed, $notRemoved) = CRM_Core_BAO_EntityTag::removeEntitiesFromTag($this->_activityHolderIds, $key, 'civicrm_activity');
 
       $status = array(
-        ts('%count activities un-tagged', array(
+        ts('%count activity un-tagged', array(
             'count' => $removed,
-            'plural' => '%count activities un-tagged'
-          ))
+            'plural' => '%count activities un-tagged',
+          )),
       );
       if ($notRemoved) {
         $status[] = ts('1 activity already did not have this tag', array(
             'count' => $notRemoved,
-            'plural' => '%count activities already did not have this tag'
+            'plural' => '%count activities already did not have this tag',
           ));
       }
       $status = '<ul><li>' . implode('</li><li>', $status) . '</li></ul>';
       CRM_Core_Session::setStatus($status, ts("Removed Tag <em>%1</em>", array(1 => $this->_tags[$key])), 'success', array('expires' => 0));
     }
   }
+
 }