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

4.4.x
Dries Buytaert 2004-02-07 10:46:46 +00:00
parent 26ee414578
commit c6deda88ef
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {