mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
missing translations
This commit is contained in:
@@ -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', '<b>Database error:</b> Could not delete user!');
|
||||
$this->session->set_flashdata('notice', '<b>' . __("Database error:") . '</b> ' . __("Could not delete user!"));
|
||||
redirect('user');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user