Skip to content

Commit

Permalink
Addres GOT comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Jun 10, 2019
1 parent 8cbadcd commit 84fac05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions classes/ValidateConstraintTranslator.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ public function translate($validator)
'Invalid name',
[],
'Shop.Forms.Errors'
) . "\n" .
) . PHP_EOL .
$this->translator->trans(
'The following characters are not accepted: / \ ` ^ *',
'The following characters are not accepted: / \ ^ * `',
[],
'Shop.Forms.Errors'
) . "\n" .
) . PHP_EOL .
$this->translator->trans(
'The characters . and 。 are allowed only if they are directly followed by a space or the end of the string.',
[],
Expand Down
2 changes: 1 addition & 1 deletion classes/form/CustomerFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function getFormat()
)
->addAvailableValue(
'comment',
$this->translator->trans("Not accepted: / \ ` ^ *\nA space is necessary after a \".\"", array(), 'Shop.Forms.Help')
$this->translator->trans("Not accepted: / \ ^ * `\nA space is necessary after a \".\"", [], 'Shop.Forms.Help')
)
->setRequired(true);

Expand Down

0 comments on commit 84fac05

Please sign in to comment.