From 05af40abfd473743921f56eed961321453019f4c Mon Sep 17 00:00:00 2001 From: Eduardo Morales Alberti <12516-EduardoMoralesAlberti@users.noreply.drupalcode.org> Date: Fri, 24 Mar 2023 11:07:40 +0100 Subject: [PATCH] Issue #3350142: When the title is not set the word field is duplicated --- src/CvValidatorBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CvValidatorBase.php b/src/CvValidatorBase.php index 09950ea..051e6bc 100644 --- a/src/CvValidatorBase.php +++ b/src/CvValidatorBase.php @@ -89,7 +89,7 @@ abstract class CvValidatorBase extends PluginBase implements CvValidatorInterfac $title = $this->getAttributeValue($element, 'title'); if (empty($title) && empty($default)) { - return $this->t('This field'); + return $this->t('This'); } return $title ? $title : $default; -- GitLab