Index: forward.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/forward/forward.module,v
retrieving revision 1.11.2.14
diff -u -r1.11.2.14 forward.module
--- forward.module	31 May 2006 21:41:06 -0000	1.11.2.14
+++ forward.module	1 Jun 2006 08:39:35 -0000
@@ -112,7 +112,7 @@
   $form['forward_options']['forward_flood_error'] = array(
     '#type' => 'textarea',
     '#title' => t('Flood Control Error'),
-    '#default_value' => variable_get('forward_flood_error', t("You can't send more than %number messages per hour. Please try again later.")),
+    '#default_value' => variable_get('forward_flood_error', t('You can\'t send more than %number messages per hour. Please try again later.')),
     '#cols' => 40,
     '#rows' => 10,
     '#description' => t('This text appears if a user exceeds the flood control limit.  The value of the flood control limit setting will appear in place of %number in the message presented to users'),
@@ -169,7 +169,7 @@
   $form['forward_default_values']['forward_emailsubject'] = array(
     '#type' => 'textfield',
     '#title' => t('Forward Message Subject'),
-    '#default_value' => variable_get('forward_emailsubject', '%name has forwarded a page to you from %site'),
+    '#default_value' => variable_get('forward_emailsubject', t('%name has forwarded a page to you from %site')),
     '#size' => 40,
     '#maxlength' => 256,
     '#description' => t('Email subject line.  The sender\'s name will appear in place of %name in the subject.  The web site name will be inserted in place of %site'),
@@ -177,7 +177,7 @@
   $form['forward_default_values']['forward_emailmessage'] = array(
     '#type' => 'textarea',
     '#title' => t('Forward Message Body'),
-    '#default_value' => variable_get('forward_emailmessage', '%name thought you would like to see this page from the %site web site.'),
+    '#default_value' => variable_get('forward_emailmessage', t('%name thought you would like to see this page from the %site web site.')),
     '#cols' => 40,
     '#rows' => 10,
     '#description' => t('Email message body.  The sender\'s name will appear in place of %name in the message body.  The web site name will be inserted in place of %site  The sender will be able to add their own message after this.'),
@@ -185,7 +185,7 @@
   $form['forward_default_values']['forward_postcardsubject'] = array(
     '#type' => 'textfield',
     '#title' => t('e-Postcard Message Subject'),
-    '#default_value' => variable_get('forward_postcardsubject', '%name has sent you an e-postcard from %site'),
+    '#default_value' => variable_get('forward_postcardsubject', t('%name has sent you an e-postcard from %site')),
     '#size' => 40,
     '#maxlength' => 256,
     '#description' => t('Postcard subject line.  The sender\'s name will appear in place of %name in the subject.  The web site name will be inserted in place of %site'),
@@ -193,7 +193,7 @@
   $form['forward_default_values']['forward_postcardmessage'] = array(
     '#type' => 'textarea',
     '#title' => t('e-Postcard Message Body'),
-    '#default_value' => variable_get('forward_postcardmessage', '%name has sent you an e-postcard from the %site web site.  Please take a moment to visit our web site.'),
+    '#default_value' => variable_get('forward_postcardmessage', t('%name has sent you an e-postcard from the %site web site.  Please take a moment to visit our web site.')),
     '#cols' => 40,
     '#rows' => 10,
     '#description' => t('Postcard message body.  The sender\'s name will appear in place of %name in the message body.  The web site name will be inserted in place of %site  The sender will be able to add their own message after this.'),
@@ -450,7 +450,7 @@
   ### To check values, simply access them w/ the same name with which they were declared
   if (!user_access('administer forward')) {
     if (!flood_is_allowed('forward', variable_get('forward_flood_control', 10))) {
-      form_set_error(NULL,variable_get('forward_flood_error', t("You can't send more than %number messages per hour. Please try again later.", array('%number' => variable_get('forward_flood_control', 10)))));
+      form_set_error(NULL,variable_get('forward_flood_error', t('You can\'t send more than %number messages per hour. Please try again later.', array('%number' => variable_get('forward_flood_control', 10)))));
     }
   }
 
@@ -611,7 +611,7 @@
     if ($forward_link_type) {
       if ($type == 'comment') {
         $forward_link_type = 'comment';
-        $links[] = l(t("email this %type", array('%type' => $forward_link_type)), "forward/$node->nid&cid=$node->cid", array('title' => t('Forward this page to a friend'), 'class' => 'forward-page'));
+        $links[] = l(t('email this %type', array('%type' => $forward_link_type)), "forward/$node->nid&cid=$node->cid", array('title' => t('Forward this page to a friend'), 'class' => 'forward-page'));
         return $links;
       }
       $forward_link_type = $node->type;
@@ -619,11 +619,11 @@
     else $forward_link_type = 'page';
 
     if (!$main || variable_get('forward_show_on_main', 0)) {
-        $links[] = l(t("email this %type", array('%type' => $forward_link_type)), "forward/$node->nid", array('title' => t('Forward this page to a friend'), 'class' => 'forward-page'));
+        $links[] = l(t('email this %type', array('%type' => $forward_link_type)), "forward/$node->nid", array('title' => t('Forward this page to a friend'), 'class' => 'forward-page'));
         return $links;
     }
     else { // not on a main page
-      $links[] = l(t("email this %type", array('%type' => $forward_link_type)), "forward/$node->nid", array('title' => t('Forward this page to a friend'), 'class' => 'forward-page'));
+      $links[] = l(t('email this %type', array('%type' => $forward_link_type)), "forward/$node->nid", array('title' => t('Forward this page to a friend'), 'class' => 'forward-page'));
       return $links;
     }
   }
