mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 12:33:22 +08:00
forum: use transText on user delete control confirmation
This commit is contained in:
parent
d6a4058c28
commit
b2cbbd5862
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user