--- shipping.module	2005-07-27 23:04:12.000000000 +0200
+++ shipping.module.patched	2005-07-26 02:43:07.000000000 +0200
@@ -19,7 +19,7 @@
     case 'admin/settings/shipping':
       return t('Shipping calculation methods are <a href="%shipping_calc_url">here</a>.', array('%shipping_calc_url' => url('admin/store/shipping')));
 
-    case 'Shipping email':
+    case t('Shipping email'):
       return t("Hello %first_name,\n\nWe have shipped the following item(s) from Order #%txnid, received  %order_date.\n\nItems(s) Shipped:\n%items\n%shipping_to\nQuestions about your order? Please contact us at %email.\n\nThanks for shopping at %site.  We hope to hear from you again real soon!\n\n%uri");
   }
 
@@ -43,8 +43,8 @@
  * Implementation of hook_settings()
  */
 function shipping_settings() {
-  $output = form_textfield(t('Subject of shipping e-mail'), "shipping_subject", variable_get("shipping_subject", "Your %site order has shipped (#%txnid)"), 70, 180);
-  $output .= form_textarea(t("Shipping email"), "shipping_new", variable_get("shipping_new", shipping_help("Shipping email")), 70, 10, "This text will be emailed to customers after their order has been shipped.");
+  $output = form_textfield(t('Subject of shipping e-mail'), "shipping_subject", variable_get("shipping_subject", t("Your %site order has shipped (#%txnid)")), 70, 180);
+  $output .= form_textarea(t("Shipping email"), "shipping_new", variable_get("shipping_new", shipping_help("Shipping email")), 70, 10, t("This text will be emailed to customers after their order has been shipped."));
 
   return $output;
 }
@@ -118,7 +118,7 @@
   $radio["none"] = t("Do not calculate shipping costs.");
 
   $group  = form_radios(t('Choose one'), "shipping_method", variable_get("shipping_method", "none"), $radio);
-  $group .= form_submit("Save configuration");
+  $group .= form_submit(t("Save configuration"));
   $output .= form_group(t("Shipping calculation methods"), $group);
 
   $config = form($output);
@@ -141,14 +141,14 @@
   $t = store_transaction_load($txnid);
 
   if ($t['shipping_firstname'] && $t['shipping_firstname']) {
-    $shipping_to = "Shipping to:\n";
+    $shipping_to = t("Shipping to:\n");
     $shipping_to .= ucfirst($t['shipping_firstname']). ' '. ucfirst($t['shipping_lastname']). "\n";
     $shipping_to .= ($t['shipping_street2']) ? $t['shipping_street1'] ."\n". $t['shipping_street2'] : $t['shipping_street1']. "\n";
     $shipping_to .= $t['shipping_city']. ', '. $t['shipping_state']. ' '. $t['shipping_zip']. "\n";
     $shipping_to .= address_get_country($t['shipping_country']). "\n";
   }
 
-  $billing_to = "Billing to:\n";
+  $billing_to = t("Billing to:\n");
   $billing_to .= ucfirst($t["billing_firstname"]). ' '. ucfirst($t["billing_lastname"]). "\n";
   $billing_to .= ($t["billing_street2"]) ? $t["billing_street1"] ."\n". $t["billing_street2"] : $t["billing_street1"] . "\n";
   $billing_to .= $t["billing_city"]. ", ". $t["billing_state"]. " ". $t["billing_zip"]. "\n";
@@ -187,8 +187,8 @@
   }
 
   $from       = variable_get("site_mail", ini_get("sendmail_from"));
-  $subject    = strtr(variable_get("shipping_subject", "Your %site order has shipped (#%txnid)"), $variables);
-  $body       = strtr(variable_get("shipping_new", shipping_help("Shipping email")), $variables);
+  $subject    = strtr(variable_get("shipping_subject", t("Your %site order has shipped (#%txnid)")), $variables);
+  $body       = strtr(variable_get("shipping_new", shipping_help(t("Shipping email"))), $variables);
   $headers    = "From: $from\nReply-to: $from\nX-Mailer: PHP\nReturn-path: $from\nErrors-to: $from";
 
   $form = t("<p>This is a preview of the message to be sent.</p>");
@@ -208,7 +208,7 @@
   $form .= form_hidden('destination', $edit['destination']);
   $form .= form_textfield(t('Subject'), 'subject', $subject, 60, 255, NULL);
   $form .= form_textarea(t('E-mail content'), 'body', $body, 60, 20, NULL);
-  $form .= form_submit('Send shipping notification');
+  $form .= form_submit(t('Send shipping notification'));
 
   return form($form);
 }
