1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

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

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;
}