# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: nat/includes/nat.views.inc
--- nat/includes/nat.views.inc Base (1.2)
+++ nat/includes/nat.views.inc Locally Modified (Based On 1.2)
@@ -1,12 +1,21 @@
 <?php
 // $Id: nat.views.inc,v 1.2 2008/11/10 19:44:33 anantagati Exp $
 
+/*
+ * @file
+ * NAT - node auto term - Views module implementation.
+ */
+
+
+/*
+ * Implementation of hook_views_data().
+ */
 function nat_views_data() {
   $data = array();
 
   $data['nat'] = array(
     'table' => array(
-      'group' => t('NAT'), 
\ No newline at end of file
+      'group' => t('NAT'),
\ No newline at end of file
     ),
   );
   $data['nat']['table']['join']['node'] = array(
Index: nat/nat.install
--- nat/nat.install Base (1.9)
+++ nat/nat.install Locally Modified (Based On 1.9)
@@ -1,12 +1,17 @@
 <?php
 // $Id: nat.install,v 1.9 2008/05/14 20:54:37 karthik Exp $
 
+/*
+ * @file
+ * NAT - node auto term - install file.
+ */
+
 /**
  * Implementation of hook_install().
  */
 function nat_install() {
   drupal_install_schema('nat');
-  drupal_set_message(t('NAT module: Installation script complete.'));
+  drupal_set_message(st('NAT module: Installation script complete.'));
 }
 
 /**
@@ -55,11 +60,11 @@
       break;
   }
 
-  $result = db_query('SELECT n.nid, n.tid, td.vid FROM {nat} n INNER JOIN {term_data} td USING (tid)');
+  $result = update_sql("SELECT n.nid, n.tid, td.vid FROM {nat} n INNER JOIN {term_data} td USING (tid)");
   while ($node = db_fetch_array($result)) {
-    db_query('UPDATE {nat} SET vid = %d WHERE nid = %d AND tid = %d', $node['vid'], $node['nid'], $node['tid']);
+    db_query("UPDATE {nat} SET vid = %d WHERE nid = %d AND tid = %d", $node['vid'], $node['nid'], $node['tid']);
   }
-  
+
   return $ret;
 }
 
Index: nat/nat.module
--- nat/nat.module Base (1.35)
+++ nat/nat.module Locally Modified (Based On 1.35)
@@ -37,21 +37,23 @@
   $items = array();
 
   $items['admin/settings/nat'] = array(
-    'title' => t('NAT'),
-    'description' => t('Establish node - node relationships via the taxonomy module.'),
+    'title' => 'NAT',
+    'description' => 'Establish node - node relationships via the taxonomy module.',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('nat_settings_form'),
     'access arguments' => array('administer NAT configuration')
   );
   $items['admin/settings/nat/settings'] = array(
-    'title' => t('Settings'),
+    'title' => 'Settings',
+    'description' => 'Settings page of the NAT module',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('nat_settings_form'),
     'access arguments' => array('administer NAT configuration'),
     'type' => MENU_DEFAULT_LOCAL_TASK
   );
   $items['admin/settings/nat/sync'] = array(
-    'title' => t('Sync'),
+    'title' => 'Sync',
+    'description' => 'Synchronize nodes to their terms.',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('nat_sync_form'),
     'access arguments' => array('administer NAT configuration'),
@@ -72,7 +74,7 @@
     'path' => drupal_get_path('module', 'nat') .'/includes',
   );
 }
-		
+
 /**
  * Implementation of hook_perm().
  */
@@ -618,7 +620,7 @@
  *   The taxonomy array for the node in question. This is used to, if set,
  * insert the new term as a child term of the selected parent.
  */
-function _nat_update_terms($terms, $title, $body, $hierarchy, $relations = array(), $synonyms = null) {
+function _nat_update_terms($terms, $title, $body, $hierarchy, $relations = array(), $synonyms = NULL) {
   $edit = array(
     'name' => $title,
     'description' => $body,
