From f44e29da012fb671e6e3978c47bb67ecb86af7e1 Mon Sep 17 00:00:00 2001
From: Bernd Oliver Suenderhauf <bos@suenderhauf.de>
Date: Tue, 19 Mar 2019 09:59:00 +0100
Subject: [PATCH] Issue #3041363 by Pancho: Fix a few non-translatable strings

---
 src/Form/FillPdfFormForm.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Form/FillPdfFormForm.php b/src/Form/FillPdfFormForm.php
index e1b2568..611b84b 100644
--- a/src/Form/FillPdfFormForm.php
+++ b/src/Form/FillPdfFormForm.php
@@ -179,7 +179,7 @@ class FillPdfFormForm extends ContentEntityForm {
       ],
       'sample_populate' => [
         '#type' => 'item',
-        '#title' => 'Sample PDF',
+        '#title' => $this->t('Sample PDF'),
         '#description' => $this->l($this->t('See which fields are which in this PDF.'),
             $this->linkManipulator->generateLink([
               'fid' => $fid,
@@ -190,7 +190,7 @@ class FillPdfFormForm extends ContentEntityForm {
       ],
       'form_id' => [
         '#type' => 'item',
-        '#title' => 'Form Info',
+        '#title' => $this->t('Form info'),
         '#description' => $this->t("Form ID: [@fid].  Populate this form with entity IDs, such as /fillpdf?fid=$fid&entity_type=node&entity_id=10<br/>", ['@fid' => $fid]),
         '#weight' => $pdf_info_weight,
       ],
@@ -202,7 +202,7 @@ class FillPdfFormForm extends ContentEntityForm {
       ];
       $form['pdf_info']['populate_default'] = [
         '#type' => 'item',
-        '#title' => 'Fill PDF from default node',
+        '#title' => $this->t('Fill PDF from default entity'),
         '#description' => $this->l($this->t('Download this PDF filled with data from the default entity (@entity_type:@entity).',
             [
               '@entity_type' => $entity->default_entity_type->value,
-- 
GitLab