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	6 Oct 2008 15:31:47 -0000
@@ -6,12 +6,13 @@
  */
 function legal_install() {
   $created = drupal_install_schema('legal');
+  $t = get_t();
 
   if ($created) {
-    drupal_set_message(t('Legal module installed successfully.'));
+    drupal_set_message($t('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($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');
   }
   
   return;
