Translateable strings (#11191)
authorMatthew Wire <devel@mrwire.co.uk>
Tue, 24 Oct 2017 20:58:52 +0000 (21:58 +0100)
committerEileen McNaughton <eileen@mcnaughty.com>
Tue, 24 Oct 2017 20:58:52 +0000 (07:58 +1100)
CRM/Event/Cart/BAO/EventInCart.php

index 457b12dcac28f632e6bafd34602c320e4810af97..05872c03956430f4d0cb6a7a997f96bf8b405c08 100644 (file)
@@ -291,14 +291,14 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl
 
     if ($event_in_cart) {
       return array(
-        'label' => "Remove from Cart",
+        'label' => ts("Remove from Cart"),
         'path' => 'civicrm/event/remove_from_cart',
         'query' => "reset=1&id={$event_id}",
       );
     }
     else {
       return array(
-        'label' => "Add to Cart",
+        'label' => ts("Add to Cart"),
         'path' => 'civicrm/event/add_to_cart',
         'query' => "reset=1&id={$event_id}",
       );