Skip to content

Commit

Permalink
separator placeholder in translation file
Browse files Browse the repository at this point in the history
  • Loading branch information
psouvignet committed Sep 25, 2024
1 parent d59760b commit 0f17c37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Form/Type/ArrayTextType.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public function buildView(FormView $view, FormInterface $form, array $options):
{
$view->vars['help'] = $this->translator->trans(
'form.separator',
[],
'BatchEntityImportBundle',
) . ' : "' . $options['separator'] . '"';
['%separator%' => $options['separator']],
'BatchEntityImportBundle'
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</trans-unit>
<trans-unit id="form.separator">
<source>form.separator</source>
<target>Separator</target>
<target>Separator: "%separator%"</target>
</trans-unit>
</body>
</file>
Expand Down

0 comments on commit 0f17c37

Please sign in to comment.