Problem/Motivation
Right now sometimes we capitalize the name of the project as "MaxLength" and other times as "Maxlength."
"MaxLength" is slightly more readable so in the spirit of accessibility it makes sense to use this capitalization when referring to the project.
Steps to reproduce
Look at the documentation and user interface.
Proposed resolution
Replace any instances of "Maxlength" with "MaxLength"
Remaining tasks
- ✅ Get maintainer approval for the proposed resolution
- ✅ Implement resolution
- ✅ Write test coverage (contact a maintainer if you need help)
- ✅ Maintainer review via the UI
- ✅ Maintainer Code Review #1
- ✅ Maintainer code review #2
- ✅ Merge into dev branch, with credit to author and participants
User interface changes
Minor text changes.
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 3329867-11.patch | 7.11 KB | rohan-sinha |
| #5 | 3329867-5.patch | 7.11 KB | noorulshameera |
| #2 | 3329867-2.patch | 4.81 KB | noorulshameera |
Issue fork maxlength-3329867
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 #2
noorulshameera commentedReplaced 'maxlength' with 'MaxLength' in the code, wherever it is displaying in UI.
Comment #4
cedeweyHi Noorul,
Thanks for submitting the patch. It looks like the tests need to be updated as well so that it passes. If you can do that, that'd be great. If not, we can have one of our maintainers do that.
Thanks!
Comment #5
noorulshameera commentedAdding patch with updating tests
Comment #6
noorulshameera commentedComment #7
cedeweyI've tested this out an it works great. Thank you!
Once one other maintainer reviews the code we will merge this into the 2.0.x branch.
Comment #9
joevagyok commentedComment #10
cedeweyComment #11
rohan-sinha commentedRe-rolled Patch #5 for 2.1.x-dev
Comment #12
mahima_mathur23 commentedPatch #11 does not apply on Drupal 9 and Drupal 10 versions.
Comment #14
rohan-sinha commentedHi @Mahima thanks for the review, have made a MR , Taking back to Needs Review, thanks.
Comment #15
mahima_mathur23 commentedReviewed the MR.
"Maxlength" has been changed to "MaxLength" in the labels/descriptions/comments.
Moving to RTBC.
Comment #17
joevagyok commented