mirror of
https://github.com/flarum/core.git
synced 2025-08-04 07:27:39 +02:00
forum: use transText on user delete control confirmation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user