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	14 Oct 2009 16:25:43 -0000
@@ -134,14 +134,14 @@ function activitystream_form(&$node) {
 
   $form['title'] = array(
     '#type' => 'textfield',
-    '#title' => check_plain($type->title_label),
+    '#title' => activitystream_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' => activitystream_tt("nodetype:type:$type->type:body_label", check_plain($type->body_label)),
     '#default_value' => $node->body,
     '#required' => FALSE,
   );
@@ -588,3 +588,15 @@ function block_activitystream_content($w
       return theme('activitystream', $items);
   }
 }
+
+/**
+ * Wrapper function for tt() if i18nstrings enabled.
+ */
+function activitystream_tt($name, $string, $langcode = NULL, $update = FALSE) {
+  if (module_exists('i18nstrings')) {
+    return tt($name, $string, $langcode, $update);
+  }
+  else {
+    return $string;
+  }
+}
