Index: subdomain.module =================================================================== --- subdomain.module (revision 43) +++ subdomain.module (working copy) @@ -79,12 +79,12 @@ // Disallow reserved subdomain elseif (subdomain_reserved($node->title)) { - form_set_error('title', "Sorry. '@node_title' is not available for use. Please enter a different @type_title for your @type_name.", array('@node_title' => $node->title, '@type_name'=>$type_name, '@type_title'=> $type_title)); + form_set_error('title', t("Sorry. '@node_title' is not available for use. Please enter a different @type_title for your @type_name.", array('@node_title' => $node->title, '@type_name'=>$type_name, '@type_title'=> $type_title))); } // Ensure group name is unique elseif (db_result(db_query("SELECT 1 FROM {node} WHERE nid <> %d AND type = '%s' AND title = '%s'", $node->nid, $node->type, $node->title))) { - form_set_error('title', "There is already a @type_name with that @type_title. Please enter a different @type_name", array('@type_name'=>$type_name, '@type_title'=> $type_title)); + form_set_error('title', t("The @type_name with this @type_title already exists. Please enter a different @type_title.", array('@type_name'=>$type_name, '@type_title'=> $type_title))); } // Disallow changes to group name (to avoid SEO issues and path alias getting out of sync with group content aliases) @@ -452,4 +452,4 @@ } else { return 'http://'; } -} \ No newline at end of file +}