Issue #2563403 by sashi.kiran, jenlampton, albertski, Daniel_Rose: Changed help text on image fields to clarify that uploaded images which are too large will be resized rather than rejected

merge-requests/26/head
David Rothstein 2016-04-07 23:15:20 -04:00
parent a10a1cfc3f
commit 1c30c4186b
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
Drupal 7.44, xxxx-xx-xx (development version) Drupal 7.44, xxxx-xx-xx (development version)
----------------------- -----------------------
- Changed help text on image fields to clarify that uploaded images which are
too large will be resized rather than rejected (translatable string change).
- Changed wording on the Update Manager settings page to clarify that the - Changed wording on the Update Manager settings page to clarify that the
option to check for disabled module updates also applies to uninstalled option to check for disabled module updates also applies to uninstalled
modules (administrative-facing translatable string change). modules (administrative-facing translatable string change).

View File

@ -965,7 +965,7 @@ function theme_file_upload_help($variables) {
$descriptions[] = t('Images must be larger than !min pixels.', array('!min' => '<strong>' . $min . '</strong>')); $descriptions[] = t('Images must be larger than !min pixels.', array('!min' => '<strong>' . $min . '</strong>'));
} }
elseif ($max) { elseif ($max) {
$descriptions[] = t('Images must be smaller than !max pixels.', array('!max' => '<strong>' . $max . '</strong>')); $descriptions[] = t('Images larger than !max pixels will be resized.', array('!max' => '<strong>' . $max . '</strong>'));
} }
} }