diff --git a/uc_ajax_cart.module b/uc_ajax_cart.module
index a733c30..068a505 100644
--- a/uc_ajax_cart.module
+++ b/uc_ajax_cart.module
@@ -210,7 +210,10 @@ function uc_ajax_cart_theme() {
       'uc_ajax_cart_block_content_cached' => array(
       'arguments' => array('total' => NULL, 'collapsible' => FALSE),
       'file'      => 'uc_ajax_cart.theme.inc'
-    )
+    ),
+    'uc_empty_cart_text' => array(
+      'arguments' => array(),
+    ),
   );
 }
 
@@ -401,7 +404,15 @@ function uc_ajax_cart_theme_registry_alter(&$theme_registry) {
  * @ingroup themeable
  */
 function  uc_ajax_uc_empty_cart() {
-  return '<p id="cart-form-pane">'. t('There are no products in your shopping cart.') .'</p>';
+  return '<p id="cart-form-pane">'. theme('uc_empty_cart_text') .'</p>';
+}
+
+
+/**
+ * Returns the text displayed for an empty shopping cart.
+ */
+function theme_uc_empty_cart_text() {
+  return t('There are no products in your shopping cart.');
 }
 
 
