Include persona name in delete confirmation Closes #4119
| @@ -1007,7 +1007,9 @@ async function deleteUserAvatar() { | ||
| 1007 | 1007 | console.warn('No avatar id found'); |
| 1008 | 1008 | return; |
| 1009 | 1009 | } |
| 1010 | - const confirm = await Popup.show.confirm(t`Delete Persona`, | |
| 1010 | + const name = power_user.personas[avatarId] || ''; | |
| 1011 | + const confirm = await Popup.show.confirm( | |
| 1012 | + t`Delete Persona` + `: ${name}`, | |
| 1011 | 1013 | t`Are you sure you want to delete this avatar?` + '<br />' + t`All information associated with its linked persona will be lost.`); |
| 1012 | 1014 | |
| 1013 | 1015 | if (!confirm) { |