Dont call translator inside the form classes.

Translation is already done in the templates, so translator calls in form classes, are bad for performance and readability.
This commit is contained in:
Jan Böhmer 2019-12-26 14:53:13 +01:00
parent e7b920c4fe
commit 89acfff857
28 changed files with 1875 additions and 2259 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,6 @@
<note category="file-source" priority="1">src\Entity\PriceInformations\Currency.php:0</note>
<note category="file-source" priority="1">src\Entity\UserSystem\Group.php:0</note>
<note category="file-source" priority="1">src\Entity\UserSystem\User.php:0</note>
<note category="state" priority="1">new</note>
</notes>
<segment>
<source>part.master_attachment.must_be_picture</source>
@ -62,7 +61,6 @@
<unit id="isXL.ie" name="validator.user.username_already_used">
<notes>
<note category="file-source" priority="1">src\Entity\UserSystem\User.php:0</note>
<note category="state" priority="1">new</note>
</notes>
<segment>
<source>validator.user.username_already_used</source>