Index: activity.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/activity/activity.module,v
retrieving revision 1.1.2.2.2.30.2.46
diff -u -p -r1.1.2.2.2.30.2.46 activity.module
--- activity.module	3 Jun 2009 18:42:21 -0000	1.1.2.2.2.30.2.46
+++ activity.module	13 Oct 2009 22:38:58 -0000
@@ -1382,7 +1382,7 @@ function theme_activity_timestamp($times
  * Theme function to customize display of the node type name.
  */
 function theme_activity_node_type($node_type) {
-  return strtolower(node_get_types('name', $node_type));
+  return strtolower(activity_tt("nodetype:type:$node_type:name", node_get_types('name', $node_type))); 
 }
 
 /**
@@ -1445,3 +1445,15 @@ function activity_load($aid) {
   
   return $row;
 }
+
+/**
+ * Wrapper function for tt() if i18nstrings enabled.
+ */
+function activity_tt($name, $string, $langcode = NULL, $update = FALSE) {
+  if (module_exists('i18nstrings')) {
+    return tt($name, $string, $langcode, $update);
+  }
+  else {
+    return $string;
+  }
+}
