summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-24 10:41:17 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-24 10:41:17 +0000
commit04daca23940e02ecc417b2f366759a1c80e1810d (patch)
treeb496a6323bb0f69ae327b188353b5da6e398ebf5 /modules
parent7186c4433e85f4f307466e9706b2a62e30a9b173 (diff)
downloadbrdo-04daca23940e02ecc417b2f366759a1c80e1810d.tar.gz
brdo-04daca23940e02ecc417b2f366759a1c80e1810d.tar.bz2
Three remaining instances of t() use in system module update code removed.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.install6
1 files changed, 3 insertions, 3 deletions
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 <a href="'. url('admin/user/settings') .'">User settings</a> 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 <a href="@modules">modules administration page</a>. For more information please read the <a href="@update">Update status handbook page</a>.', 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 <a href="'. url('admin/build/modules') .'">modules administration page</a>. For more information please read the <a href="http://drupal.org/handbook/modules/update">Update status handbook page</a>.');
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;