Skip to content
Snippets Groups Projects
Commit f44e29da authored by Bernd Oliver Suenderhauf's avatar Bernd Oliver Suenderhauf
Browse files

Issue #3041363 by Pancho: Fix a few non-translatable strings

parent 91cab614
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ class FillPdfFormForm extends ContentEntityForm { ...@@ -179,7 +179,7 @@ class FillPdfFormForm extends ContentEntityForm {
], ],
'sample_populate' => [ 'sample_populate' => [
'#type' => 'item', '#type' => 'item',
'#title' => 'Sample PDF', '#title' => $this->t('Sample PDF'),
'#description' => $this->l($this->t('See which fields are which in this PDF.'), '#description' => $this->l($this->t('See which fields are which in this PDF.'),
$this->linkManipulator->generateLink([ $this->linkManipulator->generateLink([
'fid' => $fid, 'fid' => $fid,
...@@ -190,7 +190,7 @@ class FillPdfFormForm extends ContentEntityForm { ...@@ -190,7 +190,7 @@ class FillPdfFormForm extends ContentEntityForm {
], ],
'form_id' => [ 'form_id' => [
'#type' => 'item', '#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]), '#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, '#weight' => $pdf_info_weight,
], ],
...@@ -202,7 +202,7 @@ class FillPdfFormForm extends ContentEntityForm { ...@@ -202,7 +202,7 @@ class FillPdfFormForm extends ContentEntityForm {
]; ];
$form['pdf_info']['populate_default'] = [ $form['pdf_info']['populate_default'] = [
'#type' => 'item', '#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).', '#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, '@entity_type' => $entity->default_entity_type->value,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment