From 04daca23940e02ecc417b2f366759a1c80e1810d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 24 Jan 2008 10:41:17 +0000 Subject: Three remaining instances of t() use in system module update code removed. --- modules/system/system.install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.install b/modules/system/system.install index 95fba9b29..30d0a5aaa 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1489,7 +1489,7 @@ function system_update_6017() { $ret[] = array('success' => TRUE, 'query' => "variable_set($new_name)"); $ret[] = array('success' => TRUE, 'query' => "variable_del($old_name)"); if ($old_name == 'user_mail_approval_body') { - drupal_set_message(t('Saving an old value of the welcome message body for users that are pending administrator approval. However, you should consider modifying this text, since Drupal can now be configured to automatically notify users and send them their login information when their accounts are approved. See the !admin_user_settings page for details.', array('!admin_user_settings' => l(t('User settings'), 'admin/user/settings')))); + drupal_set_message('Saving an old value of the welcome message body for users that are pending administrator approval. However, you should consider modifying this text, since Drupal can now be configured to automatically notify users and send them their login information when their accounts are approved. See the User settings page for details.'); } } } @@ -1979,7 +1979,7 @@ function system_update_6026() { $ret = array(); // Notify user that new update module exists. - drupal_set_message(t('Drupal can check periodically for important bug fixes and security releases using the new update status module. This module can be turned on from the modules administration page. For more information please read the Update status handbook page.', array('@modules' => url('admin/build/modules'), '@update' => 'http://drupal.org/handbook/modules/update'))); + drupal_set_message('Drupal can check periodically for important bug fixes and security releases using the new update status module. This module can be turned on from the modules administration page. For more information please read the Update status handbook page.'); return $ret; } @@ -2239,7 +2239,7 @@ function system_update_6038() { if (db_table_exists('profile_fields')) { $ret[] = update_sql("UPDATE {profile_fields} SET category = 'Account settings' WHERE LOWER(category) = 'account'"); if ($affectedrows = db_affected_rows()) { - drupal_set_message(t('There were @affectedrows profile fields that used a reserved category name. They have been assigned to the category "Account settings".', array('@affectedrows' => $affectedrows))); + drupal_set_message('There were '. $affectedrows .' profile fields that used a reserved category name. They have been assigned to the category "Account settings".'); } } return $ret; -- cgit v1.2.3