Truncate extension descriptions

This is for #8216.

- [ ] Code to toggle between original and truncated description
- [ ] Visual review
- [ ] Code review
Considering all this does is shorten a string down to a specified length (and maybe lower, depending on the last condition check), perhaps this should be moved to a different place and the length converted into an argument?