diff -u b/core/modules/color/color.module b/core/modules/color/color.module
--- b/core/modules/color/color.module
+++ b/core/modules/color/color.module
@@ -156,7 +156,7 @@
/**
* Form constructor for the color configuration form for a particular theme.
*
- * @param String $theme
+ * @param string $theme
* The machine name of the theme whose color settings are being configured.
*
* @see color_scheme_form_validate()
only in patch2:
unchanged:
--- a/core/modules/color/color.install
+++ b/core/modules/color/color.install
@@ -22,17 +22,17 @@ function color_requirements($phase) {
// Check for PNG support.
if (!function_exists('imagecreatefrompng')) {
$requirements['color_gd']['severity'] = REQUIREMENT_WARNING;
- $requirements['color_gd']['description'] = t('The GD library for PHP is enabled, but was compiled without PNG support. Check the PHP image documentation for information on how to correct this.', array('@url' => 'http://www.php.net/manual/ref.image.php'));
+ $requirements['color_gd']['description'] = get_t('The GD library for PHP is enabled, but was compiled without PNG support. Check the PHP image documentation for information on how to correct this.', array('@url' => 'http://www.php.net/manual/ref.image.php'));
}
}
else {
$requirements['color_gd'] = array(
- 'value' => t('Not installed'),
+ 'value' => get_t('Not installed'),
'severity' => REQUIREMENT_ERROR,
- 'description' => t('The GD library for PHP is missing or outdated. Check the PHP image documentation for information on how to correct this.', array('@url' => 'http://www.php.net/manual/book.image.php')),
+ 'description' => get_t('The GD library for PHP is missing or outdated. Check the PHP image documentation for information on how to correct this.', array('@url' => 'http://www.php.net/manual/book.image.php')),
);
}
- $requirements['color_gd']['title'] = t('GD library PNG support');
+ $requirements['color_gd']['title'] = get_t('GD library PNG support');
}
return $requirements;