summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-23 12:40:22 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-23 12:40:22 +0000
commit0d89694edbb2b280a28ed8f538683caddf72f168 (patch)
treeaee9a86dcf16ced2e72167d16c219d2acad55170 /update.php
parentde79420bc9b448169d61c8c70a6155060502f6a0 (diff)
downloadbrdo-0d89694edbb2b280a28ed8f538683caddf72f168.tar.gz
brdo-0d89694edbb2b280a28ed8f538683caddf72f168.tar.bz2
#194310 by JirkaRybka: t() was misused in update.php (we should not use t() in the update process)
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 4c9a18290..5df225c10 100644
--- a/update.php
+++ b/update.php
@@ -197,7 +197,7 @@ function update_script_selection_form() {
$last_removed = module_invoke($module, 'update_last_removed');
if ($schema_version < $last_removed) {
$form['start'][$module] = array(
- '#value' => t('%module module can not be updated. Its schema version is %schema_version. Updates up to and including %last_removed have been removed in this release. In order to update %module module, you will first <a href="@upgrade">need to upgrade</a> to the last version in which these updates were available.', array('%module' => $module, '%schema_version' => $schema_version, '%last_removed' => $last_removed, '@upgrade' => url('http://drupal.org/upgrade'))),
+ '#value' => '<em>'. $module .'</em> module can not be updated. Its schema version is '. $schema_version .'. Updates up to and including '. $last_removed .' have been removed in this release. In order to update <em>'. $module .'</em> module, you will first <a href="http://drupal.org/upgrade">need to upgrade</a> to the last version in which these updates were available.',
'#prefix' => '<div class="warning">',
'#suffix' => '</div>',
);