Sonataadminbundle: Change 'catalogue' key to 'translation_domain' for the choice list field type

Created on 16 Apr 2019  路  6Comments  路  Source: sonata-project/SonataAdminBundle

Feature Request

When adding a choice field to a list, the translation domain has to be configured via catalogue key. Not sure why this is, but for a form field the domain is configured via translation_domain.

Can i create a PR to change this to translation_domain? (or keep catalogue but also add translation_domain?)

feature keep

All 6 comments

Hi @quisse!
Thank you for pointing this. I think we could deprecate the "catalogue" option, indicating that the accepted option is "translation_domain". Please, be free to propose a PR with this change.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Will do a PR some day.

Hi @quisse. Do you still want to do a PR to add the support of translation_domain and deprecate the catalogue option ?

Currently I鈥檓 not working on projects with Sonata so it isn鈥檛 on top of my priority list. If you feel like doing so, be my guest 馃檪

Ok. I'm gonna close this issue in favor of https://github.com/sonata-project/SonataAdminBundle/issues/6116

I'll try to do it when I'll find time.

Was this page helpful?
0 / 5 - 0 ratings