Skip to content
Snippets Groups Projects
Commit 0ae69032 authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

Merge branch '3490696-missing-translatability' into '2.0.x'

Issue #3490696 by grimreaper: Missing translatability

See merge request !279
parents c8633082 aa91820d
No related branches found
No related tags found
No related merge requests found
Pipeline #354468 passed
......@@ -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'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment