mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-10 15:12:12 +00:00
Removed unnecessary translations
This commit is contained in:
parent
230ae0f447
commit
ac8b119414
5 changed files with 2 additions and 26 deletions
|
|
@ -144,7 +144,7 @@ class TypeSynonymsCollectionType extends AbstractType
|
|||
if ($child->has('dataSource')) {
|
||||
$child->get('dataSource')->addError(
|
||||
new FormError($this->translator->trans(
|
||||
'settings.system.data_source_synonyms.collection_type.duplicate',
|
||||
'settings.synonyms.type_synonyms.collection_type.duplicate',
|
||||
[], 'validators'
|
||||
))
|
||||
);
|
||||
|
|
@ -152,7 +152,7 @@ class TypeSynonymsCollectionType extends AbstractType
|
|||
if ($child->has('locale')) {
|
||||
$child->get('locale')->addError(
|
||||
new FormError($this->translator->trans(
|
||||
'settings.system.data_source_synonyms.collection_type.duplicate',
|
||||
'settings.synonyms.type_synonyms.collection_type.duplicate',
|
||||
[], 'validators'
|
||||
))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue