mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
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:
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
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue