diff --git a/src/Plugin/Layout/FoundationLayout.php b/src/Plugin/Layout/FoundationLayout.php
index 252e5e8..3face13 100644
--- a/src/Plugin/Layout/FoundationLayout.php
+++ b/src/Plugin/Layout/FoundationLayout.php
@@ -34,7 +34,7 @@ class FoundationLayout extends LayoutBase {
 
     $form['css_classes'] = array(
       '#type' => 'textfield',
-      '#title' => t('Classes'),
+      '#title' => $this->t('Classes'),
       '#description' => 'Add classes to the outer wrapper element.',
       '#default_value' => $configuration['css_classes'],
       '#weight' => 1
@@ -42,7 +42,7 @@ class FoundationLayout extends LayoutBase {
 
     $form['css_id'] = array(
       '#type' => 'textfield',
-      '#title' => t('Id'),
+      '#title' =>  $this->t('Id'),
       '#description' => 'Add an id to the outer wrapper element.',
       '#default_value' => $configuration['css_id'],
       '#weight' => 2
