- Patch #101228 by Chris Kennedy and webchick: tweak color.install strings/links.

5.x
Dries Buytaert 2006-12-05 05:49:50 +00:00
parent 38f3050777
commit c37b3794cc
1 changed files with 3 additions and 3 deletions

View File

@ -18,17 +18,17 @@ function color_requirements($phase) {
} }
else { else {
$requirements['gd']['severity'] = REQUIREMENT_ERROR; $requirements['gd']['severity'] = REQUIREMENT_ERROR;
$requirements['gd']['description'] = t('The GD library for PHP is enabled, but was compiled without PNG support. Please check the <a href="@url">PHP image documentation</a> for information on how to correct this.', array('@url' => 'http://be.php.net/manual/en/ref.image.php')); $requirements['gd']['description'] = t('The GD library for PHP is enabled, but was compiled without PNG support. Please check the <a href="@url">PHP image documentation</a> for information on how to correct this.', array('@url' => 'http://www.php.net/manual/en/ref.image.php'));
} }
} }
else { else {
$requirements['gd'] = array( $requirements['gd'] = array(
'value' => t('Not installed'), 'value' => t('Not installed'),
'severity' => REQUIREMENT_ERROR, 'severity' => REQUIREMENT_ERROR,
'description' => t('The GD library for PHP is missing or outdated. Please check the <a href="@url">PHP image documentation</a> for information on how to correct this.', array('@url' => 'http://be.php.net/manual/en/ref.image.php')), 'description' => t('The GD library for PHP is missing or outdated. Please check the <a href="@url">PHP image documentation</a> for information on how to correct this.', array('@url' => 'http://www.php.net/manual/en/ref.image.php')),
); );
} }
$requirements['gd']['title'] = t('GD Library'); $requirements['gd']['title'] = t('GD library');
} }
return $requirements; return $requirements;