Text this: Damage localization and rupture with gradient damage models