From 671ae9f4cec40c5f1ac544ca4b390340c75e60f4 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 2 Nov 2023 21:24:18 +0100 Subject: [PATCH] added translation for user edited success banner --- application/controllers/User.php | 4 ++-- application/language/bulgarian/account_lang.php | 2 ++ application/language/chinese_simplified/account_lang.php | 2 ++ application/language/czech/account_lang.php | 2 ++ application/language/dutch/account_lang.php | 2 ++ application/language/english/account_lang.php | 2 ++ application/language/finnish/account_lang.php | 2 ++ application/language/french/account_lang.php | 2 ++ application/language/german/account_lang.php | 2 ++ application/language/greek/account_lang.php | 2 ++ application/language/italian/account_lang.php | 2 ++ application/language/polish/account_lang.php | 2 ++ application/language/russian/account_lang.php | 2 ++ application/language/spanish/account_lang.php | 2 ++ application/language/swedish/account_lang.php | 2 ++ application/language/turkish/account_lang.php | 2 ++ 16 files changed, 32 insertions(+), 2 deletions(-) diff --git a/application/controllers/User.php b/application/controllers/User.php index 8d6769a21..7bb77a03c 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -500,10 +500,10 @@ class User extends CI_Controller { $this->input->set_cookie($cookie); } if($this->session->userdata('user_id') == $this->input->post('id', true)) { - $this->session->set_flashdata('success', 'User '.$this->input->post('user_name', true).' edited'); + $this->session->set_flashdata('success', lang('account_user').' '.$this->input->post('user_name', true).' '.lang('account_word_edited')); redirect('user/edit/'.$this->uri->segment(3)); } else { - $this->session->set_flashdata('success', 'User '.$this->input->post('user_name', true).' edited'); + $this->session->set_flashdata('success', lang('account_user').' '.$this->input->post('user_name', true).' '.lang('account_word_edited')); redirect('user'); } return; diff --git a/application/language/bulgarian/account_lang.php b/application/language/bulgarian/account_lang.php index 7a6b97e48..71f8718b4 100644 --- a/application/language/bulgarian/account_lang.php +++ b/application/language/bulgarian/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/chinese_simplified/account_lang.php b/application/language/chinese_simplified/account_lang.php index 3ca0c89c2..069c0a14c 100644 --- a/application/language/chinese_simplified/account_lang.php +++ b/application/language/chinese_simplified/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = '创建用户账户i'; $lang['account_edit_account'] = '编辑账户'; $lang['account_account_information'] = '账户信息'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = '用户名'; $lang['account_email_address'] = '电子邮件'; $lang['account_password'] = '密码'; diff --git a/application/language/czech/account_lang.php b/application/language/czech/account_lang.php index 9992b46bf..c295f5d18 100644 --- a/application/language/czech/account_lang.php +++ b/application/language/czech/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Vytvořit uživatelský účet'; $lang['account_edit_account'] = 'Upravit účet'; $lang['account_account_information'] = 'Informace o účtu'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Uživatelské jméno'; $lang['account_email_address'] = 'Emailová adresa'; $lang['account_password'] = 'Heslo'; diff --git a/application/language/dutch/account_lang.php b/application/language/dutch/account_lang.php index 8206f8348..32280eb63 100644 --- a/application/language/dutch/account_lang.php +++ b/application/language/dutch/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/english/account_lang.php b/application/language/english/account_lang.php index 8f4f7be27..753a31654 100644 --- a/application/language/english/account_lang.php +++ b/application/language/english/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/finnish/account_lang.php b/application/language/finnish/account_lang.php index 9337afa19..c680f524b 100644 --- a/application/language/finnish/account_lang.php +++ b/application/language/finnish/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Luo käyttäjätili'; $lang['account_edit_account'] = 'Muokkaa käyttäjätiliä'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'käyttäjänimi'; $lang['account_email_address'] = 'Email'; $lang['account_password'] = 'Salasana'; diff --git a/application/language/french/account_lang.php b/application/language/french/account_lang.php index e5819c114..db4d2c02a 100644 --- a/application/language/french/account_lang.php +++ b/application/language/french/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Creer un compte'; $lang['account_edit_account'] = 'Editer un compte'; $lang['account_account_information'] = 'Informations du compte'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Utilisateur'; $lang['account_email_address'] = 'Email'; $lang['account_password'] = 'Mot de passe'; diff --git a/application/language/german/account_lang.php b/application/language/german/account_lang.php index b7cc58f00..10e65ccf1 100644 --- a/application/language/german/account_lang.php +++ b/application/language/german/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Benutzerkonto anlegen'; $lang['account_edit_account'] = 'Benutzerkonto editieren'; $lang['account_account_information'] = 'Bnutzerkonto Informationen'; +$lang['account_user'] = "Benutzer"; +$lang['account_word_edited'] = "bearbeitet"; $lang['account_username'] = 'Benutzername'; $lang['account_email_address'] = 'Emailadresse'; $lang['account_password'] = 'Passwort'; diff --git a/application/language/greek/account_lang.php b/application/language/greek/account_lang.php index a030ad781..a4f5d22b9 100644 --- a/application/language/greek/account_lang.php +++ b/application/language/greek/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/italian/account_lang.php b/application/language/italian/account_lang.php index 70930ce13..65cad6b64 100644 --- a/application/language/italian/account_lang.php +++ b/application/language/italian/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/polish/account_lang.php b/application/language/polish/account_lang.php index e5b6a2b55..873da71ed 100644 --- a/application/language/polish/account_lang.php +++ b/application/language/polish/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/russian/account_lang.php b/application/language/russian/account_lang.php index 73c6140c7..514972412 100644 --- a/application/language/russian/account_lang.php +++ b/application/language/russian/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = ' Создать аккаунт поль $lang['account_edit_account'] = 'Редактировать аккаунт'; $lang['account_account_information'] = 'Информация об аккаунте'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Имя пользователя'; $lang['account_email_address'] = 'Адрес электронной почты'; $lang['account_password'] = 'Пароль'; diff --git a/application/language/spanish/account_lang.php b/application/language/spanish/account_lang.php index 2187231a2..f5d04adf5 100644 --- a/application/language/spanish/account_lang.php +++ b/application/language/spanish/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password'; diff --git a/application/language/swedish/account_lang.php b/application/language/swedish/account_lang.php index 344de1cd3..b9e403950 100644 --- a/application/language/swedish/account_lang.php +++ b/application/language/swedish/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Skapa användarkonto'; $lang['account_edit_account'] = 'Redigera användarkonto'; $lang['account_account_information'] = 'Användarkontoinformation'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Användarnamn'; $lang['account_email_address'] = 'E-postadress'; $lang['account_password'] = 'Lösenord'; diff --git a/application/language/turkish/account_lang.php b/application/language/turkish/account_lang.php index 6a66ff6ec..8dbffce28 100644 --- a/application/language/turkish/account_lang.php +++ b/application/language/turkish/account_lang.php @@ -13,6 +13,8 @@ $lang['account_create_user_account'] = 'Create User Account'; $lang['account_edit_account'] = 'Edit Account'; $lang['account_account_information'] = 'Account Information'; +$lang['account_user'] = "User"; +$lang['account_word_edited'] = "edited"; $lang['account_username'] = 'Username'; $lang['account_email_address'] = 'Email Address'; $lang['account_password'] = 'Password';