Off the top of my head, something like:
Code:
~find every spell with the ritual tag
foreach pick in hero from BaseSpell where "Helper.RitualSpel"
~set the name to be the name & ritual
eachpick.field[livename].text = eachpick.field[name].text & " (Ritual)"
nexteach
You may need to experiment with the timing, and which fields you're modifying and using (name, thingname, shortname, livename, etc.).
Throw this eval script onto an adjustment, add that adjustment to the hero.