Skip to content

Commit

Permalink
minor #3199 Fix typo in comment (gisostallenberg)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0.x-dev branch.

Discussion
----------

Fix typo in comment

Commits
-------

f595d85 Fix typo in comment
  • Loading branch information
javiereguiluz committed May 8, 2020
2 parents dcbecff + f595d85 commit 8e24fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field/Configurator/CommonPreConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private function buildLabelOption(FieldDto $field, string $translationDomain, ?s
return $label;
}

// don't translate labels in form-related pages because Smyfony Forms translates
// don't translate labels in form-related pages because Symfony Forms translates
// labels automatically and that causes false "translation is missing" errors
if (in_array($currentPage, [Crud::PAGE_EDIT, Crud::PAGE_NEW])) {
return $label;
Expand Down

0 comments on commit 8e24fc1

Please sign in to comment.