From 1f47885b4766bb9879874982df8af3f8fe712ecb Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Fri, 14 Nov 2025 02:12:16 +0100 Subject: [PATCH] missing translations --- application/controllers/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/User.php b/application/controllers/User.php index 83388e25c..8013ec641 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -1060,7 +1060,7 @@ class User extends CI_Controller { $this->form_validation->set_rules('id', 'user_id', 'required'); $data = $query->row(); - $data->page_title = "Delete User"; + $data->page_title = __("Delete User"); if ($this->form_validation->run() == FALSE) { @@ -1073,10 +1073,10 @@ class User extends CI_Controller { { if($this->user_model->delete($data->user_id)) { - $this->session->set_flashdata('notice', 'User deleted'); + $this->session->set_flashdata('notice', __("User deleted")); redirect('user'); } else { - $this->session->set_flashdata('notice', 'Database error: Could not delete user!'); + $this->session->set_flashdata('notice', '' . __("Database error:") . ' ' . __("Could not delete user!")); redirect('user'); } }