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	12 Oct 2009 20:17:25 -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(tt("nodetype:type:$node_type:name", node_get_types('name', $node_type))); 
 }
 
 /**
@@ -1445,3 +1445,12 @@ function activity_load($aid) {
   
   return $row;
 }
+
+/**
+ * provide a degrade path for function tt found in module i18nstrings
+ */
+if (! module_exists('i18nstrings') && ! function_exists('tt')) {
+  function tt($name, $string, $langcode = NULL, $update = FALSE) {
+    return t($string, array(), $langcode);
+  }
+}
