From 6329e6083f7bdd63a3159da9a8e4c392f626ca87 Mon Sep 17 00:00:00 2001 From: Florent Torregrosa <florent.torregrosa@gmail.com> Date: Fri, 29 Nov 2024 17:09:17 +0100 Subject: [PATCH] Issue #3490696 by grimreaper: Missing translatability --- src/Element/ComponentForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Element/ComponentForm.php b/src/Element/ComponentForm.php index 223017dd..e0c7c420 100644 --- a/src/Element/ComponentForm.php +++ b/src/Element/ComponentForm.php @@ -257,7 +257,7 @@ class ComponentForm extends ComponentFormBase { */ private static function buildSlotsForm(array $element, string $component_id): array { return [ - '#title' => 'Slots', + '#title' => t('Slots'), '#type' => 'component_slots_form', '#component_id' => $component_id, '#source_contexts' => $element['#source_contexts'], @@ -275,7 +275,7 @@ class ComponentForm extends ComponentFormBase { */ private static function buildPropsForm(array $element, string $component_id): array { return [ - '#title' => 'Props', + '#title' => t('Props'), '#type' => 'component_props_form', '#component_id' => $component_id, '#source_contexts' => $element['#source_contexts'], -- GitLab