diff --git a/src/Form/FillPdfFormForm.php b/src/Form/FillPdfFormForm.php index e1b2568bf7ce496e24516eb37ac3065d8302af60..611b84b5894719fb92e5bedfdf6e339878b730b2 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,