Problem/Motivation
The current method for allowing site admins to customize the headings used for warnings and errors is helpful, but it gets in the way of having that translated as we prep this module to support multiple languages.
- The heading settings should be removed and converted to hard coded strings that are properly run through the t().
- Other subheadings from the template should also be translated.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | alert_heading.png | 67.51 KB | baltowen |
Issue fork alt_text_validation-3544944
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
baltowen commentedHi, please review the MR. Would it make sense to remove the
Customize alert headingsfieldset from the module's configuration page since it is not possible to change the values anyway? For now, I have only disabled it. See below:I do not understand what the above refers to.
Comment #5
swirtHi Baltowen, thank you for this and I am sorry for not getting back to you sooner. Yes it would be preferable to remove the fields completely since in the end, they should do nothing.
Comment #6
swirtI have some time right now so I will make those changes.
Comment #7
swirtI think we also need a hook_update_n that removes the settings from the db.
Comment #11
swirtThank you Baltowen for your work on this and your patience.
Comment #13
swirtThis has been released in #3583133: alt_text_validation 1.0.2