From 0d89694edbb2b280a28ed8f538683caddf72f168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 23 Dec 2007 12:40:22 +0000 Subject: #194310 by JirkaRybka: t() was misused in update.php (we should not use t() in the update process) --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.php') 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 need to upgrade 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' => ''. $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 need to upgrade to the last version in which these updates were available.', '#prefix' => '
', '#suffix' => '
', ); -- cgit v1.2.3