From 913f2c3a3e3ed55b33f2fffeeec407520aa5d62a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 14 Jan 2010 18:38:02 +0000 Subject: - Patch #614288 by ksenzee, dww: fix UI on the install new stuff pages. --- modules/update/update.manager.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc index a049855a6..cbd53906a 100644 --- a/modules/update/update.manager.inc +++ b/modules/update/update.manager.inc @@ -471,14 +471,14 @@ function update_manager_install_form($form, &$form_state, $context) { } $form['help_text'] = array( '#prefix' => '

', - '#markup' => t('To install a new module or theme, either paste the URL of an archive file you wish to install, or upload the archive file that you have downloaded. You can find modules and themes at http://drupal.org. The following archive extensions are supported: %extensions', array('@module_url' => 'http://drupal.org/project/modules', '@theme_url' => 'http://drupal.org/project/themes', '@drupal_org_url' => 'http://drupal.org', '%extensions' => implode(', ', $extensions))), + '#markup' => t('To install a new module or theme, either enter the URL of an archive file you wish to install, or upload the archive file that you have downloaded. You can find modules and themes at http://drupal.org. The following archive extensions are supported: %extensions', array('@module_url' => 'http://drupal.org/project/modules', '@theme_url' => 'http://drupal.org/project/themes', '@drupal_org_url' => 'http://drupal.org', '%extensions' => implode(', ', $extensions))), '#suffix' => '

', ); $form['project_url'] = array( '#type' => 'textfield', - '#title' => t('URL'), - '#description' => t('Paste the URL to a Drupal module or theme archive to install it (e.g http://ftp.drupal.org/files/projects/projectname.tar.gz).'), + '#title' => t('Install from a URL'), + '#description' => t('For example: %url', array('%url' => 'http://ftp.drupal.org/files/projects/name.tar.gz')), ); $form['information'] = array( @@ -489,8 +489,8 @@ function update_manager_install_form($form, &$form_state, $context) { $form['project_upload'] = array( '#type' => 'file', - '#title' => t('Upload a module or theme'), - '#description' => t('Upload a Drupal module or theme archive to install it.'), + '#title' => t('Upload a module or theme archive to install'), + '#description' => t('For example: %filename from your local computer', array('%filename' => 'name.tar.gz')), ); $form['submit'] = array( -- cgit v1.2.3