Commit c6deda88 authored by Dries's avatar Dries
Browse files

- Patch #5048 by flevour: added missing t() function.

parent 26ee4145
......@@ -1147,7 +1147,7 @@ function user_admin_create($edit = array()) {
user_save("", array('name' => $edit['name'], 'pass' => $edit['pass'], "init" => $edit['mail'], "mail" => $edit['mail'], "rid" => _user_authenticated_id(), "status" => 1));
drupal_set_message("Created a new user '". $edit['name'] ."'. No e-mail has been sent.");
drupal_set_message(t('Created a new user account. No e-mail has been sent.'));
}
else {
......
......@@ -1147,7 +1147,7 @@ function user_admin_create($edit = array()) {
user_save("", array('name' => $edit['name'], 'pass' => $edit['pass'], "init" => $edit['mail'], "mail" => $edit['mail'], "rid" => _user_authenticated_id(), "status" => 1));
drupal_set_message("Created a new user '". $edit['name'] ."'. No e-mail has been sent.");
drupal_set_message(t('Created a new user account. No e-mail has been sent.'));
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment