When I encountered the following error, it wasn't very helpful:
The %license-name license is not enabled

The attached patch fixes this by outputting the actual license name. The simplest part was to use @license-name instead; no placeholder theming is necessary because it's a plaintext error message. I noticed that same string was created in three places, so to help avoid future bugs and maintain consistency, I made a single method that is now called in each place.

CommentFileSizeAuthor
fix-license-message.patch4.27 KBturadg

Comments

turadg’s picture

Assigned: Unassigned » turadg
Status: Active » Fixed

Committed in CVS!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.