Closed (fixed)
Project:
Mailer Plus (DSM+)
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2022 at 10:03 UTC
Updated:
21 Apr 2022 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lamp5Comment #3
adamps commentedI looked at /admin/config/system/mailer/policy as you suggested and I see the policies listed with type and sub-type.
Please can you explain what the problem is? Maybe provide a screenshot?
Comment #4
lamp5Before patching.


/admin/config/system/mailer/policy/admin/config/regional/config-translation/mailer_policyAfter patching/

Comment #5
adamps commentedThanks I see.
The first picture /admin/config/system/mailer/policy is correct. It is blank because your policies have no entity. If you make a policy for a contact form or a simplenews letter then you can set an entity - see my new screenshot.
I agree we should set a label. We should combine 3 parts:
getTypeLabel(),getSubTypeLabel()andgetEntityLabel()- without that there will be duplicates. Now it will match the 3 columns on /admin/config/system/mailer/policy. I suggest to join them together with " » " to match a breadcrumb. The 3rd one could be blank in which case don't add an arrow on the end.Comment #6
adamps commentedComment #8
adamps commentedTested on edit/delete pages. Please can you confirm if this fixes the translations?