Index: modules/contact/contact.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.admin.inc,v
retrieving revision 1.22
diff -u -p -r1.22 contact.admin.inc
--- modules/contact/contact.admin.inc	17 Feb 2010 08:48:18 -0000	1.22
+++ modules/contact/contact.admin.inc	17 Feb 2010 21:47:13 -0000
@@ -19,7 +19,13 @@ function contact_category_list() {
   $rows = array();
 
   // Get all the contact categories from the database.
-  $categories = db_query('SELECT cid, category, recipients, selected FROM {contact} ORDER BY weight, category')->fetchAll();
+  $categories = db_select('contact', 'c')
+    ->addTag('translatable')
+    ->fields('c', array('cid', 'category', 'recipients', 'selected'))
+    ->orderBy('weight')
+    ->orderBy('category')
+    ->execute()
+    ->fetchAll();
 
   // Loop through the categories and add them to the table.
   foreach ($categories as $category) {
Index: modules/contact/contact.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.module,v
retrieving revision 1.144
diff -u -p -r1.144 contact.module
--- modules/contact/contact.module	17 Feb 2010 04:39:49 -0000	1.144
+++ modules/contact/contact.module	17 Feb 2010 21:47:13 -0000
@@ -159,7 +159,12 @@ function _contact_personal_tab_access(st
  *   An array with the contact category's data.
  */
 function contact_load($cid) {
-  return db_query("SELECT * FROM {contact} WHERE cid = :cid", array(':cid' => $cid))->fetchAssoc();
+  return db_select('contact', 'c')
+    ->addTag('translatable')
+    ->fields('c')
+    ->condition('cid', $cid)
+    ->execute()
+    ->fetchAssoc();
 }
 
 /**
