Index: activitystream.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/activitystream/activitystream.module,v
retrieving revision 1.2.2.5.2.13
diff -u -p -r1.2.2.5.2.13 activitystream.module
--- activitystream.module	16 May 2009 16:40:11 -0000	1.2.2.5.2.13
+++ activitystream.module	12 Oct 2009 22:08:38 -0000
@@ -134,14 +134,14 @@ function activitystream_form(&$node) {
 
   $form['title'] = array(
     '#type' => 'textfield',
-    '#title' => check_plain($type->title_label),
+    '#title' => tt("nodetype:type:$type->type:title_label", check_plain($type->title_label)),
     '#required' => TRUE,
     '#default_value' => $node->title,
     '#weight' => -5,
   );
   $form['body_field'] = array(
     '#type' => 'textarea',
-    '#title' => check_plain($type->body_label),
+    '#title' => tt("nodetype:type:$type->type:body_label", check_plain($type->body_label)),
     '#default_value' => $node->body,
     '#required' => FALSE,
   );
@@ -588,3 +588,12 @@ function block_activitystream_content($w
       return theme('activitystream', $items);
   }
 }
+
+/**
+ * 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);
+  }
+}
