Skip to content

Commit

Permalink
bug #32123 [Form] fix translation domain (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.4 branch.

Discussion
----------

[Form] fix translation domain

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32045 (comment)
| License       | MIT
| Doc PR        |

Commits
-------

74387cf fix translation domain
  • Loading branch information
xabbuh committed Jun 21, 2019
2 parents 370682c + 74387cf commit 4c088b6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -159,7 +159,7 @@ private function getFileUploadError($errorCode)
}

if (null !== $this->translator) {
$message = $this->translator->trans($messageTemplate, $messageParameters);
$message = $this->translator->trans($messageTemplate, $messageParameters, 'validators');
} else {
$message = strtr($messageTemplate, $messageParameters);
}
Expand Down

0 comments on commit 4c088b6

Please sign in to comment.