Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4c088b6

Browse filesBrowse files
committed
bug #32123 [Form] fix translation domain (xabbuh)
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
2 parents 370682c + 74387cf commit 4c088b6
Copy full SHA for 4c088b6

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Form/Extension/Core/Type/FileType.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/FileType.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private function getFileUploadError($errorCode)
159159
}
160160

161161
if (null !== $this->translator) {
162-
$message = $this->translator->trans($messageTemplate, $messageParameters);
162+
$message = $this->translator->trans($messageTemplate, $messageParameters, 'validators');
163163
} else {
164164
$message = strtr($messageTemplate, $messageParameters);
165165
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.