Edit was added to your shopping cart Magento

1) Change the directory to magento installation
2  cd app/code/core/Mage/Checkout/controllers
3) vi CartController.php
4) Search for  $message = $this->__(‘%s was pramod added to your shopping cart.’, Mage::helper(‘core’)->escapeHtml($product->getName())); and edit the text