Index: legal.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/legal/legal.install,v
retrieving revision 1.5
diff -u -p -r1.5 legal.install
--- legal.install	2 Aug 2008 14:03:13 -0000	1.5
+++ legal.install	23 Sep 2008 02:02:49 -0000
@@ -8,12 +8,12 @@ function legal_install() {
   $created = drupal_install_schema('legal');
 
   if ($created) {
-    drupal_set_message(t('Legal module installed successfully.'));
+    drupal_set_message(st('Legal module installed successfully.'));
   }
   else {
-    drupal_set_message(t('Table installation for the Legal module was unsuccessful. The tables may need to be installed by hand. See legal.install file for a list of the installation queries.'), 'error');
+    drupal_set_message(st('Table installation for the Legal module was unsuccessful. The tables may need to be installed by hand. See legal.install file for a list of the installation queries.'), 'error');
   }
-  
+
   return;
 }
 
@@ -49,7 +49,7 @@ function legal_schema() {
 function legal_update_1() {
 
 	_system_update_utf8(array('legal_accepted', 'legal_conditions'));
-	
+
   $ret = array();
 
   db_add_field($ret, 'legal_conditions', 'extras', array('type' => 'text'));
@@ -60,7 +60,7 @@ function legal_update_1() {
 
 /**
  * Remove conditions and extras from users.data field.
-*/ 
+*/
 function legal_update_2() {
   // How many users to process each time.
   $limit = 50;
@@ -85,7 +85,7 @@ function legal_update_2() {
   while ($user = db_fetch_object($result)) {
     $data = unserialize($user->data);
 
-    unset($data['conditions']); 
+    unset($data['conditions']);
 
 		if (!empty($_SESSION['legal_update_2']['extras'])) {
 	    foreach ($_SESSION['legal_update_2']['extras'] as $extra) {
@@ -96,7 +96,7 @@ function legal_update_2() {
     db_query("UPDATE {users} SET data = '%s' WHERE uid = %d", serialize($data), $user->uid);
 
     $_SESSION['legal_update_2']['uid'] = $user->uid;
-    
+
     $user_count++;
   }
 
