diff --git a/src/Element/ComponentForm.php b/src/Element/ComponentForm.php
index 223017ddfe283ad72eabd8a4ced78f8a3e857664..e0c7c4207b90175e7c28318832a3154510eba91c 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'],