forum: use transText on user delete control confirmation

This commit is contained in:
David Sevilla Martin 2020-01-25 10:28:37 -05:00
parent d6a4058c28
commit b2cbbd5862
No known key found for this signature in database
GPG Key ID: F764F1417E16B15F

View File

@ -77,7 +77,7 @@ export default {
* Delete the user.
*/
deleteAction(user: User) {
if (!confirm(app.translator.trans('core.forum.user_controls.delete_confirmation'))) {
if (!confirm(app.translator.transText('core.forum.user_controls.delete_confirmation'))) {
return;
}