From 4880807b11265f8ec716a471ce072e64afa148a0 Mon Sep 17 00:00:00 2001 From: catch Date: Thu, 24 Jun 2021 12:25:22 +0100 Subject: [PATCH] Issue #3216106 by paulocs, Gauravmahlawat, guilhermevp, AaronMcHale, anmolgoyal74: Add a description to the Extension field in ConvertImageEffect --- .../image/src/Plugin/ImageEffect/ConvertImageEffect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php b/core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php index 675ef3a4ea2..61fb4d478c8 100644 --- a/core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php +++ b/core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php @@ -12,7 +12,7 @@ use Drupal\image\ConfigurableImageEffectBase; * @ImageEffect( * id = "image_convert", * label = @Translation("Convert"), - * description = @Translation("Converts an image between extensions (e.g. from PNG to JPEG).") + * description = @Translation("Converts an image to a format (such as JPEG).") * ) */ class ConvertImageEffect extends ConfigurableImageEffectBase { @@ -67,7 +67,7 @@ class ConvertImageEffect extends ConfigurableImageEffectBase { ); $form['extension'] = [ '#type' => 'select', - '#title' => t('Extension'), + '#title' => t('Convert to'), '#default_value' => $this->configuration['extension'], '#required' => TRUE, '#options' => $options,